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 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   * &lt;complexType&gt;
31   *   &lt;complexContent&gt;
32   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
33   *       &lt;sequence&gt;
34   *         &lt;element name="SHORTESTROUTE" maxOccurs="unbounded"&gt;
35   *           &lt;complexType&gt;
36   *             &lt;complexContent&gt;
37   *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
38   *                 &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
39   *                 &lt;attribute name="WEIGHT" use="required" type="{http://www.w3.org/2001/XMLSchema}double" /&gt;
40   *               &lt;/restriction&gt;
41   *             &lt;/complexContent&gt;
42   *           &lt;/complexType&gt;
43   *         &lt;/element&gt;
44   *       &lt;/sequence&gt;
45   *       &lt;attribute name="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
46   *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
47   *       &lt;attribute name="RANDOMSTREAM" type="{http://www.w3.org/2001/XMLSchema}string" default="default" /&gt;
48   *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&gt;
49   *     &lt;/restriction&gt;
50   *   &lt;/complexContent&gt;
51   * &lt;/complexType&gt;
52   * </pre>
53   * 
54   * 
55   */
56  @XmlAccessorType(XmlAccessType.FIELD)
57  @XmlType(name = "", propOrder = {
58      "shortestroute"
59  })
60  @XmlRootElement(name = "SHORTESTROUTEMIX")
61  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
62  public class SHORTESTROUTEMIX
63      implements Serializable
64  {
65  
66      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
67      private final static long serialVersionUID = 10102L;
68      @XmlElement(name = "SHORTESTROUTE", required = true)
69      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
70      protected List<SHORTESTROUTEMIX.SHORTESTROUTE> shortestroute;
71      @XmlAttribute(name = "GTUTYPE", required = true)
72      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
73      protected String gtutype;
74      @XmlAttribute(name = "ID", required = true)
75      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
76      protected String id;
77      @XmlAttribute(name = "RANDOMSTREAM")
78      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
79      protected String randomstream;
80      @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
81      @XmlSchemaType(name = "anyURI")
82      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
83      protected String base;
84  
85      /**
86       * Gets the value of the shortestroute property.
87       * 
88       * <p>
89       * This accessor method returns a reference to the live list,
90       * not a snapshot. Therefore any modification you make to the
91       * returned list will be present inside the JAXB object.
92       * This is why there is not a <CODE>set</CODE> method for the shortestroute property.
93       * 
94       * <p>
95       * For example, to add a new item, do as follows:
96       * <pre>
97       *    getSHORTESTROUTE().add(newItem);
98       * </pre>
99       * 
100      * 
101      * <p>
102      * Objects of the following type(s) are allowed in the list
103      * {@link SHORTESTROUTEMIX.SHORTESTROUTE }
104      * 
105      * 
106      */
107     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
108     public List<SHORTESTROUTEMIX.SHORTESTROUTE> getSHORTESTROUTE() {
109         if (shortestroute == null) {
110             shortestroute = new ArrayList<SHORTESTROUTEMIX.SHORTESTROUTE>();
111         }
112         return this.shortestroute;
113     }
114 
115     /**
116      * Gets the value of the gtutype property.
117      * 
118      * @return
119      *     possible object is
120      *     {@link String }
121      *     
122      */
123     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
124     public String getGTUTYPE() {
125         return gtutype;
126     }
127 
128     /**
129      * Sets the value of the gtutype property.
130      * 
131      * @param value
132      *     allowed object is
133      *     {@link String }
134      *     
135      */
136     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
137     public void setGTUTYPE(String value) {
138         this.gtutype = value;
139     }
140 
141     /**
142      * Gets the value of the id property.
143      * 
144      * @return
145      *     possible object is
146      *     {@link String }
147      *     
148      */
149     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
150     public String getID() {
151         return id;
152     }
153 
154     /**
155      * Sets the value of the id property.
156      * 
157      * @param value
158      *     allowed object is
159      *     {@link String }
160      *     
161      */
162     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
163     public void setID(String value) {
164         this.id = value;
165     }
166 
167     /**
168      * Gets the value of the randomstream property.
169      * 
170      * @return
171      *     possible object is
172      *     {@link String }
173      *     
174      */
175     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
176     public String getRANDOMSTREAM() {
177         if (randomstream == null) {
178             return "default";
179         } else {
180             return randomstream;
181         }
182     }
183 
184     /**
185      * Sets the value of the randomstream property.
186      * 
187      * @param value
188      *     allowed object is
189      *     {@link String }
190      *     
191      */
192     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
193     public void setRANDOMSTREAM(String value) {
194         this.randomstream = value;
195     }
196 
197     /**
198      * Gets the value of the base property.
199      * 
200      * @return
201      *     possible object is
202      *     {@link String }
203      *     
204      */
205     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
206     public String getBase() {
207         return base;
208     }
209 
210     /**
211      * Sets the value of the base property.
212      * 
213      * @param value
214      *     allowed object is
215      *     {@link String }
216      *     
217      */
218     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
219     public void setBase(String value) {
220         this.base = value;
221     }
222 
223 
224     /**
225      * <p>Java class for anonymous complex type.
226      * 
227      * <p>The following schema fragment specifies the expected content contained within this class.
228      * 
229      * <pre>
230      * &lt;complexType&gt;
231      *   &lt;complexContent&gt;
232      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
233      *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
234      *       &lt;attribute name="WEIGHT" use="required" type="{http://www.w3.org/2001/XMLSchema}double" /&gt;
235      *     &lt;/restriction&gt;
236      *   &lt;/complexContent&gt;
237      * &lt;/complexType&gt;
238      * </pre>
239      * 
240      * 
241      */
242     @XmlAccessorType(XmlAccessType.FIELD)
243     @XmlType(name = "")
244     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
245     public static class SHORTESTROUTE
246         implements Serializable
247     {
248 
249         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
250         private final static long serialVersionUID = 10102L;
251         @XmlAttribute(name = "ID", required = true)
252         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
253         protected String id;
254         @XmlAttribute(name = "WEIGHT", required = true)
255         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
256         protected double weight;
257 
258         /**
259          * Gets the value of the id property.
260          * 
261          * @return
262          *     possible object is
263          *     {@link String }
264          *     
265          */
266         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
267         public String getID() {
268             return id;
269         }
270 
271         /**
272          * Sets the value of the id property.
273          * 
274          * @param value
275          *     allowed object is
276          *     {@link String }
277          *     
278          */
279         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
280         public void setID(String value) {
281             this.id = value;
282         }
283 
284         /**
285          * Gets the value of the weight property.
286          * 
287          */
288         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
289         public double getWEIGHT() {
290             return weight;
291         }
292 
293         /**
294          * Sets the value of the weight property.
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 setWEIGHT(double value) {
299             this.weight = value;
300         }
301 
302     }
303 
304 }