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