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 javax.annotation.Generated;
13  import javax.xml.bind.annotation.XmlAccessType;
14  import javax.xml.bind.annotation.XmlAccessorType;
15  import javax.xml.bind.annotation.XmlAttribute;
16  import javax.xml.bind.annotation.XmlElement;
17  import javax.xml.bind.annotation.XmlRootElement;
18  import javax.xml.bind.annotation.XmlType;
19  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
20  import org.opentrafficsim.xml.bindings.StringAdapter;
21  import org.opentrafficsim.xml.bindings.types.StringType;
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="LengthDist" type="{http://www.opentrafficsim.org/ots}LengthDistType"/&gt;
35   *         &lt;element name="WidthDist" type="{http://www.opentrafficsim.org/ots}LengthDistType"/&gt;
36   *         &lt;element name="MaxSpeedDist" type="{http://www.opentrafficsim.org/ots}SpeedDistType"/&gt;
37   *         &lt;element name="MaxAccelerationDist" type="{http://www.opentrafficsim.org/ots}AccelerationDistType" minOccurs="0"/&gt;
38   *         &lt;element name="MaxDecelerationDist" type="{http://www.opentrafficsim.org/ots}AccelerationDistType" minOccurs="0"/&gt;
39   *       &lt;/sequence&gt;
40   *       &lt;attribute name="Id" use="required" type="{http://www.opentrafficsim.org/ots}IdType" /&gt;
41   *       &lt;attribute name="GtuType" use="required" type="{http://www.opentrafficsim.org/ots}string" /&gt;
42   *       &lt;attribute name="Default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt;
43   *     &lt;/restriction&gt;
44   *   &lt;/complexContent&gt;
45   * &lt;/complexType&gt;
46   * </pre>
47   * 
48   * 
49   */
50  @XmlAccessorType(XmlAccessType.FIELD)
51  @XmlType(name = "", propOrder = {
52      "lengthDist",
53      "widthDist",
54      "maxSpeedDist",
55      "maxAccelerationDist",
56      "maxDecelerationDist"
57  })
58  @XmlRootElement(name = "GtuTemplate")
59  @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
60  public class GtuTemplate
61      implements Serializable
62  {
63  
64      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
65      private final static long serialVersionUID = 10102L;
66      @XmlElement(name = "LengthDist", required = true)
67      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
68      protected LengthDistType lengthDist;
69      @XmlElement(name = "WidthDist", required = true)
70      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
71      protected LengthDistType widthDist;
72      @XmlElement(name = "MaxSpeedDist", required = true)
73      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
74      protected SpeedDistType maxSpeedDist;
75      @XmlElement(name = "MaxAccelerationDist")
76      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
77      protected AccelerationDistType maxAccelerationDist;
78      @XmlElement(name = "MaxDecelerationDist")
79      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
80      protected AccelerationDistType maxDecelerationDist;
81      @XmlAttribute(name = "Id", required = true)
82      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
83      protected String id;
84      @XmlAttribute(name = "GtuType", required = true)
85      @XmlJavaTypeAdapter(StringAdapter.class)
86      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
87      protected StringType gtuType;
88      @XmlAttribute(name = "Default")
89      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
90      protected Boolean _default;
91  
92      /**
93       * Gets the value of the lengthDist property.
94       * 
95       * @return
96       *     possible object is
97       *     {@link LengthDistType }
98       *     
99       */
100     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
101     public LengthDistType getLengthDist() {
102         return lengthDist;
103     }
104 
105     /**
106      * Sets the value of the lengthDist property.
107      * 
108      * @param value
109      *     allowed object is
110      *     {@link LengthDistType }
111      *     
112      */
113     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
114     public void setLengthDist(LengthDistType value) {
115         this.lengthDist = value;
116     }
117 
118     /**
119      * Gets the value of the widthDist property.
120      * 
121      * @return
122      *     possible object is
123      *     {@link LengthDistType }
124      *     
125      */
126     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
127     public LengthDistType getWidthDist() {
128         return widthDist;
129     }
130 
131     /**
132      * Sets the value of the widthDist property.
133      * 
134      * @param value
135      *     allowed object is
136      *     {@link LengthDistType }
137      *     
138      */
139     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
140     public void setWidthDist(LengthDistType value) {
141         this.widthDist = value;
142     }
143 
144     /**
145      * Gets the value of the maxSpeedDist property.
146      * 
147      * @return
148      *     possible object is
149      *     {@link SpeedDistType }
150      *     
151      */
152     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
153     public SpeedDistType getMaxSpeedDist() {
154         return maxSpeedDist;
155     }
156 
157     /**
158      * Sets the value of the maxSpeedDist property.
159      * 
160      * @param value
161      *     allowed object is
162      *     {@link SpeedDistType }
163      *     
164      */
165     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
166     public void setMaxSpeedDist(SpeedDistType value) {
167         this.maxSpeedDist = value;
168     }
169 
170     /**
171      * Gets the value of the maxAccelerationDist property.
172      * 
173      * @return
174      *     possible object is
175      *     {@link AccelerationDistType }
176      *     
177      */
178     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
179     public AccelerationDistType getMaxAccelerationDist() {
180         return maxAccelerationDist;
181     }
182 
183     /**
184      * Sets the value of the maxAccelerationDist property.
185      * 
186      * @param value
187      *     allowed object is
188      *     {@link AccelerationDistType }
189      *     
190      */
191     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
192     public void setMaxAccelerationDist(AccelerationDistType value) {
193         this.maxAccelerationDist = value;
194     }
195 
196     /**
197      * Gets the value of the maxDecelerationDist property.
198      * 
199      * @return
200      *     possible object is
201      *     {@link AccelerationDistType }
202      *     
203      */
204     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
205     public AccelerationDistType getMaxDecelerationDist() {
206         return maxDecelerationDist;
207     }
208 
209     /**
210      * Sets the value of the maxDecelerationDist property.
211      * 
212      * @param value
213      *     allowed object is
214      *     {@link AccelerationDistType }
215      *     
216      */
217     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
218     public void setMaxDecelerationDist(AccelerationDistType value) {
219         this.maxDecelerationDist = value;
220     }
221 
222     /**
223      * Gets the value of the id property.
224      * 
225      * @return
226      *     possible object is
227      *     {@link String }
228      *     
229      */
230     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
231     public String getId() {
232         return id;
233     }
234 
235     /**
236      * Sets the value of the id property.
237      * 
238      * @param value
239      *     allowed object is
240      *     {@link String }
241      *     
242      */
243     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
244     public void setId(String value) {
245         this.id = value;
246     }
247 
248     /**
249      * Gets the value of the gtuType property.
250      * 
251      * @return
252      *     possible object is
253      *     {@link String }
254      *     
255      */
256     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
257     public StringType getGtuType() {
258         return gtuType;
259     }
260 
261     /**
262      * Sets the value of the gtuType property.
263      * 
264      * @param value
265      *     allowed object is
266      *     {@link String }
267      *     
268      */
269     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
270     public void setGtuType(StringType value) {
271         this.gtuType = value;
272     }
273 
274     /**
275      * Gets the value of the default property.
276      * 
277      * @return
278      *     possible object is
279      *     {@link Boolean }
280      *     
281      */
282     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
283     public boolean isDefault() {
284         if (_default == null) {
285             return false;
286         } else {
287             return _default;
288         }
289     }
290 
291     /**
292      * Sets the value of the default property.
293      * 
294      * @param value
295      *     allowed object is
296      *     {@link Boolean }
297      *     
298      */
299     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
300     public void setDefault(Boolean value) {
301         this._default = value;
302     }
303 
304 }