GtuColorers.java
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.7
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.08.29 at 06:50:16 PM CEST
//
package org.opentrafficsim.xml.generated;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.opentrafficsim.xml.bindings.types.ClassType;
/**
* <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 maxOccurs="unbounded">
* <element name="Default">
* <simpleType>
* <union memberTypes=" {http://www.opentrafficsim.org/ots}Expression">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="DEFAULT"/>
* <enumeration value="ID"/>
* <enumeration value="SPEED"/>
* <enumeration value="ACCELERATION"/>
* <enumeration value="BLUE"/>
* <enumeration value="DESIRED_SPEED"/>
* <enumeration value="SPLIT"/>
* <enumeration value="SYNCHRONIZATION"/>
* <enumeration value="DESIRED_HEADWAY"/>
* <enumeration value="TOTAL_DESIRE"/>
* <enumeration value="SOCIAL_PRESSURE"/>
* </restriction>
* </simpleType>
* </union>
* </simpleType>
* </element>
* <element name="Incentive">
* <simpleType>
* <union memberTypes=" {http://www.opentrafficsim.org/ots}Expression">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="ROUTE"/>
* <enumeration value="SPEED_WITH_COURTESY"/>
* <enumeration value="KEEP"/>
* <enumeration value="COURTESY"/>
* <enumeration value="SOCIO_SPEED"/>
* <enumeration value="BUS_STOP"/>
* </restriction>
* </simpleType>
* </union>
* </simpleType>
* </element>
* <element name="Class" type="{http://www.opentrafficsim.org/ots}ClassNameType"/>
* </choice>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"defaultOrIncentiveOrClazz"
})
@XmlRootElement(name = "GtuColorers")
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
public class GtuColorers
implements Serializable
{
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
private final static long serialVersionUID = 10102L;
@XmlElementRefs({
@XmlElementRef(name = "Default", namespace = "http://www.opentrafficsim.org/ots", type = JAXBElement.class, required = false),
@XmlElementRef(name = "Incentive", namespace = "http://www.opentrafficsim.org/ots", type = JAXBElement.class, required = false),
@XmlElementRef(name = "Class", namespace = "http://www.opentrafficsim.org/ots", type = JAXBElement.class, required = false)
})
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
protected List<JAXBElement<?>> defaultOrIncentiveOrClazz;
/**
* Gets the value of the defaultOrIncentiveOrClazz 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 defaultOrIncentiveOrClazz property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getDefaultOrIncentiveOrClazz().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link JAXBElement }{@code <}{@link ClassType }{@code >}
*
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
public List<JAXBElement<?>> getDefaultOrIncentiveOrClazz() {
if (defaultOrIncentiveOrClazz == null) {
defaultOrIncentiveOrClazz = new ArrayList<JAXBElement<?>>();
}
return this.defaultOrIncentiveOrClazz;
}
}