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.XmlIDREF;
18  import javax.xml.bind.annotation.XmlRootElement;
19  import javax.xml.bind.annotation.XmlSchemaType;
20  import javax.xml.bind.annotation.XmlType;
21  
22  
23  /**
24   * <p>Java class for anonymous complex type.
25   * 
26   * <p>The following schema fragment specifies the expected content contained within this class.
27   * 
28   * <pre>
29   * &lt;complexType&gt;
30   *   &lt;complexContent&gt;
31   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
32   *       &lt;attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
33   *       &lt;attribute name="FROM" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" /&gt;
34   *       &lt;attribute name="TO" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" /&gt;
35   *       &lt;attribute name="VIA" type="{http://www.w3.org/2001/XMLSchema}IDREFS" /&gt;
36   *       &lt;attribute name="DISTANCECOST" use="required" type="{http://www.opentrafficsim.org/ots}DISTANCECOSTTYPE" /&gt;
37   *       &lt;attribute name="TIMECOST" use="required" type="{http://www.opentrafficsim.org/ots}TIMECOSTTYPE" /&gt;
38   *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&gt;
39   *     &lt;/restriction&gt;
40   *   &lt;/complexContent&gt;
41   * &lt;/complexType&gt;
42   * </pre>
43   * 
44   * 
45   */
46  @XmlAccessorType(XmlAccessType.FIELD)
47  @XmlType(name = "")
48  @XmlRootElement(name = "SHORTESTROUTE")
49  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
50  public class SHORTESTROUTE {
51  
52      @XmlAttribute(name = "NAME", required = true)
53      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
54      protected String name;
55      @XmlAttribute(name = "FROM", required = true)
56      @XmlIDREF
57      @XmlSchemaType(name = "IDREF")
58      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
59      protected Object from;
60      @XmlAttribute(name = "TO", required = true)
61      @XmlIDREF
62      @XmlSchemaType(name = "IDREF")
63      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
64      protected Object to;
65      @XmlAttribute(name = "VIA")
66      @XmlIDREF
67      @XmlSchemaType(name = "IDREFS")
68      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
69      protected List<Object> via;
70      @XmlAttribute(name = "DISTANCECOST", required = true)
71      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
72      protected String distancecost;
73      @XmlAttribute(name = "TIMECOST", required = true)
74      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
75      protected String timecost;
76      @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
77      @XmlSchemaType(name = "anyURI")
78      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
79      protected String base;
80  
81      /**
82       * Gets the value of the name property.
83       * 
84       * @return
85       *     possible object is
86       *     {@link String }
87       *     
88       */
89      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
90      public String getNAME() {
91          return name;
92      }
93  
94      /**
95       * Sets the value of the name property.
96       * 
97       * @param value
98       *     allowed object is
99       *     {@link String }
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 void setNAME(String value) {
104         this.name = value;
105     }
106 
107     /**
108      * Gets the value of the from property.
109      * 
110      * @return
111      *     possible object is
112      *     {@link Object }
113      *     
114      */
115     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
116     public Object getFROM() {
117         return from;
118     }
119 
120     /**
121      * Sets the value of the from property.
122      * 
123      * @param value
124      *     allowed object is
125      *     {@link Object }
126      *     
127      */
128     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
129     public void setFROM(Object value) {
130         this.from = value;
131     }
132 
133     /**
134      * Gets the value of the to property.
135      * 
136      * @return
137      *     possible object is
138      *     {@link Object }
139      *     
140      */
141     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
142     public Object getTO() {
143         return to;
144     }
145 
146     /**
147      * Sets the value of the to property.
148      * 
149      * @param value
150      *     allowed object is
151      *     {@link Object }
152      *     
153      */
154     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
155     public void setTO(Object value) {
156         this.to = value;
157     }
158 
159     /**
160      * Gets the value of the via property.
161      * 
162      * <p>
163      * This accessor method returns a reference to the live list,
164      * not a snapshot. Therefore any modification you make to the
165      * returned list will be present inside the JAXB object.
166      * This is why there is not a <CODE>set</CODE> method for the via property.
167      * 
168      * <p>
169      * For example, to add a new item, do as follows:
170      * <pre>
171      *    getVIA().add(newItem);
172      * </pre>
173      * 
174      * 
175      * <p>
176      * Objects of the following type(s) are allowed in the list
177      * {@link Object }
178      * 
179      * 
180      */
181     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
182     public List<Object> getVIA() {
183         if (via == null) {
184             via = new ArrayList<Object>();
185         }
186         return this.via;
187     }
188 
189     /**
190      * Gets the value of the distancecost property.
191      * 
192      * @return
193      *     possible 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 String getDISTANCECOST() {
199         return distancecost;
200     }
201 
202     /**
203      * Sets the value of the distancecost property.
204      * 
205      * @param value
206      *     allowed 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 void setDISTANCECOST(String value) {
212         this.distancecost = value;
213     }
214 
215     /**
216      * Gets the value of the timecost property.
217      * 
218      * @return
219      *     possible 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 String getTIMECOST() {
225         return timecost;
226     }
227 
228     /**
229      * Sets the value of the timecost property.
230      * 
231      * @param value
232      *     allowed 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 void setTIMECOST(String value) {
238         this.timecost = value;
239     }
240 
241     /**
242      * Gets the value of the base property.
243      * 
244      * @return
245      *     possible 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 String getBase() {
251         return base;
252     }
253 
254     /**
255      * Sets the value of the base property.
256      * 
257      * @param value
258      *     allowed 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 void setBase(String value) {
264         this.base = value;
265     }
266 
267 }