org.apache.openejb.jee
Class FacesNavigationCase

java.lang.Object
  extended by org.apache.openejb.jee.FacesNavigationCase

public class FacesNavigationCase
extends Object

The "navigation-case" element describes a particular combination of conditions that must match for this case to be executed, and the view id of the component tree that should be selected next.

Java class for faces-config-navigation-caseType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="faces-config-navigation-caseType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
         <element name="from-action" type="{http://java.sun.com/xml/ns/javaee}faces-config-from-actionType" minOccurs="0"/>
         <element name="from-outcome" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="to-view-id" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="redirect" type="{http://java.sun.com/xml/ns/javaee}faces-config-redirectType" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<DescriptionType> description
           
protected  List<String> displayName
           
protected  FacesFromAction fromAction
           
protected  String fromOutcome
           
protected  List<Icon> icon
           
protected  String id
           
protected  FacesRedirect redirect
           
protected  String toViewId
           
 
Constructor Summary
FacesNavigationCase()
           
 
Method Summary
 List<DescriptionType> getDescription()
          Gets the value of the description property.
 List<String> getDisplayName()
          Gets the value of the displayName property.
 FacesFromAction getFromAction()
          Gets the value of the fromAction property.
 String getFromOutcome()
          Gets the value of the fromOutcome property.
 List<Icon> getIcon()
          Gets the value of the icon property.
 String getId()
          Gets the value of the id property.
 FacesRedirect getRedirect()
          Gets the value of the redirect property.
 String getToViewId()
          Gets the value of the toViewId property.
 void setFromAction(FacesFromAction value)
          Sets the value of the fromAction property.
 void setFromOutcome(String value)
          Sets the value of the fromOutcome property.
 void setId(String value)
          Sets the value of the id property.
 void setRedirect(FacesRedirect value)
          Sets the value of the redirect property.
 void setToViewId(String value)
          Sets the value of the toViewId property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected List<DescriptionType> description

displayName

protected List<String> displayName

icon

protected List<Icon> icon

fromAction

protected FacesFromAction fromAction

fromOutcome

protected String fromOutcome

toViewId

protected String toViewId

redirect

protected FacesRedirect redirect

id

protected String id
Constructor Detail

FacesNavigationCase

public FacesNavigationCase()
Method Detail

getDescription

public List<DescriptionType> getDescription()
Gets the value of the description property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the description property.

For example, to add a new item, do as follows:

    getDescription().add(newItem);
 

Objects of the following type(s) are allowed in the list DescriptionType


getDisplayName

public List<String> getDisplayName()
Gets the value of the displayName property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the displayName property.

For example, to add a new item, do as follows:

    getDisplayName().add(newItem);
 

Objects of the following type(s) are allowed in the list String


getIcon

public List<Icon> getIcon()
Gets the value of the icon property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the icon property.

For example, to add a new item, do as follows:

    getIcon().add(newItem);
 

Objects of the following type(s) are allowed in the list Icon


getFromAction

public FacesFromAction getFromAction()
Gets the value of the fromAction property.

Returns:
possible object is FacesFromAction

setFromAction

public void setFromAction(FacesFromAction value)
Sets the value of the fromAction property.

Parameters:
value - allowed object is FacesFromAction

getFromOutcome

public String getFromOutcome()
Gets the value of the fromOutcome property.

Returns:
possible object is String

setFromOutcome

public void setFromOutcome(String value)
Sets the value of the fromOutcome property.

Parameters:
value - allowed object is String

getToViewId

public String getToViewId()
Gets the value of the toViewId property.

Returns:
possible object is String

setToViewId

public void setToViewId(String value)
Sets the value of the toViewId property.

Parameters:
value - allowed object is String

getRedirect

public FacesRedirect getRedirect()
Gets the value of the redirect property.

Returns:
possible object is FacesRedirect

setRedirect

public void setRedirect(FacesRedirect value)
Sets the value of the redirect property.

Parameters:
value - allowed object is FacesRedirect

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.