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.XmlType;
20  
21  
22  /**
23   * <p>Java class for CSELANE complex type.
24   * 
25   * <p>The following schema fragment specifies the expected content contained within this class.
26   * 
27   * <pre>
28   * &lt;complexType name="CSELANE"&gt;
29   *   &lt;complexContent&gt;
30   *     &lt;extension base="{http://www.opentrafficsim.org/ots}CROSSSECTIONELEMENT"&gt;
31   *       &lt;sequence&gt;
32   *         &lt;element ref="{http://www.opentrafficsim.org/ots}SPEEDLIMIT" maxOccurs="unbounded" minOccurs="0"/&gt;
33   *       &lt;/sequence&gt;
34   *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
35   *       &lt;attribute name="LANETYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
36   *       &lt;attribute name="DESIGNDIRECTION" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
37   *     &lt;/extension&gt;
38   *   &lt;/complexContent&gt;
39   * &lt;/complexType&gt;
40   * </pre>
41   * 
42   * 
43   */
44  @XmlAccessorType(XmlAccessType.FIELD)
45  @XmlType(name = "CSELANE", propOrder = {
46      "speedlimit"
47  })
48  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
49  public class CSELANE
50      extends CROSSSECTIONELEMENT
51      implements Serializable
52  {
53  
54      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
55      private final static long serialVersionUID = 10102L;
56      @XmlElement(name = "SPEEDLIMIT")
57      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
58      protected List<SPEEDLIMIT> speedlimit;
59      @XmlAttribute(name = "ID", 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 String id;
62      @XmlAttribute(name = "LANETYPE", 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 lanetype;
65      @XmlAttribute(name = "DESIGNDIRECTION", required = true)
66      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
67      protected boolean designdirection;
68  
69      /**
70       * Gets the value of the speedlimit property.
71       * 
72       * <p>
73       * This accessor method returns a reference to the live list,
74       * not a snapshot. Therefore any modification you make to the
75       * returned list will be present inside the JAXB object.
76       * This is why there is not a <CODE>set</CODE> method for the speedlimit property.
77       * 
78       * <p>
79       * For example, to add a new item, do as follows:
80       * <pre>
81       *    getSPEEDLIMIT().add(newItem);
82       * </pre>
83       * 
84       * 
85       * <p>
86       * Objects of the following type(s) are allowed in the list
87       * {@link SPEEDLIMIT }
88       * 
89       * 
90       */
91      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
92      public List<SPEEDLIMIT> getSPEEDLIMIT() {
93          if (speedlimit == null) {
94              speedlimit = new ArrayList<SPEEDLIMIT>();
95          }
96          return this.speedlimit;
97      }
98  
99      /**
100      * Gets the value of the id property.
101      * 
102      * @return
103      *     possible object is
104      *     {@link String }
105      *     
106      */
107     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
108     public String getID() {
109         return id;
110     }
111 
112     /**
113      * Sets the value of the id property.
114      * 
115      * @param value
116      *     allowed object is
117      *     {@link String }
118      *     
119      */
120     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
121     public void setID(String value) {
122         this.id = value;
123     }
124 
125     /**
126      * Gets the value of the lanetype property.
127      * 
128      * @return
129      *     possible object is
130      *     {@link String }
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 String getLANETYPE() {
135         return lanetype;
136     }
137 
138     /**
139      * Sets the value of the lanetype property.
140      * 
141      * @param value
142      *     allowed object is
143      *     {@link String }
144      *     
145      */
146     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
147     public void setLANETYPE(String value) {
148         this.lanetype = value;
149     }
150 
151     /**
152      * Gets the value of the designdirection property.
153      * 
154      */
155     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
156     public boolean isDESIGNDIRECTION() {
157         return designdirection;
158     }
159 
160     /**
161      * Sets the value of the designdirection property.
162      * 
163      */
164     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
165     public void setDESIGNDIRECTION(boolean value) {
166         this.designdirection = value;
167     }
168 
169 }