org.apache.openejb.jee
Class FacesConfigFlowDefinitionFacesMethodCall

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

public class FacesConfigFlowDefinitionFacesMethodCall
extends Object

Invoke a method, passing parameters if necessary. The return from the method is used as the outcome for where to go next in the flow. If the method is a void method, the default outcome is used.

Java class for faces-config-flow-definition-faces-method-callType complex type.

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

 <complexType name="faces-config-flow-definition-faces-method-callType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="method" type="{http://xmlns.jcp.org/xml/ns/javaee}faces-config-flow-definition-faces-method-call-methodType"/>
         <element name="default-outcome" type="{http://xmlns.jcp.org/xml/ns/javaee}string"/>
         <element name="parameter" type="{http://xmlns.jcp.org/xml/ns/javaee}faces-config-flow-definition-flow-call-parameterType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String defaultOutcome
           
protected  FacesConfigFlowDefinitionFacesMethodCallMethod method
           
protected  List<FacesConfigFlowDefinitionFlowCallParameter> parameter
           
 
Constructor Summary
FacesConfigFlowDefinitionFacesMethodCall()
           
 
Method Summary
 String getDefaultOutcome()
          Gets the value of the defaultOutcome property.
 FacesConfigFlowDefinitionFacesMethodCallMethod getMethod()
          Gets the value of the method property.
 List<FacesConfigFlowDefinitionFlowCallParameter> getParameter()
          Gets the value of the parameter property.
 void setDefaultOutcome(String value)
          Sets the value of the defaultOutcome property.
 void setMethod(FacesConfigFlowDefinitionFacesMethodCallMethod value)
          Sets the value of the method property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

method

protected FacesConfigFlowDefinitionFacesMethodCallMethod method

defaultOutcome

protected String defaultOutcome

parameter

protected List<FacesConfigFlowDefinitionFlowCallParameter> parameter
Constructor Detail

FacesConfigFlowDefinitionFacesMethodCall

public FacesConfigFlowDefinitionFacesMethodCall()
Method Detail

getMethod

public FacesConfigFlowDefinitionFacesMethodCallMethod getMethod()
Gets the value of the method property.

Returns:
possible object is FacesConfigFlowDefinitionFacesMethodCallMethod

setMethod

public void setMethod(FacesConfigFlowDefinitionFacesMethodCallMethod value)
Sets the value of the method property.

Parameters:
value - allowed object is FacesConfigFlowDefinitionFacesMethodCallMethod

getDefaultOutcome

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

Returns:
possible object is String

setDefaultOutcome

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

Parameters:
value - allowed object is String

getParameter

public List<FacesConfigFlowDefinitionFlowCallParameter> getParameter()
Gets the value of the parameter 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 parameter property.

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

    getParameter().add(newItem);
 

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



Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.