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.XmlElements;
19 import javax.xml.bind.annotation.XmlRootElement;
20 import javax.xml.bind.annotation.XmlSchemaType;
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.djunits.value.vdouble.scalar.Speed;
25 import org.opentrafficsim.xml.bindings.LaneKeepingAdapter;
26 import org.opentrafficsim.xml.bindings.LengthAdapter;
27 import org.opentrafficsim.xml.bindings.SpeedAdapter;
28 import org.opentrafficsim.xml.bindings.types.LaneKeepingType;
29
30
31 /**
32 * <p>Java class for anonymous complex type.
33 *
34 * <p>The following schema fragment specifies the expected content contained within this class.
35 *
36 * <pre>
37 * <complexType>
38 * <complexContent>
39 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
40 * <sequence>
41 * <element name="SPEEDLIMIT" maxOccurs="unbounded" minOccurs="0">
42 * <complexType>
43 * <complexContent>
44 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
45 * <attribute name="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
46 * <attribute name="LEGALSPEEDLIMIT" type="{http://www.opentrafficsim.org/ots}SPEEDTYPE" />
47 * </restriction>
48 * </complexContent>
49 * </complexType>
50 * </element>
51 * <choice maxOccurs="unbounded">
52 * <element name="LANE" type="{http://www.opentrafficsim.org/ots}CSELANE" maxOccurs="unbounded" minOccurs="0"/>
53 * <element name="NOTRAFFICLANE" type="{http://www.opentrafficsim.org/ots}CSENOTRAFFICLANE" maxOccurs="unbounded" minOccurs="0"/>
54 * <element name="SHOULDER" type="{http://www.opentrafficsim.org/ots}CSESHOULDER" maxOccurs="unbounded" minOccurs="0"/>
55 * <element name="STRIPE" type="{http://www.opentrafficsim.org/ots}CSESTRIPE" maxOccurs="unbounded" minOccurs="0"/>
56 * </choice>
57 * </sequence>
58 * <attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
59 * <attribute name="ROADTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
60 * <attribute name="WIDTH" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
61 * <attribute name="LANEKEEPING" type="{http://www.opentrafficsim.org/ots}LANEKEEPINGTYPE" />
62 * <attribute name="OVERTAKING" type="{http://www.opentrafficsim.org/ots}OVERTAKINGTYPE" />
63 * <attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
64 * </restriction>
65 * </complexContent>
66 * </complexType>
67 * </pre>
68 *
69 *
70 */
71 @XmlAccessorType(XmlAccessType.FIELD)
72 @XmlType(name = "", propOrder = {
73 "speedlimit",
74 "laneOrNOTRAFFICLANEOrSHOULDER"
75 })
76 @XmlRootElement(name = "ROADLAYOUT")
77 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
78 public class ROADLAYOUT {
79
80 @XmlElement(name = "SPEEDLIMIT")
81 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
82 protected List<ROADLAYOUT.SPEEDLIMIT> speedlimit;
83 @XmlElements({
84 @XmlElement(name = "LANE", type = CSELANE.class),
85 @XmlElement(name = "NOTRAFFICLANE", type = CSENOTRAFFICLANE.class),
86 @XmlElement(name = "SHOULDER", type = CSESHOULDER.class),
87 @XmlElement(name = "STRIPE", type = CSESTRIPE.class)
88 })
89 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
90 protected List<CROSSSECTIONELEMENT> laneOrNOTRAFFICLANEOrSHOULDER;
91 @XmlAttribute(name = "NAME", required = true)
92 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
93 protected String name;
94 @XmlAttribute(name = "ROADTYPE", required = true)
95 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
96 protected String roadtype;
97 @XmlAttribute(name = "WIDTH")
98 @XmlJavaTypeAdapter(LengthAdapter.class)
99 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
100 protected Length width;
101 @XmlAttribute(name = "LANEKEEPING")
102 @XmlJavaTypeAdapter(LaneKeepingAdapter.class)
103 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
104 protected LaneKeepingType lanekeeping;
105 @XmlAttribute(name = "OVERTAKING")
106 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
107 protected String overtaking;
108 @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
109 @XmlSchemaType(name = "anyURI")
110 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
111 protected String base;
112
113 /**
114 * Gets the value of the speedlimit property.
115 *
116 * <p>
117 * This accessor method returns a reference to the live list,
118 * not a snapshot. Therefore any modification you make to the
119 * returned list will be present inside the JAXB object.
120 * This is why there is not a <CODE>set</CODE> method for the speedlimit property.
121 *
122 * <p>
123 * For example, to add a new item, do as follows:
124 * <pre>
125 * getSPEEDLIMIT().add(newItem);
126 * </pre>
127 *
128 *
129 * <p>
130 * Objects of the following type(s) are allowed in the list
131 * {@link ROADLAYOUT.SPEEDLIMIT }
132 *
133 *
134 */
135 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
136 public List<ROADLAYOUT.SPEEDLIMIT> getSPEEDLIMIT() {
137 if (speedlimit == null) {
138 speedlimit = new ArrayList<ROADLAYOUT.SPEEDLIMIT>();
139 }
140 return this.speedlimit;
141 }
142
143 /**
144 * Gets the value of the laneOrNOTRAFFICLANEOrSHOULDER property.
145 *
146 * <p>
147 * This accessor method returns a reference to the live list,
148 * not a snapshot. Therefore any modification you make to the
149 * returned list will be present inside the JAXB object.
150 * This is why there is not a <CODE>set</CODE> method for the laneOrNOTRAFFICLANEOrSHOULDER property.
151 *
152 * <p>
153 * For example, to add a new item, do as follows:
154 * <pre>
155 * getLANEOrNOTRAFFICLANEOrSHOULDER().add(newItem);
156 * </pre>
157 *
158 *
159 * <p>
160 * Objects of the following type(s) are allowed in the list
161 * {@link CSELANE }
162 * {@link CSENOTRAFFICLANE }
163 * {@link CSESHOULDER }
164 * {@link CSESTRIPE }
165 *
166 *
167 */
168 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
169 public List<CROSSSECTIONELEMENT> getLANEOrNOTRAFFICLANEOrSHOULDER() {
170 if (laneOrNOTRAFFICLANEOrSHOULDER == null) {
171 laneOrNOTRAFFICLANEOrSHOULDER = new ArrayList<CROSSSECTIONELEMENT>();
172 }
173 return this.laneOrNOTRAFFICLANEOrSHOULDER;
174 }
175
176 /**
177 * Gets the value of the name property.
178 *
179 * @return
180 * possible object is
181 * {@link String }
182 *
183 */
184 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
185 public String getNAME() {
186 return name;
187 }
188
189 /**
190 * Sets the value of the name property.
191 *
192 * @param value
193 * allowed object is
194 * {@link String }
195 *
196 */
197 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
198 public void setNAME(String value) {
199 this.name = value;
200 }
201
202 /**
203 * Gets the value of the roadtype property.
204 *
205 * @return
206 * possible object is
207 * {@link String }
208 *
209 */
210 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
211 public String getROADTYPE() {
212 return roadtype;
213 }
214
215 /**
216 * Sets the value of the roadtype property.
217 *
218 * @param value
219 * allowed object is
220 * {@link String }
221 *
222 */
223 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
224 public void setROADTYPE(String value) {
225 this.roadtype = value;
226 }
227
228 /**
229 * Gets the value of the width property.
230 *
231 * @return
232 * possible object is
233 * {@link String }
234 *
235 */
236 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
237 public Length getWIDTH() {
238 return width;
239 }
240
241 /**
242 * Sets the value of the width property.
243 *
244 * @param value
245 * allowed object is
246 * {@link String }
247 *
248 */
249 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
250 public void setWIDTH(Length value) {
251 this.width = value;
252 }
253
254 /**
255 * Gets the value of the lanekeeping property.
256 *
257 * @return
258 * possible object is
259 * {@link String }
260 *
261 */
262 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
263 public LaneKeepingType getLANEKEEPING() {
264 return lanekeeping;
265 }
266
267 /**
268 * Sets the value of the lanekeeping property.
269 *
270 * @param value
271 * allowed object is
272 * {@link String }
273 *
274 */
275 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
276 public void setLANEKEEPING(LaneKeepingType value) {
277 this.lanekeeping = value;
278 }
279
280 /**
281 * Gets the value of the overtaking property.
282 *
283 * @return
284 * possible object is
285 * {@link String }
286 *
287 */
288 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
289 public String getOVERTAKING() {
290 return overtaking;
291 }
292
293 /**
294 * Sets the value of the overtaking property.
295 *
296 * @param value
297 * allowed object is
298 * {@link String }
299 *
300 */
301 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
302 public void setOVERTAKING(String value) {
303 this.overtaking = value;
304 }
305
306 /**
307 * Gets the value of the base property.
308 *
309 * @return
310 * possible object is
311 * {@link String }
312 *
313 */
314 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
315 public String getBase() {
316 return base;
317 }
318
319 /**
320 * Sets the value of the base property.
321 *
322 * @param value
323 * allowed object is
324 * {@link String }
325 *
326 */
327 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
328 public void setBase(String value) {
329 this.base = value;
330 }
331
332
333 /**
334 * <p>Java class for anonymous complex type.
335 *
336 * <p>The following schema fragment specifies the expected content contained within this class.
337 *
338 * <pre>
339 * <complexType>
340 * <complexContent>
341 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
342 * <attribute name="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
343 * <attribute name="LEGALSPEEDLIMIT" type="{http://www.opentrafficsim.org/ots}SPEEDTYPE" />
344 * </restriction>
345 * </complexContent>
346 * </complexType>
347 * </pre>
348 *
349 *
350 */
351 @XmlAccessorType(XmlAccessType.FIELD)
352 @XmlType(name = "")
353 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
354 public static class SPEEDLIMIT {
355
356 @XmlAttribute(name = "GTUTYPE", required = true)
357 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
358 protected String gtutype;
359 @XmlAttribute(name = "LEGALSPEEDLIMIT")
360 @XmlJavaTypeAdapter(SpeedAdapter.class)
361 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
362 protected Speed legalspeedlimit;
363
364 /**
365 * Gets the value of the gtutype property.
366 *
367 * @return
368 * possible object is
369 * {@link String }
370 *
371 */
372 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
373 public String getGTUTYPE() {
374 return gtutype;
375 }
376
377 /**
378 * Sets the value of the gtutype property.
379 *
380 * @param value
381 * allowed object is
382 * {@link String }
383 *
384 */
385 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
386 public void setGTUTYPE(String value) {
387 this.gtutype = value;
388 }
389
390 /**
391 * Gets the value of the legalspeedlimit property.
392 *
393 * @return
394 * possible object is
395 * {@link String }
396 *
397 */
398 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
399 public Speed getLEGALSPEEDLIMIT() {
400 return legalspeedlimit;
401 }
402
403 /**
404 * Sets the value of the legalspeedlimit property.
405 *
406 * @param value
407 * allowed object is
408 * {@link String }
409 *
410 */
411 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
412 public void setLEGALSPEEDLIMIT(Speed value) {
413 this.legalspeedlimit = value;
414 }
415
416 }
417
418 }