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: 2019.04.20 at 02:12:22 AM 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.XmlSchemaType;
21  import javax.xml.bind.annotation.XmlType;
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 ref="{http://www.opentrafficsim.org/ots}COMPATIBILITY" maxOccurs="unbounded"/&gt;
35   *       &lt;/sequence&gt;
36   *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
37   *       &lt;attribute name="PARENT" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
38   *       &lt;attribute name="DEFAULT" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt;
39   *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&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      "compatibility"
50  })
51  @XmlRootElement(name = "LANETYPE")
52  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
53  public class LANETYPE
54      implements Serializable
55  {
56  
57      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
58      private final static long serialVersionUID = 10102L;
59      @XmlElement(name = "COMPATIBILITY", required = true)
60      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
61      protected List<COMPATIBILITY> compatibility;
62      @XmlAttribute(name = "ID", required = true)
63      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
64      protected String id;
65      @XmlAttribute(name = "PARENT")
66      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
67      protected String parent;
68      @XmlAttribute(name = "DEFAULT")
69      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
70      protected Boolean _default;
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 = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
74      protected String base;
75  
76      /**
77       * Gets the value of the compatibility property.
78       * 
79       * <p>
80       * This accessor method returns a reference to the live list,
81       * not a snapshot. Therefore any modification you make to the
82       * returned list will be present inside the JAXB object.
83       * This is why there is not a <CODE>set</CODE> method for the compatibility property.
84       * 
85       * <p>
86       * For example, to add a new item, do as follows:
87       * <pre>
88       *    getCOMPATIBILITY().add(newItem);
89       * </pre>
90       * 
91       * 
92       * <p>
93       * Objects of the following type(s) are allowed in the list
94       * {@link COMPATIBILITY }
95       * 
96       * 
97       */
98      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
99      public List<COMPATIBILITY> getCOMPATIBILITY() {
100         if (compatibility == null) {
101             compatibility = new ArrayList<COMPATIBILITY>();
102         }
103         return this.compatibility;
104     }
105 
106     /**
107      * Gets the value of the id property.
108      * 
109      * @return
110      *     possible object is
111      *     {@link String }
112      *     
113      */
114     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
115     public String getID() {
116         return id;
117     }
118 
119     /**
120      * Sets the value of the id property.
121      * 
122      * @param value
123      *     allowed object is
124      *     {@link String }
125      *     
126      */
127     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
128     public void setID(String value) {
129         this.id = value;
130     }
131 
132     /**
133      * Gets the value of the parent property.
134      * 
135      * @return
136      *     possible object is
137      *     {@link String }
138      *     
139      */
140     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
141     public String getPARENT() {
142         return parent;
143     }
144 
145     /**
146      * Sets the value of the parent property.
147      * 
148      * @param value
149      *     allowed object is
150      *     {@link String }
151      *     
152      */
153     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
154     public void setPARENT(String value) {
155         this.parent = value;
156     }
157 
158     /**
159      * Gets the value of the default property.
160      * 
161      * @return
162      *     possible object is
163      *     {@link Boolean }
164      *     
165      */
166     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
167     public boolean isDEFAULT() {
168         if (_default == null) {
169             return false;
170         } else {
171             return _default;
172         }
173     }
174 
175     /**
176      * Sets the value of the default property.
177      * 
178      * @param value
179      *     allowed object is
180      *     {@link Boolean }
181      *     
182      */
183     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
184     public void setDEFAULT(Boolean value) {
185         this._default = value;
186     }
187 
188     /**
189      * Gets the value of the base property.
190      * 
191      * @return
192      *     possible object is
193      *     {@link String }
194      *     
195      */
196     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
197     public String getBase() {
198         return base;
199     }
200 
201     /**
202      * Sets the value of the base property.
203      * 
204      * @param value
205      *     allowed object is
206      *     {@link String }
207      *     
208      */
209     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
210     public void setBase(String value) {
211         this.base = value;
212     }
213 
214 }