org.apache.openejb.jee
Class FacesNavigationCase

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

public class FacesNavigationCase
extends java.lang.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  java.util.List<DescriptionType> description
           
protected  java.util.List<java.lang.String> displayName
           
protected  FacesFromAction fromAction
           
protected  java.lang.String fromOutcome
           
protected  java.util.List<Icon> icon
           
protected  java.lang.String id
           
protected  FacesRedirect redirect
           
protected  java.lang.String toViewId
           
 
Constructor Summary
FacesNavigationCase()
           
 
Method Summary
 java.util.List<DescriptionType> getDescription()
          Gets the value of the description property.
 java.util.List<java.lang.String> getDisplayName()
          Gets the value of the displayName property.
 FacesFromAction getFromAction()
          Gets the value of the fromAction property.
 java.lang.String getFromOutcome()
          Gets the value of the fromOutcome property.
 java.util.List<Icon> getIcon()
          Gets the value of the icon property.
 java.lang.String getId()
          Gets the value of the id property.
 FacesRedirect getRedirect()
          Gets the value of the redirect property.
 java.lang.String getToViewId()
          Gets the value of the toViewId property.
 void setFromAction(FacesFromAction value)
          Sets the value of the fromAction property.
 void setFromOutcome(java.lang.String value)
          Sets the value of the fromOutcome property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 void setRedirect(FacesRedirect value)
          Sets the value of the redirect property.
 void setToViewId(java.lang.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 java.util.List<DescriptionType> description

displayName

protected java.util.List<java.lang.String> displayName

icon

protected java.util.List<Icon> icon

fromAction

protected FacesFromAction fromAction

fromOutcome

protected java.lang.String fromOutcome

toViewId

protected java.lang.String toViewId

redirect

protected FacesRedirect redirect

id

protected java.lang.String id
Constructor Detail

FacesNavigationCase

public FacesNavigationCase()
Method Detail

getDescription

public java.util.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 java.util.List<java.lang.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 java.util.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 java.lang.String getFromOutcome()
Gets the value of the fromOutcome property.

Returns:
possible object is String

setFromOutcome

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

Parameters:
value - allowed object is String

getToViewId

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

Returns:
possible object is String

setToViewId

public void setToViewId(java.lang.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 java.lang.String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

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

Parameters:
value - allowed object is String


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