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