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  
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 name="GLOBALTIME" type="{http://www.opentrafficsim.org/ots}GLOBALTIMETYPE" minOccurs="0"/&gt;
35   *         &lt;element name="CATEGORY" type="{http://www.opentrafficsim.org/ots}CATEGORYTYPE" maxOccurs="unbounded" minOccurs="0"/&gt;
36   *         &lt;element name="DEMAND" maxOccurs="unbounded" minOccurs="0"&gt;
37   *           &lt;complexType&gt;
38   *             &lt;complexContent&gt;
39   *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
40   *                 &lt;sequence&gt;
41   *                   &lt;element name="LEVEL" type="{http://www.opentrafficsim.org/ots}LEVELTIMETYPE" maxOccurs="unbounded" minOccurs="0"/&gt;
42   *                 &lt;/sequence&gt;
43   *                 &lt;attribute name="ORIGIN" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
44   *                 &lt;attribute name="DESTINATION" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
45   *                 &lt;attribute name="CATEGORY" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
46   *                 &lt;attribute name="INTERPOLATION" type="{http://www.opentrafficsim.org/ots}INTERPOLATIONTYPE" default="LINEAR" /&gt;
47   *                 &lt;attribute name="FACTOR" type="{http://www.opentrafficsim.org/ots}POSITIVEFACTOR" default="1.0" /&gt;
48   *                 &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&gt;
49   *               &lt;/restriction&gt;
50   *             &lt;/complexContent&gt;
51   *           &lt;/complexType&gt;
52   *         &lt;/element&gt;
53   *       &lt;/sequence&gt;
54   *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
55   *       &lt;attribute name="GLOBALINTERPOLATION" type="{http://www.opentrafficsim.org/ots}INTERPOLATIONTYPE" default="LINEAR" /&gt;
56   *       &lt;attribute name="GLOBALFACTOR" type="{http://www.opentrafficsim.org/ots}POSITIVEFACTOR" default="1.0" /&gt;
57   *       &lt;attribute name="RANDOMSTREAM" type="{http://www.w3.org/2001/XMLSchema}string" default="generation" /&gt;
58   *       &lt;attribute name="OPTIONS" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
59   *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&gt;
60   *     &lt;/restriction&gt;
61   *   &lt;/complexContent&gt;
62   * &lt;/complexType&gt;
63   * </pre>
64   * 
65   * 
66   */
67  @XmlAccessorType(XmlAccessType.FIELD)
68  @XmlType(name = "", propOrder = {
69      "globaltime",
70      "category",
71      "demand"
72  })
73  @XmlRootElement(name = "OD")
74  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
75  public class OD
76      implements Serializable
77  {
78  
79      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
80      private final static long serialVersionUID = 10102L;
81      @XmlElement(name = "GLOBALTIME")
82      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
83      protected GLOBALTIMETYPE globaltime;
84      @XmlElement(name = "CATEGORY")
85      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
86      protected List<CATEGORYTYPE> category;
87      @XmlElement(name = "DEMAND")
88      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
89      protected List<OD.DEMAND> demand;
90      @XmlAttribute(name = "ID", required = true)
91      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
92      protected String id;
93      @XmlAttribute(name = "GLOBALINTERPOLATION")
94      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
95      protected String globalinterpolation;
96      @XmlAttribute(name = "GLOBALFACTOR")
97      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
98      protected String globalfactor;
99      @XmlAttribute(name = "RANDOMSTREAM")
100     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
101     protected String randomstream;
102     @XmlAttribute(name = "OPTIONS")
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 options;
105     @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
106     @XmlSchemaType(name = "anyURI")
107     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
108     protected String base;
109 
110     /**
111      * Gets the value of the globaltime property.
112      * 
113      * @return
114      *     possible object is
115      *     {@link GLOBALTIMETYPE }
116      *     
117      */
118     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
119     public GLOBALTIMETYPE getGLOBALTIME() {
120         return globaltime;
121     }
122 
123     /**
124      * Sets the value of the globaltime property.
125      * 
126      * @param value
127      *     allowed object is
128      *     {@link GLOBALTIMETYPE }
129      *     
130      */
131     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
132     public void setGLOBALTIME(GLOBALTIMETYPE value) {
133         this.globaltime = value;
134     }
135 
136     /**
137      * Gets the value of the category property.
138      * 
139      * <p>
140      * This accessor method returns a reference to the live list,
141      * not a snapshot. Therefore any modification you make to the
142      * returned list will be present inside the JAXB object.
143      * This is why there is not a <CODE>set</CODE> method for the category property.
144      * 
145      * <p>
146      * For example, to add a new item, do as follows:
147      * <pre>
148      *    getCATEGORY().add(newItem);
149      * </pre>
150      * 
151      * 
152      * <p>
153      * Objects of the following type(s) are allowed in the list
154      * {@link CATEGORYTYPE }
155      * 
156      * 
157      */
158     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
159     public List<CATEGORYTYPE> getCATEGORY() {
160         if (category == null) {
161             category = new ArrayList<CATEGORYTYPE>();
162         }
163         return this.category;
164     }
165 
166     /**
167      * Gets the value of the demand property.
168      * 
169      * <p>
170      * This accessor method returns a reference to the live list,
171      * not a snapshot. Therefore any modification you make to the
172      * returned list will be present inside the JAXB object.
173      * This is why there is not a <CODE>set</CODE> method for the demand property.
174      * 
175      * <p>
176      * For example, to add a new item, do as follows:
177      * <pre>
178      *    getDEMAND().add(newItem);
179      * </pre>
180      * 
181      * 
182      * <p>
183      * Objects of the following type(s) are allowed in the list
184      * {@link OD.DEMAND }
185      * 
186      * 
187      */
188     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
189     public List<OD.DEMAND> getDEMAND() {
190         if (demand == null) {
191             demand = new ArrayList<OD.DEMAND>();
192         }
193         return this.demand;
194     }
195 
196     /**
197      * Gets the value of the id property.
198      * 
199      * @return
200      *     possible object is
201      *     {@link String }
202      *     
203      */
204     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
205     public String getID() {
206         return id;
207     }
208 
209     /**
210      * Sets the value of the id property.
211      * 
212      * @param value
213      *     allowed object is
214      *     {@link String }
215      *     
216      */
217     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
218     public void setID(String value) {
219         this.id = value;
220     }
221 
222     /**
223      * Gets the value of the globalinterpolation property.
224      * 
225      * @return
226      *     possible object is
227      *     {@link String }
228      *     
229      */
230     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
231     public String getGLOBALINTERPOLATION() {
232         if (globalinterpolation == null) {
233             return "LINEAR";
234         } else {
235             return globalinterpolation;
236         }
237     }
238 
239     /**
240      * Sets the value of the globalinterpolation property.
241      * 
242      * @param value
243      *     allowed object is
244      *     {@link String }
245      *     
246      */
247     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
248     public void setGLOBALINTERPOLATION(String value) {
249         this.globalinterpolation = value;
250     }
251 
252     /**
253      * Gets the value of the globalfactor property.
254      * 
255      * @return
256      *     possible object is
257      *     {@link String }
258      *     
259      */
260     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
261     public String getGLOBALFACTOR() {
262         if (globalfactor == null) {
263             return "1.0";
264         } else {
265             return globalfactor;
266         }
267     }
268 
269     /**
270      * Sets the value of the globalfactor property.
271      * 
272      * @param value
273      *     allowed object is
274      *     {@link String }
275      *     
276      */
277     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
278     public void setGLOBALFACTOR(String value) {
279         this.globalfactor = value;
280     }
281 
282     /**
283      * Gets the value of the randomstream property.
284      * 
285      * @return
286      *     possible object is
287      *     {@link String }
288      *     
289      */
290     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
291     public String getRANDOMSTREAM() {
292         if (randomstream == null) {
293             return "generation";
294         } else {
295             return randomstream;
296         }
297     }
298 
299     /**
300      * Sets the value of the randomstream property.
301      * 
302      * @param value
303      *     allowed object is
304      *     {@link String }
305      *     
306      */
307     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
308     public void setRANDOMSTREAM(String value) {
309         this.randomstream = value;
310     }
311 
312     /**
313      * Gets the value of the options property.
314      * 
315      * @return
316      *     possible object is
317      *     {@link String }
318      *     
319      */
320     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
321     public String getOPTIONS() {
322         return options;
323     }
324 
325     /**
326      * Sets the value of the options property.
327      * 
328      * @param value
329      *     allowed object is
330      *     {@link String }
331      *     
332      */
333     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
334     public void setOPTIONS(String value) {
335         this.options = value;
336     }
337 
338     /**
339      * Gets the value of the base property.
340      * 
341      * @return
342      *     possible object is
343      *     {@link String }
344      *     
345      */
346     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
347     public String getBase() {
348         return base;
349     }
350 
351     /**
352      * Sets the value of the base property.
353      * 
354      * @param value
355      *     allowed object is
356      *     {@link String }
357      *     
358      */
359     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
360     public void setBase(String value) {
361         this.base = value;
362     }
363 
364 
365     /**
366      * <p>Java class for anonymous complex type.
367      * 
368      * <p>The following schema fragment specifies the expected content contained within this class.
369      * 
370      * <pre>
371      * &lt;complexType&gt;
372      *   &lt;complexContent&gt;
373      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
374      *       &lt;sequence&gt;
375      *         &lt;element name="LEVEL" type="{http://www.opentrafficsim.org/ots}LEVELTIMETYPE" maxOccurs="unbounded" minOccurs="0"/&gt;
376      *       &lt;/sequence&gt;
377      *       &lt;attribute name="ORIGIN" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
378      *       &lt;attribute name="DESTINATION" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
379      *       &lt;attribute name="CATEGORY" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
380      *       &lt;attribute name="INTERPOLATION" type="{http://www.opentrafficsim.org/ots}INTERPOLATIONTYPE" default="LINEAR" /&gt;
381      *       &lt;attribute name="FACTOR" type="{http://www.opentrafficsim.org/ots}POSITIVEFACTOR" default="1.0" /&gt;
382      *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&gt;
383      *     &lt;/restriction&gt;
384      *   &lt;/complexContent&gt;
385      * &lt;/complexType&gt;
386      * </pre>
387      * 
388      * 
389      */
390     @XmlAccessorType(XmlAccessType.FIELD)
391     @XmlType(name = "", propOrder = {
392         "level"
393     })
394     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
395     public static class DEMAND
396         implements Serializable
397     {
398 
399         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
400         private final static long serialVersionUID = 10102L;
401         @XmlElement(name = "LEVEL")
402         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
403         protected List<LEVELTIMETYPE> level;
404         @XmlAttribute(name = "ORIGIN", required = true)
405         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
406         protected String origin;
407         @XmlAttribute(name = "DESTINATION", required = true)
408         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
409         protected String destination;
410         @XmlAttribute(name = "CATEGORY")
411         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
412         protected String category;
413         @XmlAttribute(name = "INTERPOLATION")
414         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
415         protected String interpolation;
416         @XmlAttribute(name = "FACTOR")
417         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
418         protected String factor;
419         @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
420         @XmlSchemaType(name = "anyURI")
421         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
422         protected String base;
423 
424         /**
425          * Gets the value of the level property.
426          * 
427          * <p>
428          * This accessor method returns a reference to the live list,
429          * not a snapshot. Therefore any modification you make to the
430          * returned list will be present inside the JAXB object.
431          * This is why there is not a <CODE>set</CODE> method for the level property.
432          * 
433          * <p>
434          * For example, to add a new item, do as follows:
435          * <pre>
436          *    getLEVEL().add(newItem);
437          * </pre>
438          * 
439          * 
440          * <p>
441          * Objects of the following type(s) are allowed in the list
442          * {@link LEVELTIMETYPE }
443          * 
444          * 
445          */
446         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
447         public List<LEVELTIMETYPE> getLEVEL() {
448             if (level == null) {
449                 level = new ArrayList<LEVELTIMETYPE>();
450             }
451             return this.level;
452         }
453 
454         /**
455          * Gets the value of the origin property.
456          * 
457          * @return
458          *     possible object is
459          *     {@link String }
460          *     
461          */
462         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
463         public String getORIGIN() {
464             return origin;
465         }
466 
467         /**
468          * Sets the value of the origin property.
469          * 
470          * @param value
471          *     allowed object is
472          *     {@link String }
473          *     
474          */
475         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
476         public void setORIGIN(String value) {
477             this.origin = value;
478         }
479 
480         /**
481          * Gets the value of the destination property.
482          * 
483          * @return
484          *     possible object is
485          *     {@link String }
486          *     
487          */
488         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
489         public String getDESTINATION() {
490             return destination;
491         }
492 
493         /**
494          * Sets the value of the destination property.
495          * 
496          * @param value
497          *     allowed object is
498          *     {@link String }
499          *     
500          */
501         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
502         public void setDESTINATION(String value) {
503             this.destination = value;
504         }
505 
506         /**
507          * Gets the value of the category property.
508          * 
509          * @return
510          *     possible object is
511          *     {@link String }
512          *     
513          */
514         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
515         public String getCATEGORY() {
516             return category;
517         }
518 
519         /**
520          * Sets the value of the category property.
521          * 
522          * @param value
523          *     allowed object is
524          *     {@link String }
525          *     
526          */
527         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
528         public void setCATEGORY(String value) {
529             this.category = value;
530         }
531 
532         /**
533          * Gets the value of the interpolation property.
534          * 
535          * @return
536          *     possible object is
537          *     {@link String }
538          *     
539          */
540         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
541         public String getINTERPOLATION() {
542             if (interpolation == null) {
543                 return "LINEAR";
544             } else {
545                 return interpolation;
546             }
547         }
548 
549         /**
550          * Sets the value of the interpolation property.
551          * 
552          * @param value
553          *     allowed object is
554          *     {@link String }
555          *     
556          */
557         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
558         public void setINTERPOLATION(String value) {
559             this.interpolation = value;
560         }
561 
562         /**
563          * Gets the value of the factor property.
564          * 
565          * @return
566          *     possible object is
567          *     {@link String }
568          *     
569          */
570         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
571         public String getFACTOR() {
572             if (factor == null) {
573                 return "1.0";
574             } else {
575                 return factor;
576             }
577         }
578 
579         /**
580          * Sets the value of the factor property.
581          * 
582          * @param value
583          *     allowed object is
584          *     {@link String }
585          *     
586          */
587         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
588         public void setFACTOR(String value) {
589             this.factor = value;
590         }
591 
592         /**
593          * Gets the value of the base property.
594          * 
595          * @return
596          *     possible object is
597          *     {@link String }
598          *     
599          */
600         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
601         public String getBase() {
602             return base;
603         }
604 
605         /**
606          * Sets the value of the base property.
607          * 
608          * @param value
609          *     allowed object is
610          *     {@link String }
611          *     
612          */
613         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
614         public void setBase(String value) {
615             this.base = value;
616         }
617 
618     }
619 
620 }