// // 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: 2013.04.23 at 03:15:41 PM EST // package vroom.common.modeling.vrprep; import java.math.BigInteger; 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.XmlElementRef; import javax.xml.bind.annotation.XmlElementRefs; import javax.xml.bind.annotation.XmlMixed; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <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"> * <choice minOccurs="0"> * <element ref="{}NormalVariable"/> * <element ref="{}PoissonVariable"/> * <element ref="{}custom"/> * </choice> * <attribute name="isSplitable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}integer" /> * </restriction> * </complexContent> * </complexType> * </pre> */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "content" }) @XmlRootElement(name = "demand") public class Demand { @XmlElementRefs({ @XmlElementRef(name = "custom", type = Custom.class), @XmlElementRef(name = "PoissonVariable", type = PoissonVariable.class), @XmlElementRef(name = "NormalVariable", type = NormalVariable.class) }) @XmlMixed protected List<Object> content; @XmlAttribute(name = "isSplitable") protected Boolean isSplitable; @XmlAttribute(name = "type") protected BigInteger type; /** * Gets the value of the content 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 content property. * <p> * For example, to add a new item, do as follows: * * <pre> * getContent().add(newItem); * </pre> * <p> * Objects of the following type(s) are allowed in the list {@link String } {@link Custom } {@link NormalVariable } * {@link PoissonVariable } */ public List<Object> getContent() { if (content == null) { content = new ArrayList<Object>(); } return this.content; } /** * Gets the value of the isSplitable property. * * @return possible object is {@link Boolean } */ public boolean isIsSplitable() { if (isSplitable == null) { return false; } else { return isSplitable; } } /** * Sets the value of the isSplitable property. * * @param value * allowed object is {@link Boolean } */ public void setIsSplitable(Boolean value) { this.isSplitable = value; } /** * Gets the value of the type property. * * @return possible object is {@link BigInteger } */ public BigInteger getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is {@link BigInteger } */ public void setType(BigInteger value) { this.type = value; } }