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