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.XmlAttribute;
18  import javax.xml.bind.annotation.XmlElement;
19  import javax.xml.bind.annotation.XmlRootElement;
20  import javax.xml.bind.annotation.XmlType;
21  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
22  import org.opentrafficsim.xml.bindings.StringAdapter;
23  import org.opentrafficsim.xml.bindings.types.StringType;
24  
25  
26  /**
27   * <p>Java class for anonymous complex type.
28   * 
29   * <p>The following schema fragment specifies the expected content contained within this class.
30   * 
31   * <pre>
32   * &lt;complexType&gt;
33   *   &lt;complexContent&gt;
34   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
35   *       &lt;sequence&gt;
36   *         &lt;element name="Node" type="{http://www.opentrafficsim.org/ots}string" maxOccurs="unbounded" minOccurs="2"/&gt;
37   *       &lt;/sequence&gt;
38   *       &lt;attribute name="Id" use="required" type="{http://www.opentrafficsim.org/ots}IdType" /&gt;
39   *       &lt;attribute name="GtuType" use="required" type="{http://www.opentrafficsim.org/ots}string" /&gt;
40   *     &lt;/restriction&gt;
41   *   &lt;/complexContent&gt;
42   * &lt;/complexType&gt;
43   * </pre>
44   * 
45   * 
46   */
47  @XmlAccessorType(XmlAccessType.FIELD)
48  @XmlType(name = "", propOrder = {
49      "node"
50  })
51  @XmlRootElement(name = "Route")
52  @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
53  public class Route
54      implements Serializable
55  {
56  
57      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
58      private final static long serialVersionUID = 10102L;
59      @XmlElement(name = "Node", required = true, type = String.class)
60      @XmlJavaTypeAdapter(StringAdapter.class)
61      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
62      protected List<StringType> node;
63      @XmlAttribute(name = "Id", required = true)
64      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
65      protected String id;
66      @XmlAttribute(name = "GtuType", required = true)
67      @XmlJavaTypeAdapter(StringAdapter.class)
68      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
69      protected StringType gtuType;
70  
71      /**
72       * Gets the value of the node property.
73       * 
74       * <p>
75       * This accessor method returns a reference to the live list,
76       * not a snapshot. Therefore any modification you make to the
77       * returned list will be present inside the JAXB object.
78       * This is why there is not a <CODE>set</CODE> method for the node property.
79       * 
80       * <p>
81       * For example, to add a new item, do as follows:
82       * <pre>
83       *    getNode().add(newItem);
84       * </pre>
85       * 
86       * 
87       * <p>
88       * Objects of the following type(s) are allowed in the list
89       * {@link String }
90       * 
91       * 
92       */
93      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
94      public List<StringType> getNode() {
95          if (node == null) {
96              node = new ArrayList<StringType>();
97          }
98          return this.node;
99      }
100 
101     /**
102      * Gets the value of the id property.
103      * 
104      * @return
105      *     possible object is
106      *     {@link String }
107      *     
108      */
109     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
110     public String getId() {
111         return id;
112     }
113 
114     /**
115      * Sets the value of the id property.
116      * 
117      * @param value
118      *     allowed object is
119      *     {@link String }
120      *     
121      */
122     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
123     public void setId(String value) {
124         this.id = value;
125     }
126 
127     /**
128      * Gets the value of the gtuType property.
129      * 
130      * @return
131      *     possible object is
132      *     {@link String }
133      *     
134      */
135     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
136     public StringType getGtuType() {
137         return gtuType;
138     }
139 
140     /**
141      * Sets the value of the gtuType property.
142      * 
143      * @param value
144      *     allowed object is
145      *     {@link String }
146      *     
147      */
148     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
149     public void setGtuType(StringType value) {
150         this.gtuType = value;
151     }
152 
153 }