org.apache.batchee.jaxb.Step Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.08.27 at 09:45:12 AM CEST
//
package org.apache.batchee.jaxb;
import org.apache.batchee.container.jsl.ExecutionElement;
import org.apache.batchee.container.jsl.TransitionElement;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.util.ArrayList;
import java.util.List;
/**
* Java class for Step complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Step">
* <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"/>
* <element name="listeners" type="{http://xmlns.jcp.org/xml/ns/javaee}Listeners" minOccurs="0"/>
* <choice minOccurs="0">
* <element name="batchlet" type="{http://xmlns.jcp.org/xml/ns/javaee}Batchlet"/>
* <element name="chunk" type="{http://xmlns.jcp.org/xml/ns/javaee}Chunk"/>
* </choice>
* <element name="partition" type="{http://xmlns.jcp.org/xml/ns/javaee}Partition" 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="start-limit" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="allow-start-if-complete" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="next" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Step", propOrder = {
"properties",
"listeners",
"batchlet",
"chunk",
"partition",
"transitionElements"
})
public class Step implements ExecutionElement {
protected JSLProperties properties;
protected Listeners listeners;
protected Batchlet batchlet;
protected Chunk chunk;
protected Partition partition;
@XmlElements({
@XmlElement(name = "next", type = Next.class),
@XmlElement(name = "fail", type = Fail.class),
@XmlElement(name = "stop", type = Stop.class),
@XmlElement(name = "end", type = End.class)
})
protected List transitionElements;
@XmlAttribute(name = "id", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
@XmlAttribute(name = "start-limit")
protected String startLimit;
@XmlAttribute(name = "allow-start-if-complete")
protected String allowStartIfComplete;
@XmlAttribute(name = "next")
protected String nextFromAttribute;
/**
* Gets the value of the properties property.
*
* @return possible object is
* {@link JSLProperties }
*/
public JSLProperties getProperties() {
return properties;
}
/**
* Sets the value of the properties property.
*
* @param value allowed object is
* {@link JSLProperties }
*/
public void setProperties(JSLProperties value) {
this.properties = value;
}
/**
* Gets the value of the listeners property.
*
* @return possible object is
* {@link Listeners }
*/
public Listeners getListeners() {
return listeners;
}
/**
* Sets the value of the listeners property.
*
* @param value allowed object is
* {@link Listeners }
*/
public void setListeners(Listeners value) {
this.listeners = value;
}
/**
* Gets the value of the batchlet property.
*
* @return possible object is
* {@link Batchlet }
*/
public Batchlet getBatchlet() {
return batchlet;
}
/**
* Sets the value of the batchlet property.
*
* @param value allowed object is
* {@link Batchlet }
*/
public void setBatchlet(Batchlet value) {
this.batchlet = value;
}
/**
* Gets the value of the chunk property.
*
* @return possible object is
* {@link Chunk }
*/
public Chunk getChunk() {
return chunk;
}
/**
* Sets the value of the chunk property.
*
* @param value allowed object is
* {@link Chunk }
*/
public void setChunk(Chunk value) {
this.chunk = value;
}
/**
* Gets the value of the partition property.
*
* @return possible object is
* {@link Partition }
*/
public Partition getPartition() {
return partition;
}
/**
* Sets the value of the partition property.
*
* @param value allowed object is
* {@link Partition }
*/
public void setPartition(Partition value) {
this.partition = value;
}
/**
* 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
* {@link Next }
* {@link Fail }
* {@link Stop }
* {@link End }
*/
public List getTransitionElements() {
if (transitionElements == null) {
transitionElements = new ArrayList();
}
return this.transitionElements;
}
/**
* 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 startLimit property.
*
* @return possible object is
* {@link String }
*/
public String getStartLimit() {
return startLimit;
}
/**
* Sets the value of the startLimit property.
*
* @param value allowed object is
* {@link String }
*/
public void setStartLimit(String value) {
this.startLimit = value;
}
/**
* Gets the value of the allowStartIfComplete property.
*
* @return possible object is
* {@link String }
*/
public String getAllowStartIfComplete() {
return allowStartIfComplete;
}
/**
* Sets the value of the allowStartIfComplete property.
*
* @param value allowed object is
* {@link String }
*/
public void setAllowStartIfComplete(String value) {
this.allowStartIfComplete = value;
}
/**
* Gets the value of the nextFromAttribute property.
*
* @return possible object is
* {@link String }
*/
public String getNextFromAttribute() {
return nextFromAttribute;
}
/**
* Sets the value of the nextFromAttribute property.
*
* @param value allowed object is
* {@link String }
*/
public void setNextFromAttribute(String value) {
this.nextFromAttribute = value;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy