jsr352.batch.jsl.Decision Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vIBM 2.2.3-11/28/2011 06:21 AM(foreman)-
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.02.15 at 01:29:18 PM EST
//
package jsr352.batch.jsl;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlType;
import com.ibm.batch.container.xjcl.ControlElement;
/**
* 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://batch.jsr352/jsl}Properties" minOccurs="0"/>
* <group ref="{http://batch.jsr352/jsl}ControlElements" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="ref" use="required" type="{http://batch.jsr352/jsl}artifactRef" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Decision", propOrder = {
"properties",
"controlElements"
})
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
/**
* Modified post-XJC-gen by custom JSR352 RI build logic
* since we can't seem to get JAXB's XJC to generate
* elements implementing a common interface.
*
* This custom logic adds the interface implementation :
* implements com.ibm.batch.container.xjcl.ExecutionElement
*/
public class Decision implements com.ibm.batch.container.xjcl.ExecutionElement {
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
protected JSLProperties properties;
@XmlElements({
@XmlElement(name = "stop", type = Stop.class),
@XmlElement(name = "next", type = Next.class),
@XmlElement(name = "fail", type = Fail.class),
@XmlElement(name = "end", type = End.class)
})
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
protected List controlElements;
@XmlAttribute(name = "id", required = true)
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
protected String id;
@XmlAttribute(name = "ref", required = true)
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
protected String ref;
/**
* Gets the value of the properties property.
*
* @return
* possible object is
* {@link JSLProperties }
*
*/
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
public JSLProperties getProperties() {
return properties;
}
/**
* Sets the value of the properties property.
*
* @param value
* allowed object is
* {@link JSLProperties }
*
*/
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
public void setProperties(JSLProperties value) {
this.properties = value;
}
/**
* Gets the value of the controlElements 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 controlElements property.
*
*
* For example, to add a new item, do as follows:
*
* getControlElements().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Stop }
* {@link Next }
* {@link Fail }
* {@link End }
*
*
*/
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
public List getControlElements() {
if (controlElements == null) {
controlElements = new ArrayList();
}
return this.controlElements;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the ref property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
public String getRef() {
return ref;
}
/**
* Sets the value of the ref property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
public void setRef(String value) {
this.ref = value;
}
}