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 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.XmlElement;
18  import javax.xml.bind.annotation.XmlRootElement;
19  import javax.xml.bind.annotation.XmlType;
20  
21  
22  /**
23   * <p>Java class for anonymous complex type.
24   * 
25   * <p>The following schema fragment specifies the expected content contained within this class.
26   * 
27   * <pre>
28   * &lt;complexType&gt;
29   *   &lt;complexContent&gt;
30   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
31   *       &lt;sequence&gt;
32   *         &lt;element ref="{http://www.opentrafficsim.org/ots}Od" maxOccurs="unbounded" minOccurs="0"/&gt;
33   *         &lt;element ref="{http://www.opentrafficsim.org/ots}OdOptions" maxOccurs="unbounded" minOccurs="0"/&gt;
34   *         &lt;element ref="{http://www.opentrafficsim.org/ots}Route" maxOccurs="unbounded" minOccurs="0"/&gt;
35   *         &lt;element ref="{http://www.opentrafficsim.org/ots}RouteMix" maxOccurs="unbounded" minOccurs="0"/&gt;
36   *         &lt;element ref="{http://www.opentrafficsim.org/ots}ShortestRoute" maxOccurs="unbounded" minOccurs="0"/&gt;
37   *         &lt;element ref="{http://www.opentrafficsim.org/ots}ShortestRouteMix" maxOccurs="unbounded" minOccurs="0"/&gt;
38   *         &lt;element ref="{http://www.opentrafficsim.org/ots}GtuTemplateMix" maxOccurs="unbounded" minOccurs="0"/&gt;
39   *         &lt;element name="ModelIdReferral" type="{http://www.opentrafficsim.org/ots}ModelIdReferralType" maxOccurs="unbounded" minOccurs="0"/&gt;
40   *         &lt;element ref="{http://www.opentrafficsim.org/ots}Generator" maxOccurs="unbounded" minOccurs="0"/&gt;
41   *         &lt;element ref="{http://www.opentrafficsim.org/ots}ListGenerator" maxOccurs="unbounded" minOccurs="0"/&gt;
42   *         &lt;element ref="{http://www.opentrafficsim.org/ots}Sink" maxOccurs="unbounded" minOccurs="0"/&gt;
43   *       &lt;/sequence&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      "od",
54      "odOptions",
55      "route",
56      "routeMix",
57      "shortestRoute",
58      "shortestRouteMix",
59      "gtuTemplateMix",
60      "modelIdReferral",
61      "generator",
62      "listGenerator",
63      "sink"
64  })
65  @XmlRootElement(name = "Demand")
66  @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
67  public class Demand
68      implements Serializable
69  {
70  
71      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
72      private final static long serialVersionUID = 10102L;
73      @XmlElement(name = "Od")
74      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
75      protected List<Od> od;
76      @XmlElement(name = "OdOptions")
77      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
78      protected List<OdOptions> odOptions;
79      @XmlElement(name = "Route")
80      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
81      protected List<Route> route;
82      @XmlElement(name = "RouteMix")
83      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
84      protected List<RouteMix> routeMix;
85      @XmlElement(name = "ShortestRoute")
86      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
87      protected List<ShortestRoute> shortestRoute;
88      @XmlElement(name = "ShortestRouteMix")
89      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
90      protected List<ShortestRouteMix> shortestRouteMix;
91      @XmlElement(name = "GtuTemplateMix")
92      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
93      protected List<GtuTemplateMix> gtuTemplateMix;
94      @XmlElement(name = "ModelIdReferral")
95      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
96      protected List<ModelIdReferralType> modelIdReferral;
97      @XmlElement(name = "Generator")
98      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
99      protected List<Generator> generator;
100     @XmlElement(name = "ListGenerator")
101     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
102     protected List<ListGenerator> listGenerator;
103     @XmlElement(name = "Sink")
104     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
105     protected List<Sink> sink;
106 
107     /**
108      * Gets the value of the od property.
109      * 
110      * <p>
111      * This accessor method returns a reference to the live list,
112      * not a snapshot. Therefore any modification you make to the
113      * returned list will be present inside the JAXB object.
114      * This is why there is not a <CODE>set</CODE> method for the od property.
115      * 
116      * <p>
117      * For example, to add a new item, do as follows:
118      * <pre>
119      *    getOd().add(newItem);
120      * </pre>
121      * 
122      * 
123      * <p>
124      * Objects of the following type(s) are allowed in the list
125      * {@link Od }
126      * 
127      * 
128      */
129     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
130     public List<Od> getOd() {
131         if (od == null) {
132             od = new ArrayList<Od>();
133         }
134         return this.od;
135     }
136 
137     /**
138      * Gets the value of the odOptions property.
139      * 
140      * <p>
141      * This accessor method returns a reference to the live list,
142      * not a snapshot. Therefore any modification you make to the
143      * returned list will be present inside the JAXB object.
144      * This is why there is not a <CODE>set</CODE> method for the odOptions property.
145      * 
146      * <p>
147      * For example, to add a new item, do as follows:
148      * <pre>
149      *    getOdOptions().add(newItem);
150      * </pre>
151      * 
152      * 
153      * <p>
154      * Objects of the following type(s) are allowed in the list
155      * {@link OdOptions }
156      * 
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 List<OdOptions> getOdOptions() {
161         if (odOptions == null) {
162             odOptions = new ArrayList<OdOptions>();
163         }
164         return this.odOptions;
165     }
166 
167     /**
168      * Gets the value of the route property.
169      * 
170      * <p>
171      * This accessor method returns a reference to the live list,
172      * not a snapshot. Therefore any modification you make to the
173      * returned list will be present inside the JAXB object.
174      * This is why there is not a <CODE>set</CODE> method for the route property.
175      * 
176      * <p>
177      * For example, to add a new item, do as follows:
178      * <pre>
179      *    getRoute().add(newItem);
180      * </pre>
181      * 
182      * 
183      * <p>
184      * Objects of the following type(s) are allowed in the list
185      * {@link Route }
186      * 
187      * 
188      */
189     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
190     public List<Route> getRoute() {
191         if (route == null) {
192             route = new ArrayList<Route>();
193         }
194         return this.route;
195     }
196 
197     /**
198      * Gets the value of the routeMix property.
199      * 
200      * <p>
201      * This accessor method returns a reference to the live list,
202      * not a snapshot. Therefore any modification you make to the
203      * returned list will be present inside the JAXB object.
204      * This is why there is not a <CODE>set</CODE> method for the routeMix property.
205      * 
206      * <p>
207      * For example, to add a new item, do as follows:
208      * <pre>
209      *    getRouteMix().add(newItem);
210      * </pre>
211      * 
212      * 
213      * <p>
214      * Objects of the following type(s) are allowed in the list
215      * {@link RouteMix }
216      * 
217      * 
218      */
219     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
220     public List<RouteMix> getRouteMix() {
221         if (routeMix == null) {
222             routeMix = new ArrayList<RouteMix>();
223         }
224         return this.routeMix;
225     }
226 
227     /**
228      * Gets the value of the shortestRoute property.
229      * 
230      * <p>
231      * This accessor method returns a reference to the live list,
232      * not a snapshot. Therefore any modification you make to the
233      * returned list will be present inside the JAXB object.
234      * This is why there is not a <CODE>set</CODE> method for the shortestRoute property.
235      * 
236      * <p>
237      * For example, to add a new item, do as follows:
238      * <pre>
239      *    getShortestRoute().add(newItem);
240      * </pre>
241      * 
242      * 
243      * <p>
244      * Objects of the following type(s) are allowed in the list
245      * {@link ShortestRoute }
246      * 
247      * 
248      */
249     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
250     public List<ShortestRoute> getShortestRoute() {
251         if (shortestRoute == null) {
252             shortestRoute = new ArrayList<ShortestRoute>();
253         }
254         return this.shortestRoute;
255     }
256 
257     /**
258      * Gets the value of the shortestRouteMix property.
259      * 
260      * <p>
261      * This accessor method returns a reference to the live list,
262      * not a snapshot. Therefore any modification you make to the
263      * returned list will be present inside the JAXB object.
264      * This is why there is not a <CODE>set</CODE> method for the shortestRouteMix property.
265      * 
266      * <p>
267      * For example, to add a new item, do as follows:
268      * <pre>
269      *    getShortestRouteMix().add(newItem);
270      * </pre>
271      * 
272      * 
273      * <p>
274      * Objects of the following type(s) are allowed in the list
275      * {@link ShortestRouteMix }
276      * 
277      * 
278      */
279     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
280     public List<ShortestRouteMix> getShortestRouteMix() {
281         if (shortestRouteMix == null) {
282             shortestRouteMix = new ArrayList<ShortestRouteMix>();
283         }
284         return this.shortestRouteMix;
285     }
286 
287     /**
288      * Gets the value of the gtuTemplateMix property.
289      * 
290      * <p>
291      * This accessor method returns a reference to the live list,
292      * not a snapshot. Therefore any modification you make to the
293      * returned list will be present inside the JAXB object.
294      * This is why there is not a <CODE>set</CODE> method for the gtuTemplateMix property.
295      * 
296      * <p>
297      * For example, to add a new item, do as follows:
298      * <pre>
299      *    getGtuTemplateMix().add(newItem);
300      * </pre>
301      * 
302      * 
303      * <p>
304      * Objects of the following type(s) are allowed in the list
305      * {@link GtuTemplateMix }
306      * 
307      * 
308      */
309     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
310     public List<GtuTemplateMix> getGtuTemplateMix() {
311         if (gtuTemplateMix == null) {
312             gtuTemplateMix = new ArrayList<GtuTemplateMix>();
313         }
314         return this.gtuTemplateMix;
315     }
316 
317     /**
318      * Gets the value of the modelIdReferral property.
319      * 
320      * <p>
321      * This accessor method returns a reference to the live list,
322      * not a snapshot. Therefore any modification you make to the
323      * returned list will be present inside the JAXB object.
324      * This is why there is not a <CODE>set</CODE> method for the modelIdReferral property.
325      * 
326      * <p>
327      * For example, to add a new item, do as follows:
328      * <pre>
329      *    getModelIdReferral().add(newItem);
330      * </pre>
331      * 
332      * 
333      * <p>
334      * Objects of the following type(s) are allowed in the list
335      * {@link ModelIdReferralType }
336      * 
337      * 
338      */
339     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
340     public List<ModelIdReferralType> getModelIdReferral() {
341         if (modelIdReferral == null) {
342             modelIdReferral = new ArrayList<ModelIdReferralType>();
343         }
344         return this.modelIdReferral;
345     }
346 
347     /**
348      * Gets the value of the generator property.
349      * 
350      * <p>
351      * This accessor method returns a reference to the live list,
352      * not a snapshot. Therefore any modification you make to the
353      * returned list will be present inside the JAXB object.
354      * This is why there is not a <CODE>set</CODE> method for the generator property.
355      * 
356      * <p>
357      * For example, to add a new item, do as follows:
358      * <pre>
359      *    getGenerator().add(newItem);
360      * </pre>
361      * 
362      * 
363      * <p>
364      * Objects of the following type(s) are allowed in the list
365      * {@link Generator }
366      * 
367      * 
368      */
369     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
370     public List<Generator> getGenerator() {
371         if (generator == null) {
372             generator = new ArrayList<Generator>();
373         }
374         return this.generator;
375     }
376 
377     /**
378      * Gets the value of the listGenerator property.
379      * 
380      * <p>
381      * This accessor method returns a reference to the live list,
382      * not a snapshot. Therefore any modification you make to the
383      * returned list will be present inside the JAXB object.
384      * This is why there is not a <CODE>set</CODE> method for the listGenerator property.
385      * 
386      * <p>
387      * For example, to add a new item, do as follows:
388      * <pre>
389      *    getListGenerator().add(newItem);
390      * </pre>
391      * 
392      * 
393      * <p>
394      * Objects of the following type(s) are allowed in the list
395      * {@link ListGenerator }
396      * 
397      * 
398      */
399     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
400     public List<ListGenerator> getListGenerator() {
401         if (listGenerator == null) {
402             listGenerator = new ArrayList<ListGenerator>();
403         }
404         return this.listGenerator;
405     }
406 
407     /**
408      * Gets the value of the sink property.
409      * 
410      * <p>
411      * This accessor method returns a reference to the live list,
412      * not a snapshot. Therefore any modification you make to the
413      * returned list will be present inside the JAXB object.
414      * This is why there is not a <CODE>set</CODE> method for the sink property.
415      * 
416      * <p>
417      * For example, to add a new item, do as follows:
418      * <pre>
419      *    getSink().add(newItem);
420      * </pre>
421      * 
422      * 
423      * <p>
424      * Objects of the following type(s) are allowed in the list
425      * {@link Sink }
426      * 
427      * 
428      */
429     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
430     public List<Sink> getSink() {
431         if (sink == null) {
432             sink = new ArrayList<Sink>();
433         }
434         return this.sink;
435     }
436 
437 }