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.XmlRootElement;
20 import javax.xml.bind.annotation.XmlSchemaType;
21 import javax.xml.bind.annotation.XmlType;
22
23
24 /**
25 * <p>Java class for anonymous complex type.
26 *
27 * <p>The following schema fragment specifies the expected content contained within this class.
28 *
29 * <pre>
30 * <complexType>
31 * <complexContent>
32 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33 * <sequence>
34 * <element name="FROM">
35 * <complexType>
36 * <complexContent>
37 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
38 * <attribute name="NODE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
39 * </restriction>
40 * </complexContent>
41 * </complexType>
42 * </element>
43 * <element name="TO">
44 * <complexType>
45 * <complexContent>
46 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
47 * <attribute name="NODE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
48 * </restriction>
49 * </complexContent>
50 * </complexType>
51 * </element>
52 * <element name="VIA" maxOccurs="unbounded" minOccurs="0">
53 * <complexType>
54 * <complexContent>
55 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
56 * <attribute name="NODE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
57 * </restriction>
58 * </complexContent>
59 * </complexType>
60 * </element>
61 * <element name="DISTANCECOST" type="{http://www.opentrafficsim.org/ots}DISTANCECOSTTYPE"/>
62 * <element name="TIMECOST" type="{http://www.opentrafficsim.org/ots}TIMECOSTTYPE"/>
63 * </sequence>
64 * <attribute name="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
65 * <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
66 * <attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
67 * </restriction>
68 * </complexContent>
69 * </complexType>
70 * </pre>
71 *
72 *
73 */
74 @XmlAccessorType(XmlAccessType.FIELD)
75 @XmlType(name = "", propOrder = {
76 "from",
77 "to",
78 "via",
79 "distancecost",
80 "timecost"
81 })
82 @XmlRootElement(name = "SHORTESTROUTE")
83 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
84 public class SHORTESTROUTE
85 implements Serializable
86 {
87
88 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
89 private final static long serialVersionUID = 10102L;
90 @XmlElement(name = "FROM", required = true)
91 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
92 protected SHORTESTROUTE.FROM from;
93 @XmlElement(name = "TO", required = true)
94 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
95 protected SHORTESTROUTE.TO to;
96 @XmlElement(name = "VIA")
97 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
98 protected List<SHORTESTROUTE.VIA> via;
99 @XmlElement(name = "DISTANCECOST", required = true)
100 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
101 protected String distancecost;
102 @XmlElement(name = "TIMECOST", required = true)
103 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
104 protected String timecost;
105 @XmlAttribute(name = "GTUTYPE", required = true)
106 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
107 protected String gtutype;
108 @XmlAttribute(name = "ID", required = true)
109 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
110 protected String id;
111 @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
112 @XmlSchemaType(name = "anyURI")
113 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
114 protected String base;
115
116 /**
117 * Gets the value of the from property.
118 *
119 * @return
120 * possible object is
121 * {@link SHORTESTROUTE.FROM }
122 *
123 */
124 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
125 public SHORTESTROUTE.FROM getFROM() {
126 return from;
127 }
128
129 /**
130 * Sets the value of the from property.
131 *
132 * @param value
133 * allowed object is
134 * {@link SHORTESTROUTE.FROM }
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 void setFROM(SHORTESTROUTE.FROM value) {
139 this.from = value;
140 }
141
142 /**
143 * Gets the value of the to property.
144 *
145 * @return
146 * possible object is
147 * {@link SHORTESTROUTE.TO }
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 SHORTESTROUTE.TO getTO() {
152 return to;
153 }
154
155 /**
156 * Sets the value of the to property.
157 *
158 * @param value
159 * allowed object is
160 * {@link SHORTESTROUTE.TO }
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 void setTO(SHORTESTROUTE.TO value) {
165 this.to = value;
166 }
167
168 /**
169 * Gets the value of the via property.
170 *
171 * <p>
172 * This accessor method returns a reference to the live list,
173 * not a snapshot. Therefore any modification you make to the
174 * returned list will be present inside the JAXB object.
175 * This is why there is not a <CODE>set</CODE> method for the via property.
176 *
177 * <p>
178 * For example, to add a new item, do as follows:
179 * <pre>
180 * getVIA().add(newItem);
181 * </pre>
182 *
183 *
184 * <p>
185 * Objects of the following type(s) are allowed in the list
186 * {@link SHORTESTROUTE.VIA }
187 *
188 *
189 */
190 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
191 public List<SHORTESTROUTE.VIA> getVIA() {
192 if (via == null) {
193 via = new ArrayList<SHORTESTROUTE.VIA>();
194 }
195 return this.via;
196 }
197
198 /**
199 * Gets the value of the distancecost property.
200 *
201 * @return
202 * possible object is
203 * {@link String }
204 *
205 */
206 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
207 public String getDISTANCECOST() {
208 return distancecost;
209 }
210
211 /**
212 * Sets the value of the distancecost property.
213 *
214 * @param value
215 * allowed object is
216 * {@link String }
217 *
218 */
219 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
220 public void setDISTANCECOST(String value) {
221 this.distancecost = value;
222 }
223
224 /**
225 * Gets the value of the timecost property.
226 *
227 * @return
228 * possible object is
229 * {@link String }
230 *
231 */
232 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
233 public String getTIMECOST() {
234 return timecost;
235 }
236
237 /**
238 * Sets the value of the timecost property.
239 *
240 * @param value
241 * allowed object is
242 * {@link String }
243 *
244 */
245 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
246 public void setTIMECOST(String value) {
247 this.timecost = value;
248 }
249
250 /**
251 * Gets the value of the gtutype property.
252 *
253 * @return
254 * possible object is
255 * {@link String }
256 *
257 */
258 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
259 public String getGTUTYPE() {
260 return gtutype;
261 }
262
263 /**
264 * Sets the value of the gtutype property.
265 *
266 * @param value
267 * allowed object is
268 * {@link String }
269 *
270 */
271 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
272 public void setGTUTYPE(String value) {
273 this.gtutype = value;
274 }
275
276 /**
277 * Gets the value of the id property.
278 *
279 * @return
280 * possible object is
281 * {@link String }
282 *
283 */
284 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
285 public String getID() {
286 return id;
287 }
288
289 /**
290 * Sets the value of the id property.
291 *
292 * @param value
293 * allowed object is
294 * {@link String }
295 *
296 */
297 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
298 public void setID(String value) {
299 this.id = value;
300 }
301
302 /**
303 * Gets the value of the base property.
304 *
305 * @return
306 * possible object is
307 * {@link String }
308 *
309 */
310 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
311 public String getBase() {
312 return base;
313 }
314
315 /**
316 * Sets the value of the base property.
317 *
318 * @param value
319 * allowed object is
320 * {@link String }
321 *
322 */
323 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
324 public void setBase(String value) {
325 this.base = value;
326 }
327
328
329 /**
330 * <p>Java class for anonymous complex type.
331 *
332 * <p>The following schema fragment specifies the expected content contained within this class.
333 *
334 * <pre>
335 * <complexType>
336 * <complexContent>
337 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
338 * <attribute name="NODE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
339 * </restriction>
340 * </complexContent>
341 * </complexType>
342 * </pre>
343 *
344 *
345 */
346 @XmlAccessorType(XmlAccessType.FIELD)
347 @XmlType(name = "")
348 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
349 public static class FROM
350 implements Serializable
351 {
352
353 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
354 private final static long serialVersionUID = 10102L;
355 @XmlAttribute(name = "NODE", required = true)
356 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
357 protected String node;
358
359 /**
360 * Gets the value of the node property.
361 *
362 * @return
363 * possible object is
364 * {@link String }
365 *
366 */
367 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
368 public String getNODE() {
369 return node;
370 }
371
372 /**
373 * Sets the value of the node property.
374 *
375 * @param value
376 * allowed object is
377 * {@link String }
378 *
379 */
380 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
381 public void setNODE(String value) {
382 this.node = value;
383 }
384
385 }
386
387
388 /**
389 * <p>Java class for anonymous complex type.
390 *
391 * <p>The following schema fragment specifies the expected content contained within this class.
392 *
393 * <pre>
394 * <complexType>
395 * <complexContent>
396 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
397 * <attribute name="NODE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
398 * </restriction>
399 * </complexContent>
400 * </complexType>
401 * </pre>
402 *
403 *
404 */
405 @XmlAccessorType(XmlAccessType.FIELD)
406 @XmlType(name = "")
407 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
408 public static class TO
409 implements Serializable
410 {
411
412 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
413 private final static long serialVersionUID = 10102L;
414 @XmlAttribute(name = "NODE", required = true)
415 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
416 protected String node;
417
418 /**
419 * Gets the value of the node property.
420 *
421 * @return
422 * possible object is
423 * {@link String }
424 *
425 */
426 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
427 public String getNODE() {
428 return node;
429 }
430
431 /**
432 * Sets the value of the node property.
433 *
434 * @param value
435 * allowed object is
436 * {@link String }
437 *
438 */
439 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
440 public void setNODE(String value) {
441 this.node = value;
442 }
443
444 }
445
446
447 /**
448 * <p>Java class for anonymous complex type.
449 *
450 * <p>The following schema fragment specifies the expected content contained within this class.
451 *
452 * <pre>
453 * <complexType>
454 * <complexContent>
455 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
456 * <attribute name="NODE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
457 * </restriction>
458 * </complexContent>
459 * </complexType>
460 * </pre>
461 *
462 *
463 */
464 @XmlAccessorType(XmlAccessType.FIELD)
465 @XmlType(name = "")
466 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
467 public static class VIA
468 implements Serializable
469 {
470
471 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
472 private final static long serialVersionUID = 10102L;
473 @XmlAttribute(name = "NODE", required = true)
474 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
475 protected String node;
476
477 /**
478 * Gets the value of the node property.
479 *
480 * @return
481 * possible object is
482 * {@link String }
483 *
484 */
485 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
486 public String getNODE() {
487 return node;
488 }
489
490 /**
491 * Sets the value of the node property.
492 *
493 * @param value
494 * allowed object is
495 * {@link String }
496 *
497 */
498 @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
499 public void setNODE(String value) {
500 this.node = value;
501 }
502
503 }
504
505 }