net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee
Class FacesConfigNavigationRuleType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.FacesConfigNavigationRuleType
All Implemented Interfaces:
Serializable, Cloneable

public class FacesConfigNavigationRuleType
extends Object
implements Serializable, Cloneable

The "navigation-rule" element represents an individual decision rule that will be utilized by the default NavigationHandler implementation to make decisions on what view should be displayed next, based on the view id being processed.

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

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

 <complexType name="faces-config-navigation-ruleType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
         <element name="from-view-id" type="{http://java.sun.com/xml/ns/javaee}faces-config-from-view-idType" minOccurs="0"/>
         <element name="navigation-case" type="{http://java.sun.com/xml/ns/javaee}faces-config-navigation-caseType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="navigation-rule-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-navigation-rule-extensionType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<DescriptionType> description
           
protected  List<DisplayNameType> displayName
           
protected  FacesConfigFromViewIdType fromViewId
           
protected  List<IconType> icon
           
protected  String id
           
protected  List<FacesConfigNavigationCaseType> navigationCase
           
protected  List<FacesConfigNavigationRuleExtensionType> navigationRuleExtension
           
 
Constructor Summary
FacesConfigNavigationRuleType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.FacesConfigNavigationRuleType instance.
FacesConfigNavigationRuleType(FacesConfigNavigationRuleType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.FacesConfigNavigationRuleType instance by copying a given instance.
 
Method Summary
 FacesConfigNavigationRuleType clone()
          Creates and returns a copy of this object.
static void copyDescription(List<DescriptionType> source, List<DescriptionType> target)
          Copies all values of property Description.
static void copyDisplayName(List<DisplayNameType> source, List<DisplayNameType> target)
          Copies all values of property DisplayName.
static void copyIcon(List<IconType> source, List<IconType> target)
          Copies all values of property Icon.
static void copyNavigationCase(List<FacesConfigNavigationCaseType> source, List<FacesConfigNavigationCaseType> target)
          Copies all values of property NavigationCase.
static void copyNavigationRuleExtension(List<FacesConfigNavigationRuleExtensionType> source, List<FacesConfigNavigationRuleExtensionType> target)
          Copies all values of property NavigationRuleExtension.
 List<DescriptionType> getDescription()
          Gets the value of the description property.
 List<DisplayNameType> getDisplayName()
          Gets the value of the displayName property.
 FacesConfigFromViewIdType getFromViewId()
          Gets the value of the fromViewId property.
 List<IconType> getIcon()
          Gets the value of the icon property.
 String getId()
          Gets the value of the id property.
 List<FacesConfigNavigationCaseType> getNavigationCase()
          Gets the value of the navigationCase property.
 List<FacesConfigNavigationRuleExtensionType> getNavigationRuleExtension()
          Gets the value of the navigationRuleExtension property.
 void setFromViewId(FacesConfigFromViewIdType value)
          Sets the value of the fromViewId property.
 void setId(String value)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected List<DescriptionType> description

displayName

protected List<DisplayNameType> displayName

icon

protected List<IconType> icon

fromViewId

protected FacesConfigFromViewIdType fromViewId

navigationCase

protected List<FacesConfigNavigationCaseType> navigationCase

navigationRuleExtension

protected List<FacesConfigNavigationRuleExtensionType> navigationRuleExtension

id

protected String id
Constructor Detail

FacesConfigNavigationRuleType

public FacesConfigNavigationRuleType()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.FacesConfigNavigationRuleType instance.


FacesConfigNavigationRuleType

public FacesConfigNavigationRuleType(FacesConfigNavigationRuleType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.FacesConfigNavigationRuleType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
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<DisplayNameType> 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 DisplayNameType


getIcon

public List<IconType> 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 IconType


getFromViewId

public FacesConfigFromViewIdType getFromViewId()
Gets the value of the fromViewId property.

Returns:
possible object is FacesConfigFromViewIdType

setFromViewId

public void setFromViewId(FacesConfigFromViewIdType value)
Sets the value of the fromViewId property.

Parameters:
value - allowed object is FacesConfigFromViewIdType

getNavigationCase

public List<FacesConfigNavigationCaseType> getNavigationCase()
Gets the value of the navigationCase 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 navigationCase property.

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

    getNavigationCase().add(newItem);
 

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


getNavigationRuleExtension

public List<FacesConfigNavigationRuleExtensionType> getNavigationRuleExtension()
Gets the value of the navigationRuleExtension 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 navigationRuleExtension property.

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

    getNavigationRuleExtension().add(newItem);
 

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


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

copyDescription

public static void copyDescription(List<DescriptionType> source,
                                   List<DescriptionType> target)
Copies all values of property Description.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyDisplayName

public static void copyDisplayName(List<DisplayNameType> source,
                                   List<DisplayNameType> target)
Copies all values of property DisplayName.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyIcon

public static void copyIcon(List<IconType> source,
                            List<IconType> target)
Copies all values of property Icon.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyNavigationCase

public static void copyNavigationCase(List<FacesConfigNavigationCaseType> source,
                                      List<FacesConfigNavigationCaseType> target)
Copies all values of property NavigationCase.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyNavigationRuleExtension

public static void copyNavigationRuleExtension(List<FacesConfigNavigationRuleExtensionType> source,
                                               List<FacesConfigNavigationRuleExtensionType> target)
Copies all values of property NavigationRuleExtension.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

clone

public FacesConfigNavigationRuleType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.