View Javadoc
1   //
2   // This file was generated by the Eclipse Implementation of JAXB, v2.3.7 
3   // See https://eclipse-ee4j.github.io/jaxb-ri 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2024.08.29 at 06:50:16 PM 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  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
21  import org.opentrafficsim.xml.bindings.StringAdapter;
22  import org.opentrafficsim.xml.bindings.types.StringType;
23  
24  
25  /**
26   * <p>Java class for CseLane complex type.
27   * 
28   * <p>The following schema fragment specifies the expected content contained within this class.
29   * 
30   * <pre>
31   * &lt;complexType name="CseLane"&gt;
32   *   &lt;complexContent&gt;
33   *     &lt;extension base="{http://www.opentrafficsim.org/ots}CrossSectionElement"&gt;
34   *       &lt;sequence&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.opentrafficsim.org/ots}IdType" /&gt;
38   *       &lt;attribute name="LaneType" use="required" type="{http://www.opentrafficsim.org/ots}string" /&gt;
39   *     &lt;/extension&gt;
40   *   &lt;/complexContent&gt;
41   * &lt;/complexType&gt;
42   * </pre>
43   * 
44   * 
45   */
46  @XmlAccessorType(XmlAccessType.FIELD)
47  @XmlType(name = "CseLane", propOrder = {
48      "speedLimit"
49  })
50  @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
51  public class CseLane
52      extends CrossSectionElement
53      implements Serializable
54  {
55  
56      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
57      private final static long serialVersionUID = 10102L;
58      @XmlElement(name = "SpeedLimit")
59      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
60      protected List<SpeedLimit> speedLimit;
61      @XmlAttribute(name = "Id", required = true)
62      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
63      protected String id;
64      @XmlAttribute(name = "LaneType", required = true)
65      @XmlJavaTypeAdapter(StringAdapter.class)
66      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
67      protected StringType laneType;
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", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
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", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
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", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
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", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
134     public StringType 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", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
147     public void setLaneType(StringType value) {
148         this.laneType = value;
149     }
150 
151 }