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.XmlSeeAlso;
20  import javax.xml.bind.annotation.XmlType;
21  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
22  import org.djunits.value.vdouble.scalar.Time;
23  import org.opentrafficsim.xml.bindings.TimeAdapter;
24  
25  
26  /**
27   * <p>Java class for CONTROLTYPE complex type.
28   * 
29   * <p>The following schema fragment specifies the expected content contained within this class.
30   * 
31   * <pre>
32   * &lt;complexType name="CONTROLTYPE"&gt;
33   *   &lt;complexContent&gt;
34   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
35   *       &lt;sequence&gt;
36   *         &lt;element name="SIGNALGROUP" maxOccurs="unbounded"&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="TRAFFICLIGHT" maxOccurs="unbounded"&gt;
42   *                     &lt;complexType&gt;
43   *                       &lt;complexContent&gt;
44   *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
45   *                           &lt;attribute name="LINK" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
46   *                           &lt;attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
47   *                           &lt;attribute name="TRAFFICLIGHTID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
48   *                         &lt;/restriction&gt;
49   *                       &lt;/complexContent&gt;
50   *                     &lt;/complexType&gt;
51   *                   &lt;/element&gt;
52   *                 &lt;/sequence&gt;
53   *                 &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
54   *               &lt;/restriction&gt;
55   *             &lt;/complexContent&gt;
56   *           &lt;/complexType&gt;
57   *         &lt;/element&gt;
58   *       &lt;/sequence&gt;
59   *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
60   *       &lt;attribute name="STARTTIME" type="{http://www.opentrafficsim.org/ots}TIMETYPE" /&gt;
61   *       &lt;attribute name="ENDTIME" type="{http://www.opentrafficsim.org/ots}TIMETYPE" /&gt;
62   *     &lt;/restriction&gt;
63   *   &lt;/complexContent&gt;
64   * &lt;/complexType&gt;
65   * </pre>
66   * 
67   * 
68   */
69  @XmlAccessorType(XmlAccessType.FIELD)
70  @XmlType(name = "CONTROLTYPE", propOrder = {
71      "signalgroup"
72  })
73  @XmlSeeAlso({
74      org.opentrafficsim.xml.generated.CONTROL.FIXEDTIME.class,
75      RESPONSIVECONTROLTYPE.class
76  })
77  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
78  public class CONTROLTYPE
79      implements Serializable
80  {
81  
82      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
83      private final static long serialVersionUID = 10102L;
84      @XmlElement(name = "SIGNALGROUP", required = true)
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<CONTROLTYPE.SIGNALGROUP> signalgroup;
87      @XmlAttribute(name = "ID", required = true)
88      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
89      protected String id;
90      @XmlAttribute(name = "STARTTIME")
91      @XmlJavaTypeAdapter(TimeAdapter.class)
92      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
93      protected Time starttime;
94      @XmlAttribute(name = "ENDTIME")
95      @XmlJavaTypeAdapter(TimeAdapter.class)
96      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
97      protected Time endtime;
98  
99      /**
100      * Gets the value of the signalgroup property.
101      * 
102      * <p>
103      * This accessor method returns a reference to the live list,
104      * not a snapshot. Therefore any modification you make to the
105      * returned list will be present inside the JAXB object.
106      * This is why there is not a <CODE>set</CODE> method for the signalgroup property.
107      * 
108      * <p>
109      * For example, to add a new item, do as follows:
110      * <pre>
111      *    getSIGNALGROUP().add(newItem);
112      * </pre>
113      * 
114      * 
115      * <p>
116      * Objects of the following type(s) are allowed in the list
117      * {@link CONTROLTYPE.SIGNALGROUP }
118      * 
119      * 
120      */
121     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
122     public List<CONTROLTYPE.SIGNALGROUP> getSIGNALGROUP() {
123         if (signalgroup == null) {
124             signalgroup = new ArrayList<CONTROLTYPE.SIGNALGROUP>();
125         }
126         return this.signalgroup;
127     }
128 
129     /**
130      * Gets the value of the id property.
131      * 
132      * @return
133      *     possible object is
134      *     {@link String }
135      *     
136      */
137     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
138     public String getID() {
139         return id;
140     }
141 
142     /**
143      * Sets the value of the id property.
144      * 
145      * @param value
146      *     allowed object is
147      *     {@link String }
148      *     
149      */
150     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
151     public void setID(String value) {
152         this.id = value;
153     }
154 
155     /**
156      * Gets the value of the starttime property.
157      * 
158      * @return
159      *     possible object is
160      *     {@link String }
161      *     
162      */
163     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
164     public Time getSTARTTIME() {
165         return starttime;
166     }
167 
168     /**
169      * Sets the value of the starttime property.
170      * 
171      * @param value
172      *     allowed object is
173      *     {@link String }
174      *     
175      */
176     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
177     public void setSTARTTIME(Time value) {
178         this.starttime = value;
179     }
180 
181     /**
182      * Gets the value of the endtime property.
183      * 
184      * @return
185      *     possible object is
186      *     {@link String }
187      *     
188      */
189     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
190     public Time getENDTIME() {
191         return endtime;
192     }
193 
194     /**
195      * Sets the value of the endtime property.
196      * 
197      * @param value
198      *     allowed object is
199      *     {@link String }
200      *     
201      */
202     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
203     public void setENDTIME(Time value) {
204         this.endtime = value;
205     }
206 
207 
208     /**
209      * <p>Java class for anonymous complex type.
210      * 
211      * <p>The following schema fragment specifies the expected content contained within this class.
212      * 
213      * <pre>
214      * &lt;complexType&gt;
215      *   &lt;complexContent&gt;
216      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
217      *       &lt;sequence&gt;
218      *         &lt;element name="TRAFFICLIGHT" maxOccurs="unbounded"&gt;
219      *           &lt;complexType&gt;
220      *             &lt;complexContent&gt;
221      *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
222      *                 &lt;attribute name="LINK" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
223      *                 &lt;attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
224      *                 &lt;attribute name="TRAFFICLIGHTID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
225      *               &lt;/restriction&gt;
226      *             &lt;/complexContent&gt;
227      *           &lt;/complexType&gt;
228      *         &lt;/element&gt;
229      *       &lt;/sequence&gt;
230      *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
231      *     &lt;/restriction&gt;
232      *   &lt;/complexContent&gt;
233      * &lt;/complexType&gt;
234      * </pre>
235      * 
236      * 
237      */
238     @XmlAccessorType(XmlAccessType.FIELD)
239     @XmlType(name = "", propOrder = {
240         "trafficlight"
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 static class SIGNALGROUP
244         implements Serializable
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         private final static long serialVersionUID = 10102L;
249         @XmlElement(name = "TRAFFICLIGHT", required = true)
250         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
251         protected List<CONTROLTYPE.SIGNALGROUP.TRAFFICLIGHT> trafficlight;
252         @XmlAttribute(name = "ID", required = true)
253         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
254         protected String id;
255 
256         /**
257          * Gets the value of the trafficlight property.
258          * 
259          * <p>
260          * This accessor method returns a reference to the live list,
261          * not a snapshot. Therefore any modification you make to the
262          * returned list will be present inside the JAXB object.
263          * This is why there is not a <CODE>set</CODE> method for the trafficlight property.
264          * 
265          * <p>
266          * For example, to add a new item, do as follows:
267          * <pre>
268          *    getTRAFFICLIGHT().add(newItem);
269          * </pre>
270          * 
271          * 
272          * <p>
273          * Objects of the following type(s) are allowed in the list
274          * {@link CONTROLTYPE.SIGNALGROUP.TRAFFICLIGHT }
275          * 
276          * 
277          */
278         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
279         public List<CONTROLTYPE.SIGNALGROUP.TRAFFICLIGHT> getTRAFFICLIGHT() {
280             if (trafficlight == null) {
281                 trafficlight = new ArrayList<CONTROLTYPE.SIGNALGROUP.TRAFFICLIGHT>();
282             }
283             return this.trafficlight;
284         }
285 
286         /**
287          * Gets the value of the id property.
288          * 
289          * @return
290          *     possible object is
291          *     {@link String }
292          *     
293          */
294         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
295         public String getID() {
296             return id;
297         }
298 
299         /**
300          * Sets the value of the id 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 setID(String value) {
309             this.id = value;
310         }
311 
312 
313         /**
314          * <p>Java class for anonymous complex type.
315          * 
316          * <p>The following schema fragment specifies the expected content contained within this class.
317          * 
318          * <pre>
319          * &lt;complexType&gt;
320          *   &lt;complexContent&gt;
321          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
322          *       &lt;attribute name="LINK" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
323          *       &lt;attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
324          *       &lt;attribute name="TRAFFICLIGHTID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
325          *     &lt;/restriction&gt;
326          *   &lt;/complexContent&gt;
327          * &lt;/complexType&gt;
328          * </pre>
329          * 
330          * 
331          */
332         @XmlAccessorType(XmlAccessType.FIELD)
333         @XmlType(name = "")
334         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
335         public static class TRAFFICLIGHT
336             implements Serializable
337         {
338 
339             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
340             private final static long serialVersionUID = 10102L;
341             @XmlAttribute(name = "LINK", required = true)
342             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
343             protected String link;
344             @XmlAttribute(name = "LANE", required = true)
345             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
346             protected String lane;
347             @XmlAttribute(name = "TRAFFICLIGHTID", required = true)
348             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
349             protected String trafficlightid;
350 
351             /**
352              * Gets the value of the link property.
353              * 
354              * @return
355              *     possible 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 String getLINK() {
361                 return link;
362             }
363 
364             /**
365              * Sets the value of the link property.
366              * 
367              * @param value
368              *     allowed object is
369              *     {@link String }
370              *     
371              */
372             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
373             public void setLINK(String value) {
374                 this.link = value;
375             }
376 
377             /**
378              * Gets the value of the lane property.
379              * 
380              * @return
381              *     possible object is
382              *     {@link String }
383              *     
384              */
385             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
386             public String getLANE() {
387                 return lane;
388             }
389 
390             /**
391              * Sets the value of the lane property.
392              * 
393              * @param value
394              *     allowed object is
395              *     {@link String }
396              *     
397              */
398             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
399             public void setLANE(String value) {
400                 this.lane = value;
401             }
402 
403             /**
404              * Gets the value of the trafficlightid property.
405              * 
406              * @return
407              *     possible object is
408              *     {@link String }
409              *     
410              */
411             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
412             public String getTRAFFICLIGHTID() {
413                 return trafficlightid;
414             }
415 
416             /**
417              * Sets the value of the trafficlightid property.
418              * 
419              * @param value
420              *     allowed object is
421              *     {@link String }
422              *     
423              */
424             @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
425             public void setTRAFFICLIGHTID(String value) {
426                 this.trafficlightid = value;
427             }
428 
429         }
430 
431     }
432 
433 }