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