View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4   // Any modifications to this file will be lost upon recompilation of the source schema.
5   // Generated on: 2016.11.03 at 01:02:34 PM CET
6   //
7   
8   package org.opentrafficsim.road.network.factory.vissim.xsd;
9   
10  import java.util.ArrayList;
11  import java.util.List;
12  
13  import javax.xml.bind.annotation.XmlAccessType;
14  import javax.xml.bind.annotation.XmlAccessorType;
15  import javax.xml.bind.annotation.XmlAttribute;
16  import javax.xml.bind.annotation.XmlElement;
17  import javax.xml.bind.annotation.XmlRootElement;
18  import javax.xml.bind.annotation.XmlSchemaType;
19  import javax.xml.bind.annotation.XmlType;
20  
21  /**
22   * <p>
23   * Java class for anonymous complex type.
24   * <p>
25   * The following schema fragment specifies the expected content contained within this class.
26   *
27   * <pre>
28   * &lt;complexType>
29   *   &lt;complexContent>
30   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31   *       &lt;sequence>
32   *         &lt;element name="SPEEDLIMIT" maxOccurs="unbounded">
33   *           &lt;complexType>
34   *             &lt;complexContent>
35   *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36   *                 &lt;attribute name="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
37   *                 &lt;attribute name="LEGALSPEEDLIMIT" use="required" type="{http://www.opentrafficsim.org/ots}SPEEDTYPE" />
38   *               &lt;/restriction>
39   *             &lt;/complexContent>
40   *           &lt;/complexType>
41   *         &lt;/element>
42   *       &lt;/sequence>
43   *       &lt;attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
44   *       &lt;attribute name="DEFAULTLANEWIDTH" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
45   *       &lt;attribute name="DEFAULTLANEKEEPING" use="required" type="{http://www.opentrafficsim.org/ots}LANEKEEPINGTYPE" />
46   *       &lt;attribute name="DEFAULTOVERTAKING" use="required" type="{http://www.opentrafficsim.org/ots}OVERTAKINGTYPE" />
47   *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
48   *     &lt;/restriction>
49   *   &lt;/complexContent>
50   * &lt;/complexType>
51   * </pre>
52   */
53  @XmlAccessorType(XmlAccessType.FIELD)
54  @XmlType(name = "", propOrder = {"speedlimit"})
55  @XmlRootElement(name = "ROADTYPE")
56  public class ROADTYPE
57  {
58  
59      @XmlElement(name = "SPEEDLIMIT", required = true)
60      protected List<ROADTYPE.SPEEDLIMIT> speedlimit;
61  
62      @XmlAttribute(name = "NAME", required = true)
63      protected String name;
64  
65      @XmlAttribute(name = "DEFAULTLANEWIDTH", required = true)
66      protected String defaultlanewidth;
67  
68      @XmlAttribute(name = "DEFAULTLANEKEEPING", required = true)
69      protected String defaultlanekeeping;
70  
71      @XmlAttribute(name = "DEFAULTOVERTAKING", required = true)
72      protected String defaultovertaking;
73  
74      @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
75      @XmlSchemaType(name = "anyURI")
76      protected String base;
77  
78      /**
79       * Gets the value of the speedlimit property.
80       * <p>
81       * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the
82       * returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the
83       * speedlimit property.
84       * <p>
85       * For example, to add a new item, do as follows:
86       * 
87       * <pre>
88       * getSPEEDLIMIT().add(newItem);
89       * </pre>
90       * <p>
91       * Objects of the following type(s) are allowed in the list {@link ROADTYPE.SPEEDLIMIT }
92       */
93      public List<ROADTYPE.SPEEDLIMIT> getSPEEDLIMIT()
94      {
95          if (speedlimit == null)
96          {
97              speedlimit = new ArrayList<ROADTYPE.SPEEDLIMIT>();
98          }
99          return this.speedlimit;
100     }
101 
102     /**
103      * Gets the value of the name property.
104      * @return possible object is {@link String }
105      */
106     public String getNAME()
107     {
108         return name;
109     }
110 
111     /**
112      * Sets the value of the name property.
113      * @param value String; allowed object is {@link String }
114      */
115     public void setNAME(String value)
116     {
117         this.name = value;
118     }
119 
120     /**
121      * Gets the value of the defaultlanewidth property.
122      * @return possible object is {@link String }
123      */
124     public String getDEFAULTLANEWIDTH()
125     {
126         return defaultlanewidth;
127     }
128 
129     /**
130      * Sets the value of the defaultlanewidth property.
131      * @param value String; allowed object is {@link String }
132      */
133     public void setDEFAULTLANEWIDTH(String value)
134     {
135         this.defaultlanewidth = value;
136     }
137 
138     /**
139      * Gets the value of the defaultlanekeeping property.
140      * @return possible object is {@link String }
141      */
142     public String getDEFAULTLANEKEEPING()
143     {
144         return defaultlanekeeping;
145     }
146 
147     /**
148      * Sets the value of the defaultlanekeeping property.
149      * @param value String; allowed object is {@link String }
150      */
151     public void setDEFAULTLANEKEEPING(String value)
152     {
153         this.defaultlanekeeping = value;
154     }
155 
156     /**
157      * Gets the value of the defaultovertaking property.
158      * @return possible object is {@link String }
159      */
160     public String getDEFAULTOVERTAKING()
161     {
162         return defaultovertaking;
163     }
164 
165     /**
166      * Sets the value of the defaultovertaking property.
167      * @param value String; allowed object is {@link String }
168      */
169     public void setDEFAULTOVERTAKING(String value)
170     {
171         this.defaultovertaking = value;
172     }
173 
174     /**
175      * Gets the value of the base property.
176      * @return possible object is {@link String }
177      */
178     public String getBase()
179     {
180         return base;
181     }
182 
183     /**
184      * Sets the value of the base property.
185      * @param value String; allowed object is {@link String }
186      */
187     public void setBase(String value)
188     {
189         this.base = value;
190     }
191 
192     /**
193      * <p>
194      * Java class for anonymous complex type.
195      * <p>
196      * The following schema fragment specifies the expected content contained within this class.
197      *
198      * <pre>
199      * &lt;complexType>
200      *   &lt;complexContent>
201      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
202      *       &lt;attribute name="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
203      *       &lt;attribute name="LEGALSPEEDLIMIT" use="required" type="{http://www.opentrafficsim.org/ots}SPEEDTYPE" />
204      *     &lt;/restriction>
205      *   &lt;/complexContent>
206      * &lt;/complexType>
207      * </pre>
208      */
209     @XmlAccessorType(XmlAccessType.FIELD)
210     @XmlType(name = "")
211     public static class SPEEDLIMIT
212     {
213 
214         @XmlAttribute(name = "GTUTYPE", required = true)
215         protected String gtutype;
216 
217         @XmlAttribute(name = "LEGALSPEEDLIMIT", required = true)
218         protected String legalspeedlimit;
219 
220         /**
221          * Gets the value of the gtutype property.
222          * @return possible object is {@link String }
223          */
224         public String getGTUTYPE()
225         {
226             return gtutype;
227         }
228 
229         /**
230          * Sets the value of the gtutype property.
231          * @param value String; allowed object is {@link String }
232          */
233         public void setGTUTYPE(String value)
234         {
235             this.gtutype = value;
236         }
237 
238         /**
239          * Gets the value of the legalspeedlimit property.
240          * @return possible object is {@link String }
241          */
242         public String getLEGALSPEEDLIMIT()
243         {
244             return legalspeedlimit;
245         }
246 
247         /**
248          * Sets the value of the legalspeedlimit property.
249          * @param value String; allowed object is {@link String }
250          */
251         public void setLEGALSPEEDLIMIT(String value)
252         {
253             this.legalspeedlimit = value;
254         }
255 
256     }
257 
258 }