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 javax.annotation.Generated;
13  import javax.xml.bind.annotation.XmlAccessType;
14  import javax.xml.bind.annotation.XmlAccessorType;
15  import javax.xml.bind.annotation.XmlAttribute;
16  import javax.xml.bind.annotation.XmlType;
17  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
18  import org.djunits.value.vdouble.scalar.Length;
19  import org.opentrafficsim.xml.bindings.ClassNameAdapter;
20  import org.opentrafficsim.xml.bindings.LengthAdapter;
21  import org.opentrafficsim.xml.bindings.LengthBeginEndAdapter;
22  import org.opentrafficsim.xml.bindings.types.LengthBeginEnd;
23  
24  
25  /**
26   * <p>Java class for TRAFFICLIGHTSENSORTYPE complex type.
27   * 
28   * <p>The following schema fragment specifies the expected content contained within this class.
29   * 
30   * <pre>
31   * &lt;complexType name="TRAFFICLIGHTSENSORTYPE"&gt;
32   *   &lt;complexContent&gt;
33   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
34   *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
35   *       &lt;attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
36   *       &lt;attribute name="POSITION" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHBEGINENDTYPE" /&gt;
37   *       &lt;attribute name="LENGTH" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" /&gt;
38   *       &lt;attribute name="CLASS" use="required" type="{http://www.opentrafficsim.org/ots}CLASSNAMETYPE" /&gt;
39   *     &lt;/restriction&gt;
40   *   &lt;/complexContent&gt;
41   * &lt;/complexType&gt;
42   * </pre>
43   * 
44   * 
45   */
46  @XmlAccessorType(XmlAccessType.FIELD)
47  @XmlType(name = "TRAFFICLIGHTSENSORTYPE")
48  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
49  public class TRAFFICLIGHTSENSORTYPE
50      implements Serializable
51  {
52  
53      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
54      private final static long serialVersionUID = 10102L;
55      @XmlAttribute(name = "ID", required = true)
56      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
57      protected String id;
58      @XmlAttribute(name = "LANE", required = true)
59      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
60      protected String lane;
61      @XmlAttribute(name = "POSITION", required = true)
62      @XmlJavaTypeAdapter(LengthBeginEndAdapter.class)
63      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
64      protected LengthBeginEnd position;
65      @XmlAttribute(name = "LENGTH", required = true)
66      @XmlJavaTypeAdapter(LengthAdapter.class)
67      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
68      protected Length length;
69      @XmlAttribute(name = "CLASS", required = true)
70      @XmlJavaTypeAdapter(ClassNameAdapter.class)
71      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
72      protected Class _class;
73  
74      /**
75       * Gets the value of the id property.
76       * 
77       * @return
78       *     possible object is
79       *     {@link String }
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      public String getID() {
84          return id;
85      }
86  
87      /**
88       * Sets the value of the id property.
89       * 
90       * @param value
91       *     allowed object is
92       *     {@link String }
93       *     
94       */
95      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
96      public void setID(String value) {
97          this.id = value;
98      }
99  
100     /**
101      * Gets the value of the lane property.
102      * 
103      * @return
104      *     possible object is
105      *     {@link String }
106      *     
107      */
108     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
109     public String getLANE() {
110         return lane;
111     }
112 
113     /**
114      * Sets the value of the lane property.
115      * 
116      * @param value
117      *     allowed object is
118      *     {@link String }
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 void setLANE(String value) {
123         this.lane = value;
124     }
125 
126     /**
127      * Gets the value of the position property.
128      * 
129      * @return
130      *     possible object is
131      *     {@link String }
132      *     
133      */
134     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
135     public LengthBeginEnd getPOSITION() {
136         return position;
137     }
138 
139     /**
140      * Sets the value of the position property.
141      * 
142      * @param value
143      *     allowed object is
144      *     {@link String }
145      *     
146      */
147     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
148     public void setPOSITION(LengthBeginEnd value) {
149         this.position = value;
150     }
151 
152     /**
153      * Gets the value of the length property.
154      * 
155      * @return
156      *     possible object is
157      *     {@link String }
158      *     
159      */
160     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
161     public Length getLENGTH() {
162         return length;
163     }
164 
165     /**
166      * Sets the value of the length property.
167      * 
168      * @param value
169      *     allowed object is
170      *     {@link String }
171      *     
172      */
173     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
174     public void setLENGTH(Length value) {
175         this.length = value;
176     }
177 
178     /**
179      * Gets the value of the class property.
180      * 
181      * @return
182      *     possible object is
183      *     {@link String }
184      *     
185      */
186     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
187     public Class getCLASS() {
188         return _class;
189     }
190 
191     /**
192      * Sets the value of the class property.
193      * 
194      * @param value
195      *     allowed object is
196      *     {@link String }
197      *     
198      */
199     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
200     public void setCLASS(Class value) {
201         this._class = value;
202     }
203 
204 }