Package org.apache.openejb.jee
Class FacesNavigationRule
- java.lang.Object
-
- org.apache.openejb.jee.FacesNavigationRule
-
public class FacesNavigationRule extends Object
web-facesconfig_2_0.xsdJava 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://www.w3.org/2001/XMLSchema}string" 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected TextMapdescriptionprotected TextMapdisplayNameprotected StringfromViewIdprotected LocalCollection<Icon>iconprotected Stringidprotected List<FacesNavigationCase>navigationCaseprotected List<FacesNavigationRuleExtension>navigationRuleExtension
-
Constructor Summary
Constructors Constructor Description FacesNavigationRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Text[]getDescriptions()StringgetDisplayName()Text[]getDisplayNames()StringgetFromViewId()Gets the value of the fromViewId property.IcongetIcon()Map<String,Icon>getIconMap()Collection<Icon>getIcons()StringgetId()Gets the value of the id property.List<FacesNavigationCase>getNavigationCase()Gets the value of the navigationCase property.List<FacesNavigationRuleExtension>getNavigationRuleExtension()Gets the value of the navigationRuleExtension property.voidsetDescriptions(Text[] text)voidsetDisplayNames(Text[] text)voidsetFromViewId(String value)Sets the value of the fromViewId property.voidsetId(String value)Sets the value of the id property.
-
-
-
Field Detail
-
description
protected TextMap description
-
displayName
protected TextMap displayName
-
icon
protected LocalCollection<Icon> icon
-
fromViewId
protected String fromViewId
-
navigationCase
protected List<FacesNavigationCase> navigationCase
-
navigationRuleExtension
protected List<FacesNavigationRuleExtension> navigationRuleExtension
-
id
protected String id
-
-
Method Detail
-
getDescriptions
public Text[] getDescriptions()
-
setDescriptions
public void setDescriptions(Text[] text)
-
getDescription
public String getDescription()
-
getDisplayNames
public Text[] getDisplayNames()
-
setDisplayNames
public void setDisplayNames(Text[] text)
-
getDisplayName
public String getDisplayName()
-
getIcons
public Collection<Icon> getIcons()
-
getIcon
public Icon getIcon()
-
getFromViewId
public String getFromViewId()
Gets the value of the fromViewId property.- Returns:
- possible object is
String
-
setFromViewId
public void setFromViewId(String value)
Sets the value of the fromViewId property.- Parameters:
value- allowed object isString
-
getNavigationCase
public List<FacesNavigationCase> 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 asetmethod 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 listFacesNavigationCase
-
getNavigationRuleExtension
public List<FacesNavigationRuleExtension> 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 asetmethod 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 listFacesNavigationRuleExtension
-
-