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.XmlElements;
20  import javax.xml.bind.annotation.XmlSchemaType;
21  import javax.xml.bind.annotation.XmlSeeAlso;
22  import javax.xml.bind.annotation.XmlType;
23  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
24  import org.opentrafficsim.xml.bindings.LaneKeepingAdapter;
25  import org.opentrafficsim.xml.bindings.types.LaneKeepingType;
26  
27  
28  /**
29   * <p>Java class for BASICROADLAYOUT complex type.
30   * 
31   * <p>The following schema fragment specifies the expected content contained within this class.
32   * 
33   * <pre>
34   * &lt;complexType name="BASICROADLAYOUT"&gt;
35   *   &lt;complexContent&gt;
36   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
37   *       &lt;sequence&gt;
38   *         &lt;sequence maxOccurs="unbounded"&gt;
39   *           &lt;choice&gt;
40   *             &lt;element name="LANE" type="{http://www.opentrafficsim.org/ots}CSELANE" maxOccurs="unbounded" minOccurs="0"/&gt;
41   *             &lt;element name="NOTRAFFICLANE" type="{http://www.opentrafficsim.org/ots}CSENOTRAFFICLANE" maxOccurs="unbounded" minOccurs="0"/&gt;
42   *             &lt;element name="SHOULDER" type="{http://www.opentrafficsim.org/ots}CSESHOULDER" maxOccurs="unbounded" minOccurs="0"/&gt;
43   *             &lt;element name="STRIPE" type="{http://www.opentrafficsim.org/ots}CSESTRIPE" maxOccurs="unbounded" minOccurs="0"/&gt;
44   *           &lt;/choice&gt;
45   *         &lt;/sequence&gt;
46   *         &lt;element ref="{http://www.opentrafficsim.org/ots}SPEEDLIMIT" maxOccurs="unbounded" minOccurs="0"/&gt;
47   *       &lt;/sequence&gt;
48   *       &lt;attribute name="LANEKEEPING" type="{http://www.opentrafficsim.org/ots}LANEKEEPINGTYPE" /&gt;
49   *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&gt;
50   *     &lt;/restriction&gt;
51   *   &lt;/complexContent&gt;
52   * &lt;/complexType&gt;
53   * </pre>
54   * 
55   * 
56   */
57  @XmlAccessorType(XmlAccessType.FIELD)
58  @XmlType(name = "BASICROADLAYOUT", propOrder = {
59      "laneOrNOTRAFFICLANEOrSHOULDER",
60      "speedlimit"
61  })
62  @XmlSeeAlso({
63      org.opentrafficsim.xml.generated.LINK.ROADLAYOUT.class,
64      org.opentrafficsim.xml.generated.ROADLAYOUT.class
65  })
66  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
67  public class BASICROADLAYOUT
68      implements Serializable
69  {
70  
71      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
72      private final static long serialVersionUID = 10102L;
73      @XmlElements({
74          @XmlElement(name = "LANE", type = CSELANE.class),
75          @XmlElement(name = "NOTRAFFICLANE", type = CSENOTRAFFICLANE.class),
76          @XmlElement(name = "SHOULDER", type = CSESHOULDER.class),
77          @XmlElement(name = "STRIPE", type = CSESTRIPE.class)
78      })
79      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
80      protected List<Serializable> laneOrNOTRAFFICLANEOrSHOULDER;
81      @XmlElement(name = "SPEEDLIMIT")
82      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
83      protected List<SPEEDLIMIT> speedlimit;
84      @XmlAttribute(name = "LANEKEEPING")
85      @XmlJavaTypeAdapter(LaneKeepingAdapter.class)
86      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
87      protected LaneKeepingType lanekeeping;
88      @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
89      @XmlSchemaType(name = "anyURI")
90      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
91      protected String base;
92  
93      /**
94       * Gets the value of the laneOrNOTRAFFICLANEOrSHOULDER property.
95       * 
96       * <p>
97       * This accessor method returns a reference to the live list,
98       * not a snapshot. Therefore any modification you make to the
99       * returned list will be present inside the JAXB object.
100      * This is why there is not a <CODE>set</CODE> method for the laneOrNOTRAFFICLANEOrSHOULDER property.
101      * 
102      * <p>
103      * For example, to add a new item, do as follows:
104      * <pre>
105      *    getLANEOrNOTRAFFICLANEOrSHOULDER().add(newItem);
106      * </pre>
107      * 
108      * 
109      * <p>
110      * Objects of the following type(s) are allowed in the list
111      * {@link CSELANE }
112      * {@link CSENOTRAFFICLANE }
113      * {@link CSESHOULDER }
114      * {@link CSESTRIPE }
115      * 
116      * 
117      */
118     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
119     public List<Serializable> getLANEOrNOTRAFFICLANEOrSHOULDER() {
120         if (laneOrNOTRAFFICLANEOrSHOULDER == null) {
121             laneOrNOTRAFFICLANEOrSHOULDER = new ArrayList<Serializable>();
122         }
123         return this.laneOrNOTRAFFICLANEOrSHOULDER;
124     }
125 
126     /**
127      * Gets the value of the speedlimit property.
128      * 
129      * <p>
130      * This accessor method returns a reference to the live list,
131      * not a snapshot. Therefore any modification you make to the
132      * returned list will be present inside the JAXB object.
133      * This is why there is not a <CODE>set</CODE> method for the speedlimit property.
134      * 
135      * <p>
136      * For example, to add a new item, do as follows:
137      * <pre>
138      *    getSPEEDLIMIT().add(newItem);
139      * </pre>
140      * 
141      * 
142      * <p>
143      * Objects of the following type(s) are allowed in the list
144      * {@link SPEEDLIMIT }
145      * 
146      * 
147      */
148     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
149     public List<SPEEDLIMIT> getSPEEDLIMIT() {
150         if (speedlimit == null) {
151             speedlimit = new ArrayList<SPEEDLIMIT>();
152         }
153         return this.speedlimit;
154     }
155 
156     /**
157      * Gets the value of the lanekeeping property.
158      * 
159      * @return
160      *     possible object is
161      *     {@link String }
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 LaneKeepingType getLANEKEEPING() {
166         return lanekeeping;
167     }
168 
169     /**
170      * Sets the value of the lanekeeping property.
171      * 
172      * @param value
173      *     allowed object is
174      *     {@link String }
175      *     
176      */
177     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
178     public void setLANEKEEPING(LaneKeepingType value) {
179         this.lanekeeping = value;
180     }
181 
182     /**
183      * Gets the value of the base property.
184      * 
185      * @return
186      *     possible object is
187      *     {@link String }
188      *     
189      */
190     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
191     public String getBase() {
192         return base;
193     }
194 
195     /**
196      * Sets the value of the base property.
197      * 
198      * @param value
199      *     allowed object is
200      *     {@link String }
201      *     
202      */
203     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-04-20T02:12:22+02:00", comments = "JAXB RI v2.3.0")
204     public void setBase(String value) {
205         this.base = value;
206     }
207 
208 }