DEFINITIONS.java

  1. //
  2. // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
  3. // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
  4. // Any modifications to this file will be lost upon recompilation of the source schema.
  5. // Generated on: 2016.11.03 at 01:02:34 PM CET
  6. //

  7. package org.opentrafficsim.road.network.factory.vissim.xsd;

  8. import java.util.ArrayList;
  9. import java.util.List;

  10. import javax.xml.bind.JAXBElement;
  11. import javax.xml.bind.annotation.XmlAccessType;
  12. import javax.xml.bind.annotation.XmlAccessorType;
  13. import javax.xml.bind.annotation.XmlAttribute;
  14. import javax.xml.bind.annotation.XmlElementRef;
  15. import javax.xml.bind.annotation.XmlElementRefs;
  16. import javax.xml.bind.annotation.XmlMixed;
  17. import javax.xml.bind.annotation.XmlRootElement;
  18. import javax.xml.bind.annotation.XmlSchemaType;
  19. import javax.xml.bind.annotation.XmlType;

  20. import org.opentrafficsim.road.network.factory.vissim.GTUTYPE;

  21. /**
  22.  * <p>
  23.  * Java class for anonymous complex type.
  24.  * <p>
  25.  * The following schema fragment specifies the expected content contained within this class.
  26.  *
  27.  * <pre>
  28.  * &lt;complexType>
  29.  *   &lt;complexContent>
  30.  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  31.  *       &lt;sequence>
  32.  *         &lt;element ref="{http://www.opentrafficsim.org/ots}GLOBAL" minOccurs="0"/>
  33.  *         &lt;choice maxOccurs="unbounded">
  34.  *           &lt;element ref="{http://www.w3.org/2001/XInclude}include" maxOccurs="unbounded" minOccurs="0"/>
  35.  *           &lt;element ref="{http://www.opentrafficsim.org/ots}GTUTYPE" maxOccurs="unbounded" minOccurs="0"/>
  36.  *           &lt;element ref="{http://www.opentrafficsim.org/ots}GTU" maxOccurs="unbounded" minOccurs="0"/>
  37.  *           &lt;element ref="{http://www.opentrafficsim.org/ots}GTUMIX" maxOccurs="unbounded" minOccurs="0"/>
  38.  *           &lt;element ref="{http://www.opentrafficsim.org/ots}ROADTYPE" maxOccurs="unbounded" minOccurs="0"/>
  39.  *           &lt;element ref="{http://www.opentrafficsim.org/ots}LANETYPE" maxOccurs="unbounded" minOccurs="0"/>
  40.  *           &lt;element ref="{http://www.opentrafficsim.org/ots}ROADLAYOUT" maxOccurs="unbounded" minOccurs="0"/>
  41.  *         &lt;/choice>
  42.  *       &lt;/sequence>
  43.  *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
  44.  *     &lt;/restriction>
  45.  *   &lt;/complexContent>
  46.  * &lt;/complexType>
  47.  * </pre>
  48.  */
  49. @XmlAccessorType(XmlAccessType.FIELD)
  50. @XmlType(name = "", propOrder = {"content"})
  51. @XmlRootElement(name = "DEFINITIONS")
  52. public class DEFINITIONS
  53. {

  54.     @XmlElementRefs({
  55.             @XmlElementRef(name = "LANETYPE", namespace = "http://www.opentrafficsim.org/ots", type = LANETYPE.class,
  56.                     required = false),
  57.             @XmlElementRef(name = "GTUTYPE", namespace = "http://www.opentrafficsim.org/ots", type = GTUTYPE.class,
  58.                     required = false),
  59.             @XmlElementRef(name = "GTU", namespace = "http://www.opentrafficsim.org/ots", type = GTU.class, required = false),
  60.             @XmlElementRef(name = "ROADTYPE", namespace = "http://www.opentrafficsim.org/ots", type = ROADTYPE.class,
  61.                     required = false),
  62.             @XmlElementRef(name = "ROADLAYOUT", namespace = "http://www.opentrafficsim.org/ots", type = ROADLAYOUT.class,
  63.                     required = false),
  64.             @XmlElementRef(name = "include", namespace = "http://www.w3.org/2001/XInclude", type = JAXBElement.class,
  65.                     required = false),
  66.             @XmlElementRef(name = "GLOBAL", namespace = "http://www.opentrafficsim.org/ots", type = GLOBAL.class,
  67.                     required = false),
  68.             @XmlElementRef(name = "GTUMIX", namespace = "http://www.opentrafficsim.org/ots", type = GTUMIX.class,
  69.                     required = false)})
  70.     @XmlMixed
  71.     protected List<Object> content;

  72.     @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
  73.     @XmlSchemaType(name = "anyURI")
  74.     protected String base;

  75.     /**
  76.      * Gets the value of the content property.
  77.      * <p>
  78.      * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the
  79.      * returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the content
  80.      * property.
  81.      * <p>
  82.      * For example, to add a new item, do as follows:
  83.      *
  84.      * <pre>
  85.      * getContent().add(newItem);
  86.      * </pre>
  87.      * <p>
  88.      * Objects of the following type(s) are allowed in the list {@link String } {@link LANETYPE } {@link GTUTYPE } {@link GTU }
  89.      * {@link ROADTYPE } {@link ROADLAYOUT } {@link JAXBElement }{@code <}{@link IncludeType }{@code >} {@link GLOBAL }
  90.      * {@link GTUMIX }
  91.      */
  92.     public List<Object> getContent()
  93.     {
  94.         if (content == null)
  95.         {
  96.             content = new ArrayList<Object>();
  97.         }
  98.         return this.content;
  99.     }

  100.     /**
  101.      * Gets the value of the base property.
  102.      * @return possible object is {@link String }
  103.      */
  104.     public String getBase()
  105.     {
  106.         return base;
  107.     }

  108.     /**
  109.      * Sets the value of the base property.
  110.      * @param value String; allowed object is {@link String }
  111.      */
  112.     public void setBase(String value)
  113.     {
  114.         this.base = value;
  115.     }

  116. }