public class Flow extends Object implements ExecutionElement
The following schema fragment specifies the expected content contained within this class.
<complexType name="Flow"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice maxOccurs="unbounded" minOccurs="0"> <element name="decision" type="{http://xmlns.jcp.org/xml/ns/javaee}Decision"/> <element name="flow" type="{http://xmlns.jcp.org/xml/ns/javaee}Flow"/> <element name="split" type="{http://xmlns.jcp.org/xml/ns/javaee}Split"/> <element name="step" type="{http://xmlns.jcp.org/xml/ns/javaee}Step"/> </choice> <group ref="{http://xmlns.jcp.org/xml/ns/javaee}TransitionElements" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="next" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<ExecutionElement> |
executionElements |
protected String |
id |
protected String |
nextFromAttribute |
protected List<TransitionElement> |
transitionElements |
Constructor and Description |
---|
Flow() |
Modifier and Type | Method and Description |
---|---|
List<ExecutionElement> |
getExecutionElements()
Gets the value of the executionElements property.
|
String |
getId()
Gets the value of the id property.
|
String |
getNextFromAttribute()
Gets the value of the nextFromAttribute property.
|
List<TransitionElement> |
getTransitionElements()
Gets the value of the transitionElements property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setNextFromAttribute(String value)
Sets the value of the nextFromAttribute property.
|
protected List<ExecutionElement> executionElements
protected List<TransitionElement> transitionElements
protected String id
protected String nextFromAttribute
public List<ExecutionElement> getExecutionElements()
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 executionElements property.
For example, to add a new item, do as follows:
getExecutionElements().add(newItem);
Objects of the following type(s) are allowed in the list
Split
Flow
Step
Decision
public List<TransitionElement> getTransitionElements()
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 transitionElements property.
For example, to add a new item, do as follows:
getTransitionElements().add(newItem);
Objects of the following type(s) are allowed in the list
Stop
Fail
Next
End
getTransitionElements
in interface ExecutionElement
public String getId()
getId
in interface ExecutionElement
String
public void setId(String value)
value
- allowed object is
String
public String getNextFromAttribute()
String
Copyright © 2017 The Apache Software Foundation. All rights reserved.