View Javadoc
1   //
2   // This file was generated by the Eclipse Implementation of JAXB, v2.3.7 
3   // See https://eclipse-ee4j.github.io/jaxb-ri 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2024.08.29 at 06:50:16 PM 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.XmlElement;
18  import javax.xml.bind.annotation.XmlRootElement;
19  import javax.xml.bind.annotation.XmlType;
20  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
21  import org.opentrafficsim.xml.bindings.DoubleUnitIntervalAdapter;
22  import org.opentrafficsim.xml.bindings.LengthAdapter;
23  import org.opentrafficsim.xml.bindings.types.DoubleType;
24  import org.opentrafficsim.xml.bindings.types.LengthType;
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="Conflicts" minOccurs="0"&gt;
38   *           &lt;complexType&gt;
39   *             &lt;complexContent&gt;
40   *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
41   *                 &lt;choice&gt;
42   *                   &lt;element name="None" type="{http://www.opentrafficsim.org/ots}EmptyType"/&gt;
43   *                   &lt;element name="DefaultWidth" type="{http://www.opentrafficsim.org/ots}EmptyType"/&gt;
44   *                   &lt;element name="FixedWidth" type="{http://www.opentrafficsim.org/ots}LengthType"/&gt;
45   *                   &lt;element name="RelativeWidth" type="{http://www.opentrafficsim.org/ots}DoubleUnitInterval"/&gt;
46   *                 &lt;/choice&gt;
47   *               &lt;/restriction&gt;
48   *             &lt;/complexContent&gt;
49   *           &lt;/complexType&gt;
50   *         &lt;/element&gt;
51   *         &lt;element name="Flattener" type="{http://www.opentrafficsim.org/ots}FlattenerType" minOccurs="0"/&gt;
52   *         &lt;choice maxOccurs="unbounded" minOccurs="0"&gt;
53   *           &lt;element ref="{http://www.opentrafficsim.org/ots}Node" minOccurs="0"/&gt;
54   *           &lt;element ref="{http://www.opentrafficsim.org/ots}Link" minOccurs="0"/&gt;
55   *           &lt;element ref="{http://www.opentrafficsim.org/ots}Centroid" minOccurs="0"/&gt;
56   *           &lt;element ref="{http://www.opentrafficsim.org/ots}Connector" minOccurs="0"/&gt;
57   *           &lt;element ref="{http://www.w3.org/2001/XInclude}include" minOccurs="0"/&gt;
58   *         &lt;/choice&gt;
59   *       &lt;/sequence&gt;
60   *     &lt;/restriction&gt;
61   *   &lt;/complexContent&gt;
62   * &lt;/complexType&gt;
63   * </pre>
64   * 
65   * 
66   */
67  @XmlAccessorType(XmlAccessType.FIELD)
68  @XmlType(name = "", propOrder = {
69      "conflicts",
70      "flattener",
71      "node",
72      "link",
73      "centroid",
74      "connector",
75      "include"
76  })
77  @XmlRootElement(name = "Network")
78  @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
79  public class Network
80      implements Serializable
81  {
82  
83      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
84      private final static long serialVersionUID = 10102L;
85      @XmlElement(name = "Conflicts")
86      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
87      protected Network.Conflicts conflicts;
88      @XmlElement(name = "Flattener")
89      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
90      protected FlattenerType flattener;
91      @XmlElement(name = "Node")
92      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
93      protected List<Node> node;
94      @XmlElement(name = "Link")
95      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
96      protected List<Link> link;
97      @XmlElement(name = "Centroid")
98      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
99      protected List<Centroid> centroid;
100     @XmlElement(name = "Connector")
101     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
102     protected List<Connector> connector;
103     @XmlElement(namespace = "http://www.w3.org/2001/XInclude")
104     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
105     protected List<IncludeType> include;
106 
107     /**
108      * Gets the value of the conflicts property.
109      * 
110      * @return
111      *     possible object is
112      *     {@link Network.Conflicts }
113      *     
114      */
115     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
116     public Network.Conflicts getConflicts() {
117         return conflicts;
118     }
119 
120     /**
121      * Sets the value of the conflicts property.
122      * 
123      * @param value
124      *     allowed object is
125      *     {@link Network.Conflicts }
126      *     
127      */
128     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
129     public void setConflicts(Network.Conflicts value) {
130         this.conflicts = value;
131     }
132 
133     /**
134      * Gets the value of the flattener property.
135      * 
136      * @return
137      *     possible object is
138      *     {@link FlattenerType }
139      *     
140      */
141     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
142     public FlattenerType getFlattener() {
143         return flattener;
144     }
145 
146     /**
147      * Sets the value of the flattener property.
148      * 
149      * @param value
150      *     allowed object is
151      *     {@link FlattenerType }
152      *     
153      */
154     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
155     public void setFlattener(FlattenerType value) {
156         this.flattener = value;
157     }
158 
159     /**
160      * Gets the value of the node 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 node property.
167      * 
168      * <p>
169      * For example, to add a new item, do as follows:
170      * <pre>
171      *    getNode().add(newItem);
172      * </pre>
173      * 
174      * 
175      * <p>
176      * Objects of the following type(s) are allowed in the list
177      * {@link Node }
178      * 
179      * 
180      */
181     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
182     public List<Node> getNode() {
183         if (node == null) {
184             node = new ArrayList<Node>();
185         }
186         return this.node;
187     }
188 
189     /**
190      * Gets the value of the link property.
191      * 
192      * <p>
193      * This accessor method returns a reference to the live list,
194      * not a snapshot. Therefore any modification you make to the
195      * returned list will be present inside the JAXB object.
196      * This is why there is not a <CODE>set</CODE> method for the link property.
197      * 
198      * <p>
199      * For example, to add a new item, do as follows:
200      * <pre>
201      *    getLink().add(newItem);
202      * </pre>
203      * 
204      * 
205      * <p>
206      * Objects of the following type(s) are allowed in the list
207      * {@link Link }
208      * 
209      * 
210      */
211     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
212     public List<Link> getLink() {
213         if (link == null) {
214             link = new ArrayList<Link>();
215         }
216         return this.link;
217     }
218 
219     /**
220      * Gets the value of the centroid property.
221      * 
222      * <p>
223      * This accessor method returns a reference to the live list,
224      * not a snapshot. Therefore any modification you make to the
225      * returned list will be present inside the JAXB object.
226      * This is why there is not a <CODE>set</CODE> method for the centroid property.
227      * 
228      * <p>
229      * For example, to add a new item, do as follows:
230      * <pre>
231      *    getCentroid().add(newItem);
232      * </pre>
233      * 
234      * 
235      * <p>
236      * Objects of the following type(s) are allowed in the list
237      * {@link Centroid }
238      * 
239      * 
240      */
241     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
242     public List<Centroid> getCentroid() {
243         if (centroid == null) {
244             centroid = new ArrayList<Centroid>();
245         }
246         return this.centroid;
247     }
248 
249     /**
250      * Gets the value of the connector property.
251      * 
252      * <p>
253      * This accessor method returns a reference to the live list,
254      * not a snapshot. Therefore any modification you make to the
255      * returned list will be present inside the JAXB object.
256      * This is why there is not a <CODE>set</CODE> method for the connector property.
257      * 
258      * <p>
259      * For example, to add a new item, do as follows:
260      * <pre>
261      *    getConnector().add(newItem);
262      * </pre>
263      * 
264      * 
265      * <p>
266      * Objects of the following type(s) are allowed in the list
267      * {@link Connector }
268      * 
269      * 
270      */
271     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
272     public List<Connector> getConnector() {
273         if (connector == null) {
274             connector = new ArrayList<Connector>();
275         }
276         return this.connector;
277     }
278 
279     /**
280      * Gets the value of the include property.
281      * 
282      * <p>
283      * This accessor method returns a reference to the live list,
284      * not a snapshot. Therefore any modification you make to the
285      * returned list will be present inside the JAXB object.
286      * This is why there is not a <CODE>set</CODE> method for the include property.
287      * 
288      * <p>
289      * For example, to add a new item, do as follows:
290      * <pre>
291      *    getInclude().add(newItem);
292      * </pre>
293      * 
294      * 
295      * <p>
296      * Objects of the following type(s) are allowed in the list
297      * {@link IncludeType }
298      * 
299      * 
300      */
301     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
302     public List<IncludeType> getInclude() {
303         if (include == null) {
304             include = new ArrayList<IncludeType>();
305         }
306         return this.include;
307     }
308 
309 
310     /**
311      * <p>Java class for anonymous complex type.
312      * 
313      * <p>The following schema fragment specifies the expected content contained within this class.
314      * 
315      * <pre>
316      * &lt;complexType&gt;
317      *   &lt;complexContent&gt;
318      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
319      *       &lt;choice&gt;
320      *         &lt;element name="None" type="{http://www.opentrafficsim.org/ots}EmptyType"/&gt;
321      *         &lt;element name="DefaultWidth" type="{http://www.opentrafficsim.org/ots}EmptyType"/&gt;
322      *         &lt;element name="FixedWidth" type="{http://www.opentrafficsim.org/ots}LengthType"/&gt;
323      *         &lt;element name="RelativeWidth" type="{http://www.opentrafficsim.org/ots}DoubleUnitInterval"/&gt;
324      *       &lt;/choice&gt;
325      *     &lt;/restriction&gt;
326      *   &lt;/complexContent&gt;
327      * &lt;/complexType&gt;
328      * </pre>
329      * 
330      * 
331      */
332     @XmlAccessorType(XmlAccessType.FIELD)
333     @XmlType(name = "", propOrder = {
334         "none",
335         "defaultWidth",
336         "fixedWidth",
337         "relativeWidth"
338     })
339     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
340     public static class Conflicts
341         implements Serializable
342     {
343 
344         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
345         private final static long serialVersionUID = 10102L;
346         @XmlElement(name = "None")
347         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
348         protected EmptyType none;
349         @XmlElement(name = "DefaultWidth")
350         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
351         protected EmptyType defaultWidth;
352         @XmlElement(name = "FixedWidth", type = String.class)
353         @XmlJavaTypeAdapter(LengthAdapter.class)
354         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
355         protected LengthType fixedWidth;
356         @XmlElement(name = "RelativeWidth", type = String.class)
357         @XmlJavaTypeAdapter(DoubleUnitIntervalAdapter.class)
358         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
359         protected DoubleType relativeWidth;
360 
361         /**
362          * Gets the value of the none property.
363          * 
364          * @return
365          *     possible object is
366          *     {@link EmptyType }
367          *     
368          */
369         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
370         public EmptyType getNone() {
371             return none;
372         }
373 
374         /**
375          * Sets the value of the none property.
376          * 
377          * @param value
378          *     allowed object is
379          *     {@link EmptyType }
380          *     
381          */
382         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
383         public void setNone(EmptyType value) {
384             this.none = value;
385         }
386 
387         /**
388          * Gets the value of the defaultWidth property.
389          * 
390          * @return
391          *     possible object is
392          *     {@link EmptyType }
393          *     
394          */
395         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
396         public EmptyType getDefaultWidth() {
397             return defaultWidth;
398         }
399 
400         /**
401          * Sets the value of the defaultWidth property.
402          * 
403          * @param value
404          *     allowed object is
405          *     {@link EmptyType }
406          *     
407          */
408         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
409         public void setDefaultWidth(EmptyType value) {
410             this.defaultWidth = value;
411         }
412 
413         /**
414          * Gets the value of the fixedWidth property.
415          * 
416          * @return
417          *     possible object is
418          *     {@link String }
419          *     
420          */
421         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
422         public LengthType getFixedWidth() {
423             return fixedWidth;
424         }
425 
426         /**
427          * Sets the value of the fixedWidth property.
428          * 
429          * @param value
430          *     allowed object is
431          *     {@link String }
432          *     
433          */
434         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
435         public void setFixedWidth(LengthType value) {
436             this.fixedWidth = value;
437         }
438 
439         /**
440          * Gets the value of the relativeWidth property.
441          * 
442          * @return
443          *     possible object is
444          *     {@link String }
445          *     
446          */
447         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
448         public DoubleType getRelativeWidth() {
449             return relativeWidth;
450         }
451 
452         /**
453          * Sets the value of the relativeWidth property.
454          * 
455          * @param value
456          *     allowed object is
457          *     {@link String }
458          *     
459          */
460         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
461         public void setRelativeWidth(DoubleType value) {
462             this.relativeWidth = value;
463         }
464 
465     }
466 
467 }