View Javadoc
1   //
2   // This file was generated by the Eclipse Implementation of JAXB, v2.3.7 
3   // See https://eclipse-ee4j.github.io/jaxb-ri 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2024.08.29 at 06:50:16 PM CEST 
6   //
7   
8   
9   package org.opentrafficsim.xml.generated;
10  
11  import java.io.Serializable;
12  import javax.annotation.Generated;
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.XmlRootElement;
18  import javax.xml.bind.annotation.XmlType;
19  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
20  import org.opentrafficsim.xml.bindings.SpaceAdapter;
21  import org.opentrafficsim.xml.bindings.types.StringType;
22  
23  
24  /**
25   * <p>Java class for anonymous complex type.
26   * 
27   * <p>The following schema fragment specifies the expected content contained within this class.
28   * 
29   * <pre>
30   * &lt;complexType&gt;
31   *   &lt;complexContent&gt;
32   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
33   *       &lt;sequence&gt;
34   *         &lt;element ref="{http://www.opentrafficsim.org/ots}Definitions"/&gt;
35   *         &lt;element ref="{http://www.opentrafficsim.org/ots}Network"/&gt;
36   *         &lt;element ref="{http://www.opentrafficsim.org/ots}Demand" minOccurs="0"/&gt;
37   *         &lt;element ref="{http://www.opentrafficsim.org/ots}Control" minOccurs="0"/&gt;
38   *         &lt;element ref="{http://www.opentrafficsim.org/ots}Models" minOccurs="0"/&gt;
39   *         &lt;element ref="{http://www.opentrafficsim.org/ots}Scenarios" minOccurs="0"/&gt;
40   *         &lt;element ref="{http://www.opentrafficsim.org/ots}Run"/&gt;
41   *         &lt;element ref="{http://www.opentrafficsim.org/ots}Animation" minOccurs="0"/&gt;
42   *       &lt;/sequence&gt;
43   *       &lt;attribute name="Space" type="{http://www.opentrafficsim.org/ots}space" default="preserve" /&gt;
44   *     &lt;/restriction&gt;
45   *   &lt;/complexContent&gt;
46   * &lt;/complexType&gt;
47   * </pre>
48   * 
49   * 
50   */
51  @XmlAccessorType(XmlAccessType.FIELD)
52  @XmlType(name = "", propOrder = {
53      "definitions",
54      "network",
55      "demand",
56      "control",
57      "models",
58      "scenarios",
59      "run",
60      "animation"
61  })
62  @XmlRootElement(name = "Ots")
63  @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
64  public class Ots
65      implements Serializable
66  {
67  
68      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
69      private final static long serialVersionUID = 10102L;
70      @XmlElement(name = "Definitions", required = true)
71      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
72      protected Definitions definitions;
73      @XmlElement(name = "Network", required = true)
74      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
75      protected Network network;
76      @XmlElement(name = "Demand")
77      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
78      protected Demand demand;
79      @XmlElement(name = "Control")
80      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
81      protected Control control;
82      @XmlElement(name = "Models")
83      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
84      protected Models models;
85      @XmlElement(name = "Scenarios")
86      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
87      protected Scenarios scenarios;
88      @XmlElement(name = "Run", required = true)
89      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
90      protected Run run;
91      @XmlElement(name = "Animation")
92      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
93      protected Animation animation;
94      @XmlAttribute(name = "Space")
95      @XmlJavaTypeAdapter(SpaceAdapter.class)
96      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
97      protected StringType space;
98  
99      /**
100      * Gets the value of the definitions property.
101      * 
102      * @return
103      *     possible object is
104      *     {@link Definitions }
105      *     
106      */
107     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
108     public Definitions getDefinitions() {
109         return definitions;
110     }
111 
112     /**
113      * Sets the value of the definitions property.
114      * 
115      * @param value
116      *     allowed object is
117      *     {@link Definitions }
118      *     
119      */
120     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
121     public void setDefinitions(Definitions value) {
122         this.definitions = value;
123     }
124 
125     /**
126      * Gets the value of the network property.
127      * 
128      * @return
129      *     possible object is
130      *     {@link Network }
131      *     
132      */
133     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
134     public Network getNetwork() {
135         return network;
136     }
137 
138     /**
139      * Sets the value of the network property.
140      * 
141      * @param value
142      *     allowed object is
143      *     {@link Network }
144      *     
145      */
146     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
147     public void setNetwork(Network value) {
148         this.network = value;
149     }
150 
151     /**
152      * Gets the value of the demand property.
153      * 
154      * @return
155      *     possible object is
156      *     {@link Demand }
157      *     
158      */
159     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
160     public Demand getDemand() {
161         return demand;
162     }
163 
164     /**
165      * Sets the value of the demand property.
166      * 
167      * @param value
168      *     allowed object is
169      *     {@link Demand }
170      *     
171      */
172     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
173     public void setDemand(Demand value) {
174         this.demand = value;
175     }
176 
177     /**
178      * Gets the value of the control property.
179      * 
180      * @return
181      *     possible object is
182      *     {@link Control }
183      *     
184      */
185     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
186     public Control getControl() {
187         return control;
188     }
189 
190     /**
191      * Sets the value of the control property.
192      * 
193      * @param value
194      *     allowed object is
195      *     {@link Control }
196      *     
197      */
198     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
199     public void setControl(Control value) {
200         this.control = value;
201     }
202 
203     /**
204      * Gets the value of the models property.
205      * 
206      * @return
207      *     possible object is
208      *     {@link Models }
209      *     
210      */
211     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
212     public Models getModels() {
213         return models;
214     }
215 
216     /**
217      * Sets the value of the models property.
218      * 
219      * @param value
220      *     allowed object is
221      *     {@link Models }
222      *     
223      */
224     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
225     public void setModels(Models value) {
226         this.models = value;
227     }
228 
229     /**
230      * Gets the value of the scenarios property.
231      * 
232      * @return
233      *     possible object is
234      *     {@link Scenarios }
235      *     
236      */
237     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
238     public Scenarios getScenarios() {
239         return scenarios;
240     }
241 
242     /**
243      * Sets the value of the scenarios property.
244      * 
245      * @param value
246      *     allowed object is
247      *     {@link Scenarios }
248      *     
249      */
250     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
251     public void setScenarios(Scenarios value) {
252         this.scenarios = value;
253     }
254 
255     /**
256      * Gets the value of the run property.
257      * 
258      * @return
259      *     possible object is
260      *     {@link Run }
261      *     
262      */
263     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
264     public Run getRun() {
265         return run;
266     }
267 
268     /**
269      * Sets the value of the run property.
270      * 
271      * @param value
272      *     allowed object is
273      *     {@link Run }
274      *     
275      */
276     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
277     public void setRun(Run value) {
278         this.run = value;
279     }
280 
281     /**
282      * Gets the value of the animation property.
283      * 
284      * @return
285      *     possible object is
286      *     {@link Animation }
287      *     
288      */
289     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
290     public Animation getAnimation() {
291         return animation;
292     }
293 
294     /**
295      * Sets the value of the animation property.
296      * 
297      * @param value
298      *     allowed object is
299      *     {@link Animation }
300      *     
301      */
302     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
303     public void setAnimation(Animation value) {
304         this.animation = value;
305     }
306 
307     /**
308      * Gets the value of the space property.
309      * 
310      * @return
311      *     possible object is
312      *     {@link String }
313      *     
314      */
315     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
316     public StringType getSpace() {
317         if (space == null) {
318             return new SpaceAdapter().unmarshal("preserve");
319         } else {
320             return space;
321         }
322     }
323 
324     /**
325      * Sets the value of the space property.
326      * 
327      * @param value
328      *     allowed object is
329      *     {@link String }
330      *     
331      */
332     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
333     public void setSpace(StringType value) {
334         this.space = value;
335     }
336 
337 }