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