//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.10.14 at 12:54:47 PM CEST
//
package org.springframework.schema.batch;
import java.util.ArrayList;
import java.util.List;
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.XmlID;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="description" type="{http://www.springframework.org/schema/batch}description" minOccurs="0"/>
* <choice maxOccurs="unbounded" minOccurs="0">
* <group ref="{http://www.springframework.org/schema/batch}flowGroup"/>
* </choice>
* </sequence>
* <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
* <attribute name="abstract" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"description",
"stepOrSplitOrFlow"
})
@XmlRootElement(name = "flow")
public class Flow {
protected String description;
@XmlElements({
@XmlElement(name = "step", type = org.springframework.schema.batch.Job.Step.class),
@XmlElement(name = "split", type = org.springframework.schema.batch.Job.Split.class),
@XmlElement(name = "flow", type = org.springframework.schema.batch.Job.Flow.class),
@XmlElement(name = "decision", type = org.springframework.schema.batch.Job.Decision.class)
})
protected List<Object> stepOrSplitOrFlow;
@XmlAttribute(name = "id", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
@XmlAttribute(name = "abstract")
protected Boolean _abstract;
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the stepOrSplitOrFlow property.
*
* <p>
* 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 <CODE>set</CODE> method for the stepOrSplitOrFlow property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getStepOrSplitOrFlow().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link org.springframework.schema.batch.Job.Step }
* {@link org.springframework.schema.batch.Job.Split }
* {@link org.springframework.schema.batch.Job.Flow }
* {@link org.springframework.schema.batch.Job.Decision }
*
*
*/
public List<Object> getStepOrSplitOrFlow() {
if (stepOrSplitOrFlow == null) {
stepOrSplitOrFlow = new ArrayList<Object>();
}
return this.stepOrSplitOrFlow;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the abstract property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAbstract() {
return _abstract;
}
/**
* Sets the value of the abstract property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAbstract(Boolean value) {
this._abstract = value;
}
}