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