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.DoubleAdapter;
21  import org.opentrafficsim.xml.bindings.DoubleUnitIntervalAdapter;
22  import org.opentrafficsim.xml.bindings.PositiveIntegerAdapter;
23  import org.opentrafficsim.xml.bindings.SpeedAdapter;
24  import org.opentrafficsim.xml.bindings.StringAdapter;
25  import org.opentrafficsim.xml.bindings.types.IntegerType;
26  import org.opentrafficsim.xml.bindings.types.SpeedType;
27  import org.opentrafficsim.xml.bindings.types.StringType;
28  
29  
30  /**
31   * <p>Java class for anonymous complex type.
32   * 
33   * <p>The following schema fragment specifies the expected content contained within this class.
34   * 
35   * <pre>
36   * &lt;complexType&gt;
37   *   &lt;complexContent&gt;
38   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
39   *       &lt;choice&gt;
40   *         &lt;sequence&gt;
41   *           &lt;element name="LeftSpeed" type="{http://www.opentrafficsim.org/ots}SpeedType"/&gt;
42   *           &lt;element name="RightSpeed" type="{http://www.opentrafficsim.org/ots}SpeedType"/&gt;
43   *         &lt;/sequence&gt;
44   *         &lt;element name="FromLeft" type="{http://www.opentrafficsim.org/ots}DoubleUnitInterval"/&gt;
45   *         &lt;element name="FromRight" type="{http://www.opentrafficsim.org/ots}DoubleUnitInterval"/&gt;
46   *       &lt;/choice&gt;
47   *       &lt;attribute name="GtuType" use="required" type="{http://www.opentrafficsim.org/ots}string" /&gt;
48   *       &lt;attribute name="Bias" use="required" type="{http://www.opentrafficsim.org/ots}float" /&gt;
49   *       &lt;attribute name="StickyLanes" type="{http://www.opentrafficsim.org/ots}positiveInteger" /&gt;
50   *     &lt;/restriction&gt;
51   *   &lt;/complexContent&gt;
52   * &lt;/complexType&gt;
53   * </pre>
54   * 
55   * 
56   */
57  @XmlAccessorType(XmlAccessType.FIELD)
58  @XmlType(name = "", propOrder = {
59      "leftSpeed",
60      "rightSpeed",
61      "fromLeft",
62      "fromRight"
63  })
64  @XmlRootElement(name = "LaneBias")
65  @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
66  public class LaneBias
67      implements Serializable
68  {
69  
70      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
71      private final static long serialVersionUID = 10102L;
72      @XmlElement(name = "LeftSpeed", type = String.class)
73      @XmlJavaTypeAdapter(SpeedAdapter.class)
74      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
75      protected SpeedType leftSpeed;
76      @XmlElement(name = "RightSpeed", type = String.class)
77      @XmlJavaTypeAdapter(SpeedAdapter.class)
78      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
79      protected SpeedType rightSpeed;
80      @XmlElement(name = "FromLeft", type = String.class)
81      @XmlJavaTypeAdapter(DoubleUnitIntervalAdapter.class)
82      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
83      protected org.opentrafficsim.xml.bindings.types.DoubleType fromLeft;
84      @XmlElement(name = "FromRight", type = String.class)
85      @XmlJavaTypeAdapter(DoubleUnitIntervalAdapter.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 org.opentrafficsim.xml.bindings.types.DoubleType fromRight;
88      @XmlAttribute(name = "GtuType", required = true)
89      @XmlJavaTypeAdapter(StringAdapter.class)
90      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
91      protected StringType gtuType;
92      @XmlAttribute(name = "Bias", required = true)
93      @XmlJavaTypeAdapter(DoubleAdapter.class)
94      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
95      protected org.opentrafficsim.xml.bindings.types.DoubleType bias;
96      @XmlAttribute(name = "StickyLanes")
97      @XmlJavaTypeAdapter(PositiveIntegerAdapter.class)
98      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
99      protected IntegerType stickyLanes;
100 
101     /**
102      * Gets the value of the leftSpeed 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 SpeedType getLeftSpeed() {
111         return leftSpeed;
112     }
113 
114     /**
115      * Sets the value of the leftSpeed 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 setLeftSpeed(SpeedType value) {
124         this.leftSpeed = value;
125     }
126 
127     /**
128      * Gets the value of the rightSpeed 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 SpeedType getRightSpeed() {
137         return rightSpeed;
138     }
139 
140     /**
141      * Sets the value of the rightSpeed 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 setRightSpeed(SpeedType value) {
150         this.rightSpeed = value;
151     }
152 
153     /**
154      * Gets the value of the fromLeft property.
155      * 
156      * @return
157      *     possible object is
158      *     {@link String }
159      *     
160      */
161     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
162     public org.opentrafficsim.xml.bindings.types.DoubleType getFromLeft() {
163         return fromLeft;
164     }
165 
166     /**
167      * Sets the value of the fromLeft property.
168      * 
169      * @param value
170      *     allowed object is
171      *     {@link String }
172      *     
173      */
174     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
175     public void setFromLeft(org.opentrafficsim.xml.bindings.types.DoubleType value) {
176         this.fromLeft = value;
177     }
178 
179     /**
180      * Gets the value of the fromRight property.
181      * 
182      * @return
183      *     possible object is
184      *     {@link String }
185      *     
186      */
187     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
188     public org.opentrafficsim.xml.bindings.types.DoubleType getFromRight() {
189         return fromRight;
190     }
191 
192     /**
193      * Sets the value of the fromRight property.
194      * 
195      * @param value
196      *     allowed object is
197      *     {@link String }
198      *     
199      */
200     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
201     public void setFromRight(org.opentrafficsim.xml.bindings.types.DoubleType value) {
202         this.fromRight = value;
203     }
204 
205     /**
206      * Gets the value of the gtuType property.
207      * 
208      * @return
209      *     possible object is
210      *     {@link String }
211      *     
212      */
213     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
214     public StringType getGtuType() {
215         return gtuType;
216     }
217 
218     /**
219      * Sets the value of the gtuType property.
220      * 
221      * @param value
222      *     allowed object is
223      *     {@link String }
224      *     
225      */
226     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
227     public void setGtuType(StringType value) {
228         this.gtuType = value;
229     }
230 
231     /**
232      * Gets the value of the bias property.
233      * 
234      * @return
235      *     possible object is
236      *     {@link String }
237      *     
238      */
239     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
240     public org.opentrafficsim.xml.bindings.types.DoubleType getBias() {
241         return bias;
242     }
243 
244     /**
245      * Sets the value of the bias property.
246      * 
247      * @param value
248      *     allowed object is
249      *     {@link String }
250      *     
251      */
252     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
253     public void setBias(org.opentrafficsim.xml.bindings.types.DoubleType value) {
254         this.bias = value;
255     }
256 
257     /**
258      * Gets the value of the stickyLanes property.
259      * 
260      * @return
261      *     possible object is
262      *     {@link String }
263      *     
264      */
265     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
266     public IntegerType getStickyLanes() {
267         return stickyLanes;
268     }
269 
270     /**
271      * Sets the value of the stickyLanes property.
272      * 
273      * @param value
274      *     allowed object is
275      *     {@link String }
276      *     
277      */
278     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
279     public void setStickyLanes(IntegerType value) {
280         this.stickyLanes = value;
281     }
282 
283 }