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.XmlAttribute;
17  import javax.xml.bind.annotation.XmlElement;
18  import javax.xml.bind.annotation.XmlRootElement;
19  import javax.xml.bind.annotation.XmlType;
20  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
21  import org.djunits.value.vdouble.scalar.Duration;
22  import org.djunits.value.vdouble.scalar.Time;
23  import org.opentrafficsim.xml.bindings.DurationAdapter;
24  import org.opentrafficsim.xml.bindings.TimeAdapter;
25  
26  
27  /**
28   * <p>Java class for anonymous complex type.
29   * 
30   * <p>The following schema fragment specifies the expected content contained within this class.
31   * 
32   * <pre>
33   * &lt;complexType&gt;
34   *   &lt;complexContent&gt;
35   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
36   *       &lt;sequence&gt;
37   *         &lt;element name="FIXEDTIME" maxOccurs="unbounded" minOccurs="0"&gt;
38   *           &lt;complexType&gt;
39   *             &lt;complexContent&gt;
40   *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
41   *                 &lt;sequence&gt;
42   *                   &lt;element name="SIGNALGROUP" maxOccurs="unbounded"&gt;
43   *                     &lt;complexType&gt;
44   *                       &lt;complexContent&gt;
45   *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
46   *                           &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
47   *                           &lt;attribute name="OFFSET" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
48   *                           &lt;attribute name="PREGREEN" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
49   *                           &lt;attribute name="GREEN" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
50   *                           &lt;attribute name="YELLOW" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
51   *                         &lt;/restriction&gt;
52   *                       &lt;/complexContent&gt;
53   *                     &lt;/complexType&gt;
54   *                   &lt;/element&gt;
55   *                 &lt;/sequence&gt;
56   *                 &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
57   *                 &lt;attribute name="CYCLETIME" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
58   *                 &lt;attribute name="OFFSET" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
59   *                 &lt;attribute name="STARTTIME" type="{http://www.opentrafficsim.org/ots}TIMETYPE" /&gt;
60   *                 &lt;attribute name="ENDTIME" type="{http://www.opentrafficsim.org/ots}TIMETYPE" /&gt;
61   *               &lt;/restriction&gt;
62   *             &lt;/complexContent&gt;
63   *           &lt;/complexType&gt;
64   *         &lt;/element&gt;
65   *       &lt;/sequence&gt;
66   *     &lt;/restriction&gt;
67   *   &lt;/complexContent&gt;
68   * &lt;/complexType&gt;
69   * </pre>
70   * 
71   * 
72   */
73  @XmlAccessorType(XmlAccessType.FIELD)
74  @XmlType(name = "", propOrder = {
75      "fixedtime"
76  })
77  @XmlRootElement(name = "CONTROL")
78  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
79  public class CONTROL {
80  
81      @XmlElement(name = "FIXEDTIME")
82      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
83      protected List<CONTROL.FIXEDTIME> fixedtime;
84  
85      /**
86       * Gets the value of the fixedtime property.
87       * 
88       * <p>
89       * This accessor method returns a reference to the live list,
90       * not a snapshot. Therefore any modification you make to the
91       * returned list will be present inside the JAXB object.
92       * This is why there is not a <CODE>set</CODE> method for the fixedtime property.
93       * 
94       * <p>
95       * For example, to add a new item, do as follows:
96       * <pre>
97       *    getFIXEDTIME().add(newItem);
98       * </pre>
99       * 
100      * 
101      * <p>
102      * Objects of the following type(s) are allowed in the list
103      * {@link CONTROL.FIXEDTIME }
104      * 
105      * 
106      */
107     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
108     public List<CONTROL.FIXEDTIME> getFIXEDTIME() {
109         if (fixedtime == null) {
110             fixedtime = new ArrayList<CONTROL.FIXEDTIME>();
111         }
112         return this.fixedtime;
113     }
114 
115 
116     /**
117      * <p>Java class for anonymous complex type.
118      * 
119      * <p>The following schema fragment specifies the expected content contained within this class.
120      * 
121      * <pre>
122      * &lt;complexType&gt;
123      *   &lt;complexContent&gt;
124      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
125      *       &lt;sequence&gt;
126      *         &lt;element name="SIGNALGROUP" maxOccurs="unbounded"&gt;
127      *           &lt;complexType&gt;
128      *             &lt;complexContent&gt;
129      *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
130      *                 &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
131      *                 &lt;attribute name="OFFSET" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
132      *                 &lt;attribute name="PREGREEN" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
133      *                 &lt;attribute name="GREEN" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
134      *                 &lt;attribute name="YELLOW" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
135      *               &lt;/restriction&gt;
136      *             &lt;/complexContent&gt;
137      *           &lt;/complexType&gt;
138      *         &lt;/element&gt;
139      *       &lt;/sequence&gt;
140      *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
141      *       &lt;attribute name="CYCLETIME" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
142      *       &lt;attribute name="OFFSET" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
143      *       &lt;attribute name="STARTTIME" type="{http://www.opentrafficsim.org/ots}TIMETYPE" /&gt;
144      *       &lt;attribute name="ENDTIME" type="{http://www.opentrafficsim.org/ots}TIMETYPE" /&gt;
145      *     &lt;/restriction&gt;
146      *   &lt;/complexContent&gt;
147      * &lt;/complexType&gt;
148      * </pre>
149      * 
150      * 
151      */
152     @XmlAccessorType(XmlAccessType.FIELD)
153     @XmlType(name = "", propOrder = {
154         "signalgroup"
155     })
156     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
157     public static class FIXEDTIME {
158 
159         @XmlElement(name = "SIGNALGROUP", required = true)
160         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
161         protected List<CONTROL.FIXEDTIME.SIGNALGROUP> signalgroup;
162         @XmlAttribute(name = "ID", required = true)
163         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
164         protected String id;
165         @XmlAttribute(name = "CYCLETIME", required = true)
166         @XmlJavaTypeAdapter(DurationAdapter.class)
167         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
168         protected Duration cycletime;
169         @XmlAttribute(name = "OFFSET")
170         @XmlJavaTypeAdapter(DurationAdapter.class)
171         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
172         protected Duration offset;
173         @XmlAttribute(name = "STARTTIME")
174         @XmlJavaTypeAdapter(TimeAdapter.class)
175         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
176         protected Time starttime;
177         @XmlAttribute(name = "ENDTIME")
178         @XmlJavaTypeAdapter(TimeAdapter.class)
179         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
180         protected Time endtime;
181 
182         /**
183          * Gets the value of the signalgroup property.
184          * 
185          * <p>
186          * This accessor method returns a reference to the live list,
187          * not a snapshot. Therefore any modification you make to the
188          * returned list will be present inside the JAXB object.
189          * This is why there is not a <CODE>set</CODE> method for the signalgroup property.
190          * 
191          * <p>
192          * For example, to add a new item, do as follows:
193          * <pre>
194          *    getSIGNALGROUP().add(newItem);
195          * </pre>
196          * 
197          * 
198          * <p>
199          * Objects of the following type(s) are allowed in the list
200          * {@link CONTROL.FIXEDTIME.SIGNALGROUP }
201          * 
202          * 
203          */
204         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
205         public List<CONTROL.FIXEDTIME.SIGNALGROUP> getSIGNALGROUP() {
206             if (signalgroup == null) {
207                 signalgroup = new ArrayList<CONTROL.FIXEDTIME.SIGNALGROUP>();
208             }
209             return this.signalgroup;
210         }
211 
212         /**
213          * Gets the value of the id property.
214          * 
215          * @return
216          *     possible object is
217          *     {@link String }
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 String getID() {
222             return id;
223         }
224 
225         /**
226          * Sets the value of the id property.
227          * 
228          * @param value
229          *     allowed object is
230          *     {@link String }
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 void setID(String value) {
235             this.id = value;
236         }
237 
238         /**
239          * Gets the value of the cycletime property.
240          * 
241          * @return
242          *     possible object is
243          *     {@link String }
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 Duration getCYCLETIME() {
248             return cycletime;
249         }
250 
251         /**
252          * Sets the value of the cycletime property.
253          * 
254          * @param value
255          *     allowed object is
256          *     {@link String }
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 void setCYCLETIME(Duration value) {
261             this.cycletime = value;
262         }
263 
264         /**
265          * Gets the value of the offset property.
266          * 
267          * @return
268          *     possible object is
269          *     {@link String }
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 Duration getOFFSET() {
274             return offset;
275         }
276 
277         /**
278          * Sets the value of the offset property.
279          * 
280          * @param value
281          *     allowed object is
282          *     {@link String }
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 void setOFFSET(Duration value) {
287             this.offset = value;
288         }
289 
290         /**
291          * Gets the value of the starttime property.
292          * 
293          * @return
294          *     possible object is
295          *     {@link String }
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 Time getSTARTTIME() {
300             return starttime;
301         }
302 
303         /**
304          * Sets the value of the starttime property.
305          * 
306          * @param value
307          *     allowed object is
308          *     {@link String }
309          *     
310          */
311         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
312         public void setSTARTTIME(Time value) {
313             this.starttime = value;
314         }
315 
316         /**
317          * Gets the value of the endtime property.
318          * 
319          * @return
320          *     possible object is
321          *     {@link String }
322          *     
323          */
324         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
325         public Time getENDTIME() {
326             return endtime;
327         }
328 
329         /**
330          * Sets the value of the endtime property.
331          * 
332          * @param value
333          *     allowed object is
334          *     {@link String }
335          *     
336          */
337         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
338         public void setENDTIME(Time value) {
339             this.endtime = value;
340         }
341 
342 
343         /**
344          * <p>Java class for anonymous complex type.
345          * 
346          * <p>The following schema fragment specifies the expected content contained within this class.
347          * 
348          * <pre>
349          * &lt;complexType&gt;
350          *   &lt;complexContent&gt;
351          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
352          *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
353          *       &lt;attribute name="OFFSET" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
354          *       &lt;attribute name="PREGREEN" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
355          *       &lt;attribute name="GREEN" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
356          *       &lt;attribute name="YELLOW" use="required" type="{http://www.opentrafficsim.org/ots}DURATIONTYPE" /&gt;
357          *     &lt;/restriction&gt;
358          *   &lt;/complexContent&gt;
359          * &lt;/complexType&gt;
360          * </pre>
361          * 
362          * 
363          */
364         @XmlAccessorType(XmlAccessType.FIELD)
365         @XmlType(name = "")
366         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
367         public static class SIGNALGROUP {
368 
369             @XmlAttribute(name = "ID", required = true)
370             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
371             protected String id;
372             @XmlAttribute(name = "OFFSET", required = true)
373             @XmlJavaTypeAdapter(DurationAdapter.class)
374             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
375             protected Duration offset;
376             @XmlAttribute(name = "PREGREEN")
377             @XmlJavaTypeAdapter(DurationAdapter.class)
378             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
379             protected Duration pregreen;
380             @XmlAttribute(name = "GREEN", required = true)
381             @XmlJavaTypeAdapter(DurationAdapter.class)
382             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
383             protected Duration green;
384             @XmlAttribute(name = "YELLOW", required = true)
385             @XmlJavaTypeAdapter(DurationAdapter.class)
386             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
387             protected Duration yellow;
388 
389             /**
390              * Gets the value of the id property.
391              * 
392              * @return
393              *     possible object is
394              *     {@link String }
395              *     
396              */
397             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
398             public String getID() {
399                 return id;
400             }
401 
402             /**
403              * Sets the value of the id property.
404              * 
405              * @param value
406              *     allowed object is
407              *     {@link String }
408              *     
409              */
410             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
411             public void setID(String value) {
412                 this.id = value;
413             }
414 
415             /**
416              * Gets the value of the offset property.
417              * 
418              * @return
419              *     possible object is
420              *     {@link String }
421              *     
422              */
423             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
424             public Duration getOFFSET() {
425                 return offset;
426             }
427 
428             /**
429              * Sets the value of the offset property.
430              * 
431              * @param value
432              *     allowed object is
433              *     {@link String }
434              *     
435              */
436             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
437             public void setOFFSET(Duration value) {
438                 this.offset = value;
439             }
440 
441             /**
442              * Gets the value of the pregreen property.
443              * 
444              * @return
445              *     possible object is
446              *     {@link String }
447              *     
448              */
449             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
450             public Duration getPREGREEN() {
451                 return pregreen;
452             }
453 
454             /**
455              * Sets the value of the pregreen property.
456              * 
457              * @param value
458              *     allowed object is
459              *     {@link String }
460              *     
461              */
462             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
463             public void setPREGREEN(Duration value) {
464                 this.pregreen = value;
465             }
466 
467             /**
468              * Gets the value of the green property.
469              * 
470              * @return
471              *     possible object is
472              *     {@link String }
473              *     
474              */
475             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
476             public Duration getGREEN() {
477                 return green;
478             }
479 
480             /**
481              * Sets the value of the green property.
482              * 
483              * @param value
484              *     allowed object is
485              *     {@link String }
486              *     
487              */
488             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
489             public void setGREEN(Duration value) {
490                 this.green = value;
491             }
492 
493             /**
494              * Gets the value of the yellow property.
495              * 
496              * @return
497              *     possible object is
498              *     {@link String }
499              *     
500              */
501             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
502             public Duration getYELLOW() {
503                 return yellow;
504             }
505 
506             /**
507              * Sets the value of the yellow property.
508              * 
509              * @param value
510              *     allowed object is
511              *     {@link String }
512              *     
513              */
514             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
515             public void setYELLOW(Duration value) {
516                 this.yellow = value;
517             }
518 
519         }
520 
521     }
522 
523 }