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  
21  
22  /**
23   * <p>Java class for anonymous complex type.
24   * 
25   * <p>The following schema fragment specifies the expected content contained within this class.
26   * 
27   * <pre>
28   * &lt;complexType&gt;
29   *   &lt;complexContent&gt;
30   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
31   *       &lt;sequence&gt;
32   *         &lt;element name="TRAFFICLIGHT" type="{http://www.opentrafficsim.org/ots}SIGNALGROUPTRAFFICLIGHTTYPE" maxOccurs="unbounded"/&gt;
33   *       &lt;/sequence&gt;
34   *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
35   *     &lt;/restriction&gt;
36   *   &lt;/complexContent&gt;
37   * &lt;/complexType&gt;
38   * </pre>
39   * 
40   * 
41   */
42  @XmlAccessorType(XmlAccessType.FIELD)
43  @XmlType(name = "", propOrder = {
44      "trafficlight"
45  })
46  @XmlRootElement(name = "SIGNALGROUP")
47  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
48  public class SIGNALGROUP {
49  
50      @XmlElement(name = "TRAFFICLIGHT", required = true)
51      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
52      protected List<SIGNALGROUPTRAFFICLIGHTTYPE> trafficlight;
53      @XmlAttribute(name = "ID", required = true)
54      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
55      protected String id;
56  
57      /**
58       * Gets the value of the trafficlight property.
59       * 
60       * <p>
61       * This accessor method returns a reference to the live list,
62       * not a snapshot. Therefore any modification you make to the
63       * returned list will be present inside the JAXB object.
64       * This is why there is not a <CODE>set</CODE> method for the trafficlight property.
65       * 
66       * <p>
67       * For example, to add a new item, do as follows:
68       * <pre>
69       *    getTRAFFICLIGHT().add(newItem);
70       * </pre>
71       * 
72       * 
73       * <p>
74       * Objects of the following type(s) are allowed in the list
75       * {@link SIGNALGROUPTRAFFICLIGHTTYPE }
76       * 
77       * 
78       */
79      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
80      public List<SIGNALGROUPTRAFFICLIGHTTYPE> getTRAFFICLIGHT() {
81          if (trafficlight == null) {
82              trafficlight = new ArrayList<SIGNALGROUPTRAFFICLIGHTTYPE>();
83          }
84          return this.trafficlight;
85      }
86  
87      /**
88       * Gets the value of the id property.
89       * 
90       * @return
91       *     possible object is
92       *     {@link String }
93       *     
94       */
95      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
96      public String getID() {
97          return id;
98      }
99  
100     /**
101      * Sets the value of the id property.
102      * 
103      * @param value
104      *     allowed object is
105      *     {@link String }
106      *     
107      */
108     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
109     public void setID(String value) {
110         this.id = value;
111     }
112 
113 }