public class FacesConfigFlowDefinitionSwitch
extends java.lang.Object
Define a switch node in a flow graph.
This element must contain one or more
<case><switch><from-outcome><if>true.
Java class for faces-config-flow-definition-switchType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="faces-config-flow-definition-switchType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="case" type="{http://xmlns.jcp.org/xml/ns/javaee}faces-config-flow-definition-switch-caseType" maxOccurs="unbounded" minOccurs="0"/>
<element name="default-outcome" type="{http://xmlns.jcp.org/xml/ns/javaee}string" minOccurs="0"/>
</sequence>
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<FacesConfigFlowDefinitionSwitchCase> |
_case |
protected XmlString |
defaultOutcome |
protected java.lang.String |
id |
| Constructor and Description |
|---|
FacesConfigFlowDefinitionSwitch() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<FacesConfigFlowDefinitionSwitchCase> |
getCase()
Gets the value of the case property.
|
XmlString |
getDefaultOutcome()
Gets the value of the defaultOutcome property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
void |
setDefaultOutcome(XmlString value)
Sets the value of the defaultOutcome property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
protected java.util.List<FacesConfigFlowDefinitionSwitchCase> _case
protected XmlString defaultOutcome
protected java.lang.String id
public java.util.List<FacesConfigFlowDefinitionSwitchCase> getCase()
set method for the case property.
For example, to add a new item, do as follows:
getCase().add(newItem);
Objects of the following type(s) are allowed in the list
FacesConfigFlowDefinitionSwitchCasepublic XmlString getDefaultOutcome()
XmlStringpublic void setDefaultOutcome(XmlString value)
value - allowed object is
XmlStringpublic java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
String