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.03.16 at 06:21:55 PM CET 
6   //
7   
8   
9   package org.opentrafficsim.xml.generated;
10  
11  import java.util.ArrayList;
12  import java.util.List;
13  import javax.annotation.Generated;
14  import javax.xml.bind.annotation.XmlAccessType;
15  import javax.xml.bind.annotation.XmlAccessorType;
16  import javax.xml.bind.annotation.XmlElement;
17  import javax.xml.bind.annotation.XmlRootElement;
18  import javax.xml.bind.annotation.XmlType;
19  
20  
21  /**
22   * <p>Java class for anonymous complex type.
23   * 
24   * <p>The following schema fragment specifies the expected content contained within this class.
25   * 
26   * <pre>
27   * &lt;complexType&gt;
28   *   &lt;complexContent&gt;
29   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
30   *       &lt;sequence&gt;
31   *         &lt;element ref="{http://www.opentrafficsim.org/ots}DEFINITIONS"/&gt;
32   *         &lt;element ref="{http://www.opentrafficsim.org/ots}NETWORK"/&gt;
33   *         &lt;element ref="{http://www.opentrafficsim.org/ots}NETWORKDEMAND" maxOccurs="unbounded"/&gt;
34   *         &lt;element ref="{http://www.opentrafficsim.org/ots}CONTROL" maxOccurs="unbounded"/&gt;
35   *         &lt;element ref="{http://www.opentrafficsim.org/ots}MODEL"/&gt;
36   *         &lt;element ref="{http://www.opentrafficsim.org/ots}SCENARIO"/&gt;
37   *         &lt;element ref="{http://www.opentrafficsim.org/ots}RUN"/&gt;
38   *         &lt;element ref="{http://www.opentrafficsim.org/ots}ANIMATION"/&gt;
39   *       &lt;/sequence&gt;
40   *     &lt;/restriction&gt;
41   *   &lt;/complexContent&gt;
42   * &lt;/complexType&gt;
43   * </pre>
44   * 
45   * 
46   */
47  @XmlAccessorType(XmlAccessType.FIELD)
48  @XmlType(name = "", propOrder = {
49      "definitions",
50      "network",
51      "networkdemand",
52      "control",
53      "model",
54      "scenario",
55      "run",
56      "animation"
57  })
58  @XmlRootElement(name = "OTS")
59  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
60  public class OTS {
61  
62      @XmlElement(name = "DEFINITIONS", required = true)
63      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
64      protected DEFINITIONS definitions;
65      @XmlElement(name = "NETWORK", required = true)
66      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
67      protected NETWORK network;
68      @XmlElement(name = "NETWORKDEMAND", required = true)
69      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
70      protected List<NETWORKDEMAND> networkdemand;
71      @XmlElement(name = "CONTROL", required = true)
72      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
73      protected List<CONTROL> control;
74      @XmlElement(name = "MODEL", required = true)
75      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
76      protected MODEL model;
77      @XmlElement(name = "SCENARIO", required = true)
78      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
79      protected SCENARIO scenario;
80      @XmlElement(name = "RUN", required = true)
81      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
82      protected RUN run;
83      @XmlElement(name = "ANIMATION", required = true)
84      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
85      protected ANIMATION animation;
86  
87      /**
88       * Gets the value of the definitions property.
89       * 
90       * @return
91       *     possible object is
92       *     {@link DEFINITIONS }
93       *     
94       */
95      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
96      public DEFINITIONS getDEFINITIONS() {
97          return definitions;
98      }
99  
100     /**
101      * Sets the value of the definitions property.
102      * 
103      * @param value
104      *     allowed object is
105      *     {@link DEFINITIONS }
106      *     
107      */
108     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
109     public void setDEFINITIONS(DEFINITIONS value) {
110         this.definitions = value;
111     }
112 
113     /**
114      * Gets the value of the network property.
115      * 
116      * @return
117      *     possible object is
118      *     {@link NETWORK }
119      *     
120      */
121     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
122     public NETWORK getNETWORK() {
123         return network;
124     }
125 
126     /**
127      * Sets the value of the network property.
128      * 
129      * @param value
130      *     allowed object is
131      *     {@link NETWORK }
132      *     
133      */
134     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
135     public void setNETWORK(NETWORK value) {
136         this.network = value;
137     }
138 
139     /**
140      * Gets the value of the networkdemand property.
141      * 
142      * <p>
143      * This accessor method returns a reference to the live list,
144      * not a snapshot. Therefore any modification you make to the
145      * returned list will be present inside the JAXB object.
146      * This is why there is not a <CODE>set</CODE> method for the networkdemand property.
147      * 
148      * <p>
149      * For example, to add a new item, do as follows:
150      * <pre>
151      *    getNETWORKDEMAND().add(newItem);
152      * </pre>
153      * 
154      * 
155      * <p>
156      * Objects of the following type(s) are allowed in the list
157      * {@link NETWORKDEMAND }
158      * 
159      * 
160      */
161     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
162     public List<NETWORKDEMAND> getNETWORKDEMAND() {
163         if (networkdemand == null) {
164             networkdemand = new ArrayList<NETWORKDEMAND>();
165         }
166         return this.networkdemand;
167     }
168 
169     /**
170      * Gets the value of the control property.
171      * 
172      * <p>
173      * This accessor method returns a reference to the live list,
174      * not a snapshot. Therefore any modification you make to the
175      * returned list will be present inside the JAXB object.
176      * This is why there is not a <CODE>set</CODE> method for the control property.
177      * 
178      * <p>
179      * For example, to add a new item, do as follows:
180      * <pre>
181      *    getCONTROL().add(newItem);
182      * </pre>
183      * 
184      * 
185      * <p>
186      * Objects of the following type(s) are allowed in the list
187      * {@link CONTROL }
188      * 
189      * 
190      */
191     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
192     public List<CONTROL> getCONTROL() {
193         if (control == null) {
194             control = new ArrayList<CONTROL>();
195         }
196         return this.control;
197     }
198 
199     /**
200      * Gets the value of the model property.
201      * 
202      * @return
203      *     possible object is
204      *     {@link MODEL }
205      *     
206      */
207     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
208     public MODEL getMODEL() {
209         return model;
210     }
211 
212     /**
213      * Sets the value of the model property.
214      * 
215      * @param value
216      *     allowed object is
217      *     {@link MODEL }
218      *     
219      */
220     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
221     public void setMODEL(MODEL value) {
222         this.model = value;
223     }
224 
225     /**
226      * Gets the value of the scenario property.
227      * 
228      * @return
229      *     possible object is
230      *     {@link SCENARIO }
231      *     
232      */
233     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
234     public SCENARIO getSCENARIO() {
235         return scenario;
236     }
237 
238     /**
239      * Sets the value of the scenario property.
240      * 
241      * @param value
242      *     allowed object is
243      *     {@link SCENARIO }
244      *     
245      */
246     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
247     public void setSCENARIO(SCENARIO value) {
248         this.scenario = value;
249     }
250 
251     /**
252      * Gets the value of the run property.
253      * 
254      * @return
255      *     possible object is
256      *     {@link RUN }
257      *     
258      */
259     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
260     public RUN getRUN() {
261         return run;
262     }
263 
264     /**
265      * Sets the value of the run property.
266      * 
267      * @param value
268      *     allowed object is
269      *     {@link RUN }
270      *     
271      */
272     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
273     public void setRUN(RUN value) {
274         this.run = value;
275     }
276 
277     /**
278      * Gets the value of the animation property.
279      * 
280      * @return
281      *     possible object is
282      *     {@link ANIMATION }
283      *     
284      */
285     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
286     public ANIMATION getANIMATION() {
287         return animation;
288     }
289 
290     /**
291      * Sets the value of the animation property.
292      * 
293      * @param value
294      *     allowed object is
295      *     {@link ANIMATION }
296      *     
297      */
298     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
299     public void setANIMATION(ANIMATION value) {
300         this.animation = value;
301     }
302 
303 }