public class FacesConfigFlowDefinitionFacesMethodCall
extends java.lang.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>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
defaultOutcome |
protected FacesConfigFlowDefinitionFacesMethodCallMethod |
method |
protected java.util.List<FacesConfigFlowDefinitionFlowCallParameter> |
parameter |
| Constructor and Description |
|---|
FacesConfigFlowDefinitionFacesMethodCall() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefaultOutcome()
Gets the value of the defaultOutcome property.
|
FacesConfigFlowDefinitionFacesMethodCallMethod |
getMethod()
Gets the value of the method property.
|
java.util.List<FacesConfigFlowDefinitionFlowCallParameter> |
getParameter()
Gets the value of the parameter property.
|
void |
setDefaultOutcome(java.lang.String value)
Sets the value of the defaultOutcome property.
|
void |
setMethod(FacesConfigFlowDefinitionFacesMethodCallMethod value)
Sets the value of the method property.
|
protected FacesConfigFlowDefinitionFacesMethodCallMethod method
protected java.lang.String defaultOutcome
protected java.util.List<FacesConfigFlowDefinitionFlowCallParameter> parameter
public FacesConfigFlowDefinitionFacesMethodCall()
public FacesConfigFlowDefinitionFacesMethodCallMethod getMethod()
FacesConfigFlowDefinitionFacesMethodCallMethodpublic void setMethod(FacesConfigFlowDefinitionFacesMethodCallMethod value)
value - allowed object is
FacesConfigFlowDefinitionFacesMethodCallMethodpublic java.lang.String getDefaultOutcome()
Stringpublic void setDefaultOutcome(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<FacesConfigFlowDefinitionFlowCallParameter> getParameter()
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