View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
3   // See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2020.11.01 at 07:11:19 PM CET 
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.XmlSchemaType;
18  import javax.xml.bind.annotation.XmlType;
19  
20  
21  /**
22   * <p>Java class for CATEGORYTYPE complex type.
23   * 
24   * <p>The following schema fragment specifies the expected content contained within this class.
25   * 
26   * <pre>
27   * &lt;complexType name="CATEGORYTYPE"&gt;
28   *   &lt;complexContent&gt;
29   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
30   *       &lt;sequence&gt;
31   *         &lt;element name="LANE" type="{http://www.opentrafficsim.org/ots}LANELINKTYPE" minOccurs="0"/&gt;
32   *       &lt;/sequence&gt;
33   *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
34   *       &lt;attribute name="GTUTYPE" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
35   *       &lt;attribute name="ROUTE" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
36   *       &lt;attribute name="FACTOR" type="{http://www.opentrafficsim.org/ots}POSITIVEFACTOR" default="1.0" /&gt;
37   *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&gt;
38   *     &lt;/restriction&gt;
39   *   &lt;/complexContent&gt;
40   * &lt;/complexType&gt;
41   * </pre>
42   * 
43   * 
44   */
45  @XmlAccessorType(XmlAccessType.FIELD)
46  @XmlType(name = "CATEGORYTYPE", propOrder = {
47      "lane"
48  })
49  @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
50  public class CATEGORYTYPE
51      implements Serializable
52  {
53  
54      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
55      private final static long serialVersionUID = 10102L;
56      @XmlElement(name = "LANE")
57      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
58      protected LANELINKTYPE lane;
59      @XmlAttribute(name = "ID", required = true)
60      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
61      protected String id;
62      @XmlAttribute(name = "GTUTYPE")
63      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
64      protected String gtutype;
65      @XmlAttribute(name = "ROUTE")
66      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
67      protected String route;
68      @XmlAttribute(name = "FACTOR")
69      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
70      protected String factor;
71      @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
72      @XmlSchemaType(name = "anyURI")
73      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
74      protected String base;
75  
76      /**
77       * Gets the value of the lane property.
78       * 
79       * @return
80       *     possible object is
81       *     {@link LANELINKTYPE }
82       *     
83       */
84      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
85      public LANELINKTYPE getLANE() {
86          return lane;
87      }
88  
89      /**
90       * Sets the value of the lane property.
91       * 
92       * @param value
93       *     allowed object is
94       *     {@link LANELINKTYPE }
95       *     
96       */
97      @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
98      public void setLANE(LANELINKTYPE value) {
99          this.lane = value;
100     }
101 
102     /**
103      * Gets the value of the id property.
104      * 
105      * @return
106      *     possible object is
107      *     {@link String }
108      *     
109      */
110     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
111     public String getID() {
112         return id;
113     }
114 
115     /**
116      * Sets the value of the id property.
117      * 
118      * @param value
119      *     allowed object is
120      *     {@link String }
121      *     
122      */
123     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
124     public void setID(String value) {
125         this.id = value;
126     }
127 
128     /**
129      * Gets the value of the gtutype property.
130      * 
131      * @return
132      *     possible object is
133      *     {@link String }
134      *     
135      */
136     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
137     public String getGTUTYPE() {
138         return gtutype;
139     }
140 
141     /**
142      * Sets the value of the gtutype property.
143      * 
144      * @param value
145      *     allowed object is
146      *     {@link String }
147      *     
148      */
149     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
150     public void setGTUTYPE(String value) {
151         this.gtutype = value;
152     }
153 
154     /**
155      * Gets the value of the route property.
156      * 
157      * @return
158      *     possible object is
159      *     {@link String }
160      *     
161      */
162     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
163     public String getROUTE() {
164         return route;
165     }
166 
167     /**
168      * Sets the value of the route property.
169      * 
170      * @param value
171      *     allowed object is
172      *     {@link String }
173      *     
174      */
175     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
176     public void setROUTE(String value) {
177         this.route = value;
178     }
179 
180     /**
181      * Gets the value of the factor property.
182      * 
183      * @return
184      *     possible object is
185      *     {@link String }
186      *     
187      */
188     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
189     public String getFACTOR() {
190         if (factor == null) {
191             return "1.0";
192         } else {
193             return factor;
194         }
195     }
196 
197     /**
198      * Sets the value of the factor property.
199      * 
200      * @param value
201      *     allowed object is
202      *     {@link String }
203      *     
204      */
205     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
206     public void setFACTOR(String value) {
207         this.factor = value;
208     }
209 
210     /**
211      * Gets the value of the base property.
212      * 
213      * @return
214      *     possible object is
215      *     {@link String }
216      *     
217      */
218     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
219     public String getBase() {
220         return base;
221     }
222 
223     /**
224      * Sets the value of the base property.
225      * 
226      * @param value
227      *     allowed object is
228      *     {@link String }
229      *     
230      */
231     @Generated(value = "com.sun.tools.xjc.Driver", date = "2020-11-01T07:11:19+01:00", comments = "JAXB RI v2.3.0")
232     public void setBase(String value) {
233         this.base = value;
234     }
235 
236 }