| // |
| // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-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: 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.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.Collections; |
| import java.util.List; |
| |
| |
| /** |
| * Java class for Split complex type. |
| * <p> |
| * The following schema fragment specifies the expected content contained within this class. |
| * |
| * <pre> |
| * <complexType name="Split"> |
| * <complexContent> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
| * <sequence> |
| * <element name="flow" type="{http://xmlns.jcp.org/xml/ns/javaee}Flow" maxOccurs="unbounded" minOccurs="0"/> |
| * </sequence> |
| * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" /> |
| * <attribute name="next" type="{http://www.w3.org/2001/XMLSchema}string" /> |
| * </restriction> |
| * </complexContent> |
| * </complexType> |
| * </pre> |
| */ |
| @XmlAccessorType(XmlAccessType.FIELD) |
| @XmlType(name = "Split", propOrder = { |
| "flows" |
| }) |
| public class Split implements ExecutionElement { |
| |
| @XmlElement(name = "flow") |
| protected List<Flow> flows; |
| @XmlAttribute(name = "id", required = true) |
| @XmlJavaTypeAdapter(CollapsedStringAdapter.class) |
| @XmlID |
| @XmlSchemaType(name = "ID") |
| protected String id; |
| @XmlAttribute(name = "next") |
| protected String nextFromAttribute; |
| |
| /** |
| * Gets the value of the flows 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} method for the flows property. |
| * <p> |
| * For example, to add a new item, do as follows: |
| * <pre> |
| * getFlows().add(newItem); |
| * </pre> |
| * <p> |
| * Objects of the following type(s) are allowed in the list |
| * {@link Flow } |
| */ |
| public List<Flow> getFlows() { |
| if (flows == null) { |
| flows = new ArrayList<Flow>(); |
| } |
| return this.flows; |
| } |
| |
| /** |
| * Gets the value of the id property. |
| * |
| * @return possible object is |
| * {@link String } |
| */ |
| public String getId() { |
| return id; |
| } |
| |
| @Override |
| public List<TransitionElement> getTransitionElements() { |
| return Collections.emptyList(); |
| } |
| |
| /** |
| * 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 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; |
| } |
| |
| } |