Package org.apache.batchee.jaxb
Class Decision
- java.lang.Object
-
- org.apache.batchee.jaxb.Decision
-
- All Implemented Interfaces:
ExecutionElement
public class Decision extends Object implements ExecutionElement
Java class for Decision complex type.The following schema fragment specifies the expected content contained within this class.
<complexType name="Decision"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="properties" type="{http://xmlns.jcp.org/xml/ns/javaee}Properties" minOccurs="0"/> <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="ref" use="required" type="{http://xmlns.jcp.org/xml/ns/javaee}artifactRef" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected String
id
protected JSLProperties
properties
protected String
ref
protected List<TransitionElement>
transitionElements
-
Constructor Summary
Constructors Constructor Description Decision()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Gets the value of the id property.JSLProperties
getProperties()
Gets the value of the properties property.String
getRef()
Gets the value of the ref property.List<TransitionElement>
getTransitionElements()
Gets the value of the transitionElements property.void
setId(String value)
Sets the value of the id property.void
setProperties(JSLProperties value)
Sets the value of the properties property.void
setRef(String value)
Sets the value of the ref property.
-
-
-
Field Detail
-
properties
protected JSLProperties properties
-
transitionElements
protected List<TransitionElement> transitionElements
-
id
protected String id
-
ref
protected String ref
-
-
Method Detail
-
getProperties
public JSLProperties getProperties()
Gets the value of the properties property.- Returns:
- possible object is
JSLProperties
-
setProperties
public void setProperties(JSLProperties value)
Sets the value of the properties property.- Parameters:
value
- allowed object isJSLProperties
-
getTransitionElements
public List<TransitionElement> getTransitionElements()
Gets the value of the transitionElements 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 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
Next
Stop
Fail
End
- Specified by:
getTransitionElements
in interfaceExecutionElement
-
getId
public String getId()
Gets the value of the id property.- Specified by:
getId
in interfaceExecutionElement
- Returns:
- possible object is
String
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
getRef
public String getRef()
Gets the value of the ref property.- Returns:
- possible object is
String
-
-