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.XmlRootElement;
17  import javax.xml.bind.annotation.XmlType;
18  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
19  import org.opentrafficsim.xml.bindings.SpeedAdapter;
20  import org.opentrafficsim.xml.bindings.StringAdapter;
21  import org.opentrafficsim.xml.bindings.types.SpeedType;
22  import org.opentrafficsim.xml.bindings.types.StringType;
23  
24  
25  /**
26   * <p>Java class for anonymous complex type.
27   * 
28   * <p>The following schema fragment specifies the expected content contained within this class.
29   * 
30   * <pre>
31   * &lt;complexType&gt;
32   *   &lt;complexContent&gt;
33   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
34   *       &lt;attribute name="GtuType" use="required" type="{http://www.opentrafficsim.org/ots}string" /&gt;
35   *       &lt;attribute name="LegalSpeedLimit" use="required" type="{http://www.opentrafficsim.org/ots}SpeedType" /&gt;
36   *     &lt;/restriction&gt;
37   *   &lt;/complexContent&gt;
38   * &lt;/complexType&gt;
39   * </pre>
40   * 
41   * 
42   */
43  @XmlAccessorType(XmlAccessType.FIELD)
44  @XmlType(name = "")
45  @XmlRootElement(name = "SpeedLimit")
46  @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
47  public class SpeedLimit
48      implements Serializable
49  {
50  
51      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
52      private final static long serialVersionUID = 10102L;
53      @XmlAttribute(name = "GtuType", required = true)
54      @XmlJavaTypeAdapter(StringAdapter.class)
55      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
56      protected StringType gtuType;
57      @XmlAttribute(name = "LegalSpeedLimit", required = true)
58      @XmlJavaTypeAdapter(SpeedAdapter.class)
59      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
60      protected SpeedType legalSpeedLimit;
61  
62      /**
63       * Gets the value of the gtuType property.
64       * 
65       * @return
66       *     possible object is
67       *     {@link String }
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      public StringType getGtuType() {
72          return gtuType;
73      }
74  
75      /**
76       * Sets the value of the gtuType property.
77       * 
78       * @param value
79       *     allowed object is
80       *     {@link String }
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      public void setGtuType(StringType value) {
85          this.gtuType = value;
86      }
87  
88      /**
89       * Gets the value of the legalSpeedLimit property.
90       * 
91       * @return
92       *     possible object is
93       *     {@link String }
94       *     
95       */
96      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
97      public SpeedType getLegalSpeedLimit() {
98          return legalSpeedLimit;
99      }
100 
101     /**
102      * Sets the value of the legalSpeedLimit property.
103      * 
104      * @param value
105      *     allowed 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 void setLegalSpeedLimit(SpeedType value) {
111         this.legalSpeedLimit = value;
112     }
113 
114 }