View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
3   // See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2020.11.01 at 07:11:19 PM CET 
6   //
7   
8   
9   package org.opentrafficsim.xml.generated;
10  
11  import java.io.Serializable;
12  import java.util.ArrayList;
13  import java.util.List;
14  import javax.annotation.Generated;
15  import javax.xml.bind.annotation.XmlAccessType;
16  import javax.xml.bind.annotation.XmlAccessorType;
17  import javax.xml.bind.annotation.XmlAttribute;
18  import javax.xml.bind.annotation.XmlElement;
19  import javax.xml.bind.annotation.XmlElements;
20  import javax.xml.bind.annotation.XmlRootElement;
21  import javax.xml.bind.annotation.XmlSchemaType;
22  import javax.xml.bind.annotation.XmlType;
23  
24  
25  /**
26   * <p>Java class for anonymous complex type.
27   * 
28   * <p>The following schema fragment specifies the expected content contained within this class.
29   * 
30   * <pre>
31   * &lt;complexType&gt;
32   *   &lt;complexContent&gt;
33   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
34   *       &lt;choice maxOccurs="unbounded" minOccurs="0"&gt;
35   *         &lt;element ref="{http://www.w3.org/2001/XInclude}include" minOccurs="0"/&gt;
36   *         &lt;element ref="{http://www.opentrafficsim.org/ots}NODE" minOccurs="0"/&gt;
37   *         &lt;element ref="{http://www.opentrafficsim.org/ots}CONNECTOR" minOccurs="0"/&gt;
38   *         &lt;element ref="{http://www.opentrafficsim.org/ots}LINK" minOccurs="0"/&gt;
39   *       &lt;/choice&gt;
40   *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&gt;
41   *     &lt;/restriction&gt;
42   *   &lt;/complexContent&gt;
43   * &lt;/complexType&gt;
44   * </pre>
45   * 
46   * 
47   */
48  @XmlAccessorType(XmlAccessType.FIELD)
49  @XmlType(name = "", propOrder = {
50      "includeOrNODEOrCONNECTOR"
51  })
52  @XmlRootElement(name = "NETWORK")
53  @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
54  public class NETWORK
55      implements Serializable
56  {
57  
58      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
59      private final static long serialVersionUID = 10102L;
60      @XmlElements({
61          @XmlElement(name = "include", namespace = "http://www.w3.org/2001/XInclude", type = IncludeType.class),
62          @XmlElement(name = "NODE", type = NODE.class),
63          @XmlElement(name = "CONNECTOR", type = CONNECTOR.class),
64          @XmlElement(name = "LINK", type = LINK.class)
65      })
66      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
67      protected List<Serializable> includeOrNODEOrCONNECTOR;
68      @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
69      @XmlSchemaType(name = "anyURI")
70      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
71      protected String base;
72  
73      /**
74       * Gets the value of the includeOrNODEOrCONNECTOR property.
75       * 
76       * <p>
77       * This accessor method returns a reference to the live list,
78       * not a snapshot. Therefore any modification you make to the
79       * returned list will be present inside the JAXB object.
80       * This is why there is not a <CODE>set</CODE> method for the includeOrNODEOrCONNECTOR property.
81       * 
82       * <p>
83       * For example, to add a new item, do as follows:
84       * <pre>
85       *    getIncludeOrNODEOrCONNECTOR().add(newItem);
86       * </pre>
87       * 
88       * 
89       * <p>
90       * Objects of the following type(s) are allowed in the list
91       * {@link IncludeType }
92       * {@link NODE }
93       * {@link CONNECTOR }
94       * {@link LINK }
95       * 
96       * 
97       */
98      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
99      public List<Serializable> getIncludeOrNODEOrCONNECTOR() {
100         if (includeOrNODEOrCONNECTOR == null) {
101             includeOrNODEOrCONNECTOR = new ArrayList<Serializable>();
102         }
103         return this.includeOrNODEOrCONNECTOR;
104     }
105 
106     /**
107      * Gets the value of the base property.
108      * 
109      * @return
110      *     possible object is
111      *     {@link String }
112      *     
113      */
114     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
115     public String getBase() {
116         return base;
117     }
118 
119     /**
120      * Sets the value of the base property.
121      * 
122      * @param value
123      *     allowed object is
124      *     {@link String }
125      *     
126      */
127     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
128     public void setBase(String value) {
129         this.base = value;
130     }
131 
132 }