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.XmlType;
19  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
20  import org.djunits.value.vdouble.scalar.Speed;
21  import org.opentrafficsim.xml.bindings.DrivingDirectionAdapter;
22  import org.opentrafficsim.xml.bindings.SpeedAdapter;
23  import org.opentrafficsim.xml.bindings.types.DrivingDirectionType;
24  
25  
26  /**
27   * <p>Java class for CSELANE complex type.
28   * 
29   * <p>The following schema fragment specifies the expected content contained within this class.
30   * 
31   * <pre>
32   * &lt;complexType name="CSELANE"&gt;
33   *   &lt;complexContent&gt;
34   *     &lt;extension base="{http://www.opentrafficsim.org/ots}CROSSSECTIONELEMENT"&gt;
35   *       &lt;sequence maxOccurs="unbounded" minOccurs="0"&gt;
36   *         &lt;element name="SPEEDLIMIT" 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;attribute name="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
41   *                 &lt;attribute name="LEGALSPEEDLIMIT" type="{http://www.opentrafficsim.org/ots}SPEEDTYPE" /&gt;
42   *               &lt;/restriction&gt;
43   *             &lt;/complexContent&gt;
44   *           &lt;/complexType&gt;
45   *         &lt;/element&gt;
46   *       &lt;/sequence&gt;
47   *       &lt;attribute name="LANETYPE" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
48   *       &lt;attribute name="DIRECTION" use="required" type="{http://www.opentrafficsim.org/ots}DRIVINGDIRECTIONTYPE" /&gt;
49   *       &lt;attribute name="OVERTAKING" type="{http://www.opentrafficsim.org/ots}OVERTAKINGTYPE" /&gt;
50   *     &lt;/extension&gt;
51   *   &lt;/complexContent&gt;
52   * &lt;/complexType&gt;
53   * </pre>
54   * 
55   * 
56   */
57  @XmlAccessorType(XmlAccessType.FIELD)
58  @XmlType(name = "CSELANE", propOrder = {
59      "speedlimit"
60  })
61  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
62  public class CSELANE
63      extends CROSSSECTIONELEMENT
64  {
65  
66      @XmlElement(name = "SPEEDLIMIT")
67      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
68      protected List<CSELANE.SPEEDLIMIT> speedlimit;
69      @XmlAttribute(name = "LANETYPE")
70      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
71      protected String lanetype;
72      @XmlAttribute(name = "DIRECTION", required = true)
73      @XmlJavaTypeAdapter(DrivingDirectionAdapter.class)
74      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
75      protected DrivingDirectionType direction;
76      @XmlAttribute(name = "OVERTAKING")
77      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
78      protected String overtaking;
79  
80      /**
81       * Gets the value of the speedlimit property.
82       * 
83       * <p>
84       * This accessor method returns a reference to the live list,
85       * not a snapshot. Therefore any modification you make to the
86       * returned list will be present inside the JAXB object.
87       * This is why there is not a <CODE>set</CODE> method for the speedlimit property.
88       * 
89       * <p>
90       * For example, to add a new item, do as follows:
91       * <pre>
92       *    getSPEEDLIMIT().add(newItem);
93       * </pre>
94       * 
95       * 
96       * <p>
97       * Objects of the following type(s) are allowed in the list
98       * {@link CSELANE.SPEEDLIMIT }
99       * 
100      * 
101      */
102     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
103     public List<CSELANE.SPEEDLIMIT> getSPEEDLIMIT() {
104         if (speedlimit == null) {
105             speedlimit = new ArrayList<CSELANE.SPEEDLIMIT>();
106         }
107         return this.speedlimit;
108     }
109 
110     /**
111      * Gets the value of the lanetype property.
112      * 
113      * @return
114      *     possible object is
115      *     {@link String }
116      *     
117      */
118     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
119     public String getLANETYPE() {
120         return lanetype;
121     }
122 
123     /**
124      * Sets the value of the lanetype property.
125      * 
126      * @param value
127      *     allowed object is
128      *     {@link String }
129      *     
130      */
131     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
132     public void setLANETYPE(String value) {
133         this.lanetype = value;
134     }
135 
136     /**
137      * Gets the value of the direction property.
138      * 
139      * @return
140      *     possible object is
141      *     {@link String }
142      *     
143      */
144     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
145     public DrivingDirectionType getDIRECTION() {
146         return direction;
147     }
148 
149     /**
150      * Sets the value of the direction property.
151      * 
152      * @param value
153      *     allowed object is
154      *     {@link String }
155      *     
156      */
157     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
158     public void setDIRECTION(DrivingDirectionType value) {
159         this.direction = value;
160     }
161 
162     /**
163      * Gets the value of the overtaking property.
164      * 
165      * @return
166      *     possible object is
167      *     {@link String }
168      *     
169      */
170     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
171     public String getOVERTAKING() {
172         return overtaking;
173     }
174 
175     /**
176      * Sets the value of the overtaking property.
177      * 
178      * @param value
179      *     allowed object is
180      *     {@link String }
181      *     
182      */
183     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
184     public void setOVERTAKING(String value) {
185         this.overtaking = value;
186     }
187 
188 
189     /**
190      * <p>Java class for anonymous complex type.
191      * 
192      * <p>The following schema fragment specifies the expected content contained within this class.
193      * 
194      * <pre>
195      * &lt;complexType&gt;
196      *   &lt;complexContent&gt;
197      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
198      *       &lt;attribute name="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
199      *       &lt;attribute name="LEGALSPEEDLIMIT" type="{http://www.opentrafficsim.org/ots}SPEEDTYPE" /&gt;
200      *     &lt;/restriction&gt;
201      *   &lt;/complexContent&gt;
202      * &lt;/complexType&gt;
203      * </pre>
204      * 
205      * 
206      */
207     @XmlAccessorType(XmlAccessType.FIELD)
208     @XmlType(name = "")
209     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
210     public static class SPEEDLIMIT {
211 
212         @XmlAttribute(name = "GTUTYPE", required = true)
213         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
214         protected String gtutype;
215         @XmlAttribute(name = "LEGALSPEEDLIMIT")
216         @XmlJavaTypeAdapter(SpeedAdapter.class)
217         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
218         protected Speed legalspeedlimit;
219 
220         /**
221          * Gets the value of the gtutype property.
222          * 
223          * @return
224          *     possible object is
225          *     {@link String }
226          *     
227          */
228         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
229         public String getGTUTYPE() {
230             return gtutype;
231         }
232 
233         /**
234          * Sets the value of the gtutype property.
235          * 
236          * @param value
237          *     allowed object is
238          *     {@link String }
239          *     
240          */
241         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
242         public void setGTUTYPE(String value) {
243             this.gtutype = value;
244         }
245 
246         /**
247          * Gets the value of the legalspeedlimit property.
248          * 
249          * @return
250          *     possible object is
251          *     {@link String }
252          *     
253          */
254         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
255         public Speed getLEGALSPEEDLIMIT() {
256             return legalspeedlimit;
257         }
258 
259         /**
260          * Sets the value of the legalspeedlimit property.
261          * 
262          * @param value
263          *     allowed object is
264          *     {@link String }
265          *     
266          */
267         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
268         public void setLEGALSPEEDLIMIT(Speed value) {
269             this.legalspeedlimit = value;
270         }
271 
272     }
273 
274 }