View Javadoc
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   
8   package org.opentrafficsim.road.network.factory.vissim.xsd;
9   
10  import java.util.ArrayList;
11  import java.util.List;
12  
13  import javax.xml.bind.JAXBElement;
14  import javax.xml.bind.annotation.XmlAccessType;
15  import javax.xml.bind.annotation.XmlAccessorType;
16  import javax.xml.bind.annotation.XmlAttribute;
17  import javax.xml.bind.annotation.XmlElementRef;
18  import javax.xml.bind.annotation.XmlElementRefs;
19  import javax.xml.bind.annotation.XmlMixed;
20  import javax.xml.bind.annotation.XmlRootElement;
21  import javax.xml.bind.annotation.XmlSchemaType;
22  import javax.xml.bind.annotation.XmlType;
23  
24  import org.opentrafficsim.road.network.factory.vissim.GTUTYPE;
25  
26  /**
27   * <p>
28   * Java class for anonymous complex type.
29   * <p>
30   * The following schema fragment specifies the expected content contained within this class.
31   *
32   * <pre>
33   * &lt;complexType>
34   *   &lt;complexContent>
35   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36   *       &lt;sequence>
37   *         &lt;element ref="{http://www.opentrafficsim.org/ots}GLOBAL" minOccurs="0"/>
38   *         &lt;choice maxOccurs="unbounded">
39   *           &lt;element ref="{http://www.w3.org/2001/XInclude}include" maxOccurs="unbounded" minOccurs="0"/>
40   *           &lt;element ref="{http://www.opentrafficsim.org/ots}GTUTYPE" maxOccurs="unbounded" minOccurs="0"/>
41   *           &lt;element ref="{http://www.opentrafficsim.org/ots}GTU" maxOccurs="unbounded" minOccurs="0"/>
42   *           &lt;element ref="{http://www.opentrafficsim.org/ots}GTUMIX" maxOccurs="unbounded" minOccurs="0"/>
43   *           &lt;element ref="{http://www.opentrafficsim.org/ots}ROADTYPE" maxOccurs="unbounded" minOccurs="0"/>
44   *           &lt;element ref="{http://www.opentrafficsim.org/ots}LANETYPE" maxOccurs="unbounded" minOccurs="0"/>
45   *           &lt;element ref="{http://www.opentrafficsim.org/ots}ROADLAYOUT" maxOccurs="unbounded" minOccurs="0"/>
46   *         &lt;/choice>
47   *       &lt;/sequence>
48   *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
49   *     &lt;/restriction>
50   *   &lt;/complexContent>
51   * &lt;/complexType>
52   * </pre>
53   */
54  @XmlAccessorType(XmlAccessType.FIELD)
55  @XmlType(name = "", propOrder = {"content"})
56  @XmlRootElement(name = "DEFINITIONS")
57  public class DEFINITIONS
58  {
59  
60      @XmlElementRefs({
61              @XmlElementRef(name = "LANETYPE", namespace = "http://www.opentrafficsim.org/ots", type = LANETYPE.class,
62                      required = false),
63              @XmlElementRef(name = "GTUTYPE", namespace = "http://www.opentrafficsim.org/ots", type = GTUTYPE.class,
64                      required = false),
65              @XmlElementRef(name = "GTU", namespace = "http://www.opentrafficsim.org/ots", type = GTU.class, required = false),
66              @XmlElementRef(name = "ROADTYPE", namespace = "http://www.opentrafficsim.org/ots", type = ROADTYPE.class,
67                      required = false),
68              @XmlElementRef(name = "ROADLAYOUT", namespace = "http://www.opentrafficsim.org/ots", type = ROADLAYOUT.class,
69                      required = false),
70              @XmlElementRef(name = "include", namespace = "http://www.w3.org/2001/XInclude", type = JAXBElement.class,
71                      required = false),
72              @XmlElementRef(name = "GLOBAL", namespace = "http://www.opentrafficsim.org/ots", type = GLOBAL.class,
73                      required = false),
74              @XmlElementRef(name = "GTUMIX", namespace = "http://www.opentrafficsim.org/ots", type = GTUMIX.class,
75                      required = false)})
76      @XmlMixed
77      protected List<Object> content;
78  
79      @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
80      @XmlSchemaType(name = "anyURI")
81      protected String base;
82  
83      /**
84       * Gets the value of the content property.
85       * <p>
86       * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the
87       * returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the content
88       * property.
89       * <p>
90       * For example, to add a new item, do as follows:
91       *
92       * <pre>
93       * getContent().add(newItem);
94       * </pre>
95       * <p>
96       * Objects of the following type(s) are allowed in the list {@link String } {@link LANETYPE } {@link GTUTYPE } {@link GTU }
97       * {@link ROADTYPE } {@link ROADLAYOUT } {@link JAXBElement }{@code <}{@link IncludeType }{@code >} {@link GLOBAL }
98       * {@link GTUMIX }
99       */
100     public List<Object> getContent()
101     {
102         if (content == null)
103         {
104             content = new ArrayList<Object>();
105         }
106         return this.content;
107     }
108 
109     /**
110      * Gets the value of the base property.
111      * @return possible object is {@link String }
112      */
113     public String getBase()
114     {
115         return base;
116     }
117 
118     /**
119      * Sets the value of the base property.
120      * @param value String; allowed object is {@link String }
121      */
122     public void setBase(String value)
123     {
124         this.base = value;
125     }
126 
127 }