org.apache.openejb.jee
Class FacesConfigFlowDefinitionSwitch

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

public class FacesConfigFlowDefinitionSwitch
extends Object

Define a switch node in a flow graph.

This element must contain one or more <case> elements. When control passes to the <switch> node, each of the cases must be considered in order and control must past to the <from-outcome> of the first one whose <if> expression evaluates to 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>
 


Field Summary
protected  List<FacesConfigFlowDefinitionSwitchCase> _case
           
protected  XmlString defaultOutcome
           
protected  String id
           
 
Constructor Summary
FacesConfigFlowDefinitionSwitch()
           
 
Method Summary
 List<FacesConfigFlowDefinitionSwitchCase> getCase()
          Gets the value of the case property.
 XmlString getDefaultOutcome()
          Gets the value of the defaultOutcome property.
 String getId()
          Gets the value of the id property.
 void setDefaultOutcome(XmlString value)
          Sets the value of the defaultOutcome property.
 void setId(String value)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_case

protected List<FacesConfigFlowDefinitionSwitchCase> _case

defaultOutcome

protected XmlString defaultOutcome

id

protected String id
Constructor Detail

FacesConfigFlowDefinitionSwitch

public FacesConfigFlowDefinitionSwitch()
Method Detail

getCase

public List<FacesConfigFlowDefinitionSwitchCase> getCase()
Gets the value of the case 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 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 FacesConfigFlowDefinitionSwitchCase


getDefaultOutcome

public XmlString getDefaultOutcome()
Gets the value of the defaultOutcome property.

Returns:
possible object is XmlString

setDefaultOutcome

public void setDefaultOutcome(XmlString value)
Sets the value of the defaultOutcome property.

Parameters:
value - allowed object is XmlString

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–2015 The Apache Software Foundation. All rights reserved.