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: 2019.04.20 at 02:12:22 AM CEST 
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.XmlRootElement;
20  import javax.xml.bind.annotation.XmlSchemaType;
21  import javax.xml.bind.annotation.XmlType;
22  import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
23  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
24  
25  
26  /**
27   * <p>Java class for anonymous complex type.
28   * 
29   * <p>The following schema fragment specifies the expected content contained within this class.
30   * 
31   * <pre>
32   * &lt;complexType&gt;
33   *   &lt;complexContent&gt;
34   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
35   *       &lt;sequence&gt;
36   *         &lt;element ref="{http://www.opentrafficsim.org/ots}DEFINITIONS"/&gt;
37   *         &lt;element ref="{http://www.opentrafficsim.org/ots}NETWORK"/&gt;
38   *         &lt;element ref="{http://www.opentrafficsim.org/ots}NETWORKDEMAND" maxOccurs="unbounded" minOccurs="0"/&gt;
39   *         &lt;element ref="{http://www.opentrafficsim.org/ots}CONTROL" maxOccurs="unbounded" minOccurs="0"/&gt;
40   *         &lt;element ref="{http://www.opentrafficsim.org/ots}MODEL" maxOccurs="unbounded" minOccurs="0"/&gt;
41   *         &lt;element ref="{http://www.opentrafficsim.org/ots}SCENARIO" maxOccurs="unbounded"/&gt;
42   *         &lt;element ref="{http://www.opentrafficsim.org/ots}RUN"/&gt;
43   *         &lt;element ref="{http://www.opentrafficsim.org/ots}ANIMATION" minOccurs="0"/&gt;
44   *       &lt;/sequence&gt;
45   *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&gt;
46   *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}space default="preserve""/&gt;
47   *     &lt;/restriction&gt;
48   *   &lt;/complexContent&gt;
49   * &lt;/complexType&gt;
50   * </pre>
51   * 
52   * 
53   */
54  @XmlAccessorType(XmlAccessType.FIELD)
55  @XmlType(name = "", propOrder = {
56      "definitions",
57      "network",
58      "networkdemand",
59      "control",
60      "model",
61      "scenario",
62      "run",
63      "animation"
64  })
65  @XmlRootElement(name = "OTS")
66  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
67  public class OTS
68      implements Serializable
69  {
70  
71      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
72      private final static long serialVersionUID = 10102L;
73      @XmlElement(name = "DEFINITIONS", required = true)
74      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
75      protected DEFINITIONS definitions;
76      @XmlElement(name = "NETWORK", required = true)
77      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
78      protected NETWORK network;
79      @XmlElement(name = "NETWORKDEMAND")
80      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
81      protected List<NETWORKDEMAND> networkdemand;
82      @XmlElement(name = "CONTROL")
83      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
84      protected List<CONTROL> control;
85      @XmlElement(name = "MODEL")
86      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
87      protected List<MODELTYPE> model;
88      @XmlElement(name = "SCENARIO", required = true)
89      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
90      protected List<SCENARIO> scenario;
91      @XmlElement(name = "RUN", required = true)
92      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
93      protected RUN run;
94      @XmlElement(name = "ANIMATION")
95      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
96      protected ANIMATION animation;
97      @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
98      @XmlSchemaType(name = "anyURI")
99      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
100     protected String base;
101     @XmlAttribute(name = "space", namespace = "http://www.w3.org/XML/1998/namespace")
102     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
103     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
104     protected String space;
105 
106     /**
107      * Gets the value of the definitions property.
108      * 
109      * @return
110      *     possible object is
111      *     {@link DEFINITIONS }
112      *     
113      */
114     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
115     public DEFINITIONS getDEFINITIONS() {
116         return definitions;
117     }
118 
119     /**
120      * Sets the value of the definitions property.
121      * 
122      * @param value
123      *     allowed object is
124      *     {@link DEFINITIONS }
125      *     
126      */
127     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
128     public void setDEFINITIONS(DEFINITIONS value) {
129         this.definitions = value;
130     }
131 
132     /**
133      * Gets the value of the network property.
134      * 
135      * @return
136      *     possible object is
137      *     {@link NETWORK }
138      *     
139      */
140     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
141     public NETWORK getNETWORK() {
142         return network;
143     }
144 
145     /**
146      * Sets the value of the network property.
147      * 
148      * @param value
149      *     allowed object is
150      *     {@link NETWORK }
151      *     
152      */
153     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
154     public void setNETWORK(NETWORK value) {
155         this.network = value;
156     }
157 
158     /**
159      * Gets the value of the networkdemand property.
160      * 
161      * <p>
162      * This accessor method returns a reference to the live list,
163      * not a snapshot. Therefore any modification you make to the
164      * returned list will be present inside the JAXB object.
165      * This is why there is not a <CODE>set</CODE> method for the networkdemand property.
166      * 
167      * <p>
168      * For example, to add a new item, do as follows:
169      * <pre>
170      *    getNETWORKDEMAND().add(newItem);
171      * </pre>
172      * 
173      * 
174      * <p>
175      * Objects of the following type(s) are allowed in the list
176      * {@link NETWORKDEMAND }
177      * 
178      * 
179      */
180     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
181     public List<NETWORKDEMAND> getNETWORKDEMAND() {
182         if (networkdemand == null) {
183             networkdemand = new ArrayList<NETWORKDEMAND>();
184         }
185         return this.networkdemand;
186     }
187 
188     /**
189      * Gets the value of the control property.
190      * 
191      * <p>
192      * This accessor method returns a reference to the live list,
193      * not a snapshot. Therefore any modification you make to the
194      * returned list will be present inside the JAXB object.
195      * This is why there is not a <CODE>set</CODE> method for the control property.
196      * 
197      * <p>
198      * For example, to add a new item, do as follows:
199      * <pre>
200      *    getCONTROL().add(newItem);
201      * </pre>
202      * 
203      * 
204      * <p>
205      * Objects of the following type(s) are allowed in the list
206      * {@link CONTROL }
207      * 
208      * 
209      */
210     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
211     public List<CONTROL> getCONTROL() {
212         if (control == null) {
213             control = new ArrayList<CONTROL>();
214         }
215         return this.control;
216     }
217 
218     /**
219      * Gets the value of the model property.
220      * 
221      * <p>
222      * This accessor method returns a reference to the live list,
223      * not a snapshot. Therefore any modification you make to the
224      * returned list will be present inside the JAXB object.
225      * This is why there is not a <CODE>set</CODE> method for the model property.
226      * 
227      * <p>
228      * For example, to add a new item, do as follows:
229      * <pre>
230      *    getMODEL().add(newItem);
231      * </pre>
232      * 
233      * 
234      * <p>
235      * Objects of the following type(s) are allowed in the list
236      * {@link MODELTYPE }
237      * 
238      * 
239      */
240     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
241     public List<MODELTYPE> getMODEL() {
242         if (model == null) {
243             model = new ArrayList<MODELTYPE>();
244         }
245         return this.model;
246     }
247 
248     /**
249      * Gets the value of the scenario property.
250      * 
251      * <p>
252      * This accessor method returns a reference to the live list,
253      * not a snapshot. Therefore any modification you make to the
254      * returned list will be present inside the JAXB object.
255      * This is why there is not a <CODE>set</CODE> method for the scenario property.
256      * 
257      * <p>
258      * For example, to add a new item, do as follows:
259      * <pre>
260      *    getSCENARIO().add(newItem);
261      * </pre>
262      * 
263      * 
264      * <p>
265      * Objects of the following type(s) are allowed in the list
266      * {@link SCENARIO }
267      * 
268      * 
269      */
270     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
271     public List<SCENARIO> getSCENARIO() {
272         if (scenario == null) {
273             scenario = new ArrayList<SCENARIO>();
274         }
275         return this.scenario;
276     }
277 
278     /**
279      * Gets the value of the run property.
280      * 
281      * @return
282      *     possible object is
283      *     {@link RUN }
284      *     
285      */
286     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
287     public RUN getRUN() {
288         return run;
289     }
290 
291     /**
292      * Sets the value of the run property.
293      * 
294      * @param value
295      *     allowed object is
296      *     {@link RUN }
297      *     
298      */
299     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
300     public void setRUN(RUN value) {
301         this.run = value;
302     }
303 
304     /**
305      * Gets the value of the animation property.
306      * 
307      * @return
308      *     possible object is
309      *     {@link ANIMATION }
310      *     
311      */
312     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
313     public ANIMATION getANIMATION() {
314         return animation;
315     }
316 
317     /**
318      * Sets the value of the animation property.
319      * 
320      * @param value
321      *     allowed object is
322      *     {@link ANIMATION }
323      *     
324      */
325     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
326     public void setANIMATION(ANIMATION value) {
327         this.animation = value;
328     }
329 
330     /**
331      * Gets the value of the base property.
332      * 
333      * @return
334      *     possible object is
335      *     {@link String }
336      *     
337      */
338     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
339     public String getBase() {
340         return base;
341     }
342 
343     /**
344      * Sets the value of the base property.
345      * 
346      * @param value
347      *     allowed object is
348      *     {@link String }
349      *     
350      */
351     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
352     public void setBase(String value) {
353         this.base = value;
354     }
355 
356     /**
357      * Gets the value of the space property.
358      * 
359      * @return
360      *     possible object is
361      *     {@link String }
362      *     
363      */
364     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
365     public String getSpace() {
366         if (space == null) {
367             return "preserve";
368         } else {
369             return space;
370         }
371     }
372 
373     /**
374      * Sets the value of the space property.
375      * 
376      * @param value
377      *     allowed object is
378      *     {@link String }
379      *     
380      */
381     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
382     public void setSpace(String value) {
383         this.space = value;
384     }
385 
386 }