public class Decision extends Object implements ExecutionElement
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>
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected JSLProperties |
properties |
protected String |
ref |
protected List<TransitionElement> |
transitionElements |
Constructor and Description |
---|
Decision() |
Modifier and Type | Method and 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.
|
protected JSLProperties properties
protected List<TransitionElement> transitionElements
protected String id
protected String ref
public JSLProperties getProperties()
JSLProperties
public void setProperties(JSLProperties value)
value
- allowed object is
JSLProperties
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
Next
Stop
Fail
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 getRef()
String
Copyright © 2017 The Apache Software Foundation. All rights reserved.