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="ROUTE" maxOccurs="unbounded">
33   *           &lt;complexType>
34   *             &lt;complexContent>
35   *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36   *                 &lt;attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
37   *                 &lt;attribute name="WEIGHT" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
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 ref="{http://www.w3.org/XML/1998/namespace}base"/>
45   *     &lt;/restriction>
46   *   &lt;/complexContent>
47   * &lt;/complexType>
48   * </pre>
49   */
50  @XmlAccessorType(XmlAccessType.FIELD)
51  @XmlType(name = "", propOrder = {"route"})
52  @XmlRootElement(name = "ROUTEMIX")
53  public class ROUTEMIX
54  {
55  
56      @XmlElement(name = "ROUTE", required = true)
57      protected List<ROUTEMIX.ROUTE> route;
58  
59      @XmlAttribute(name = "NAME", required = true)
60      protected String name;
61  
62      @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
63      @XmlSchemaType(name = "anyURI")
64      protected String base;
65  
66      /**
67       * Gets the value of the route property.
68       * <p>
69       * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the
70       * returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the route
71       * property.
72       * <p>
73       * For example, to add a new item, do as follows:
74       * 
75       * <pre>
76       * getROUTE().add(newItem);
77       * </pre>
78       * <p>
79       * Objects of the following type(s) are allowed in the list {@link ROUTEMIX.ROUTE }
80       */
81      public List<ROUTEMIX.ROUTE> getROUTE()
82      {
83          if (route == null)
84          {
85              route = new ArrayList<ROUTEMIX.ROUTE>();
86          }
87          return this.route;
88      }
89  
90      /**
91       * Gets the value of the name property.
92       * @return possible object is {@link String }
93       */
94      public String getNAME()
95      {
96          return name;
97      }
98  
99      /**
100      * Sets the value of the name property.
101      * @param value String; allowed object is {@link String }
102      */
103     public void setNAME(String value)
104     {
105         this.name = value;
106     }
107 
108     /**
109      * Gets the value of the base property.
110      * @return possible object is {@link String }
111      */
112     public String getBase()
113     {
114         return base;
115     }
116 
117     /**
118      * Sets the value of the base property.
119      * @param value String; allowed object is {@link String }
120      */
121     public void setBase(String value)
122     {
123         this.base = value;
124     }
125 
126     /**
127      * <p>
128      * Java class for anonymous complex type.
129      * <p>
130      * The following schema fragment specifies the expected content contained within this class.
131      *
132      * <pre>
133      * &lt;complexType>
134      *   &lt;complexContent>
135      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
136      *       &lt;attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
137      *       &lt;attribute name="WEIGHT" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
138      *     &lt;/restriction>
139      *   &lt;/complexContent>
140      * &lt;/complexType>
141      * </pre>
142      */
143     @XmlAccessorType(XmlAccessType.FIELD)
144     @XmlType(name = "")
145     public static class ROUTE
146     {
147 
148         @XmlAttribute(name = "NAME", required = true)
149         protected String name;
150 
151         @XmlAttribute(name = "WEIGHT", required = true)
152         protected double weight;
153 
154         /**
155          * Gets the value of the name property.
156          * @return possible object is {@link String }
157          */
158         public String getNAME()
159         {
160             return name;
161         }
162 
163         /**
164          * Sets the value of the name property.
165          * @param value String; allowed object is {@link String }
166          */
167         public void setNAME(String value)
168         {
169             this.name = value;
170         }
171 
172         /**
173          * Gets the value of the weight property.
174          */
175         public double getWEIGHT()
176         {
177             return weight;
178         }
179 
180         /**
181          * Sets the value of the weight property.
182          */
183         public void setWEIGHT(double value)
184         {
185             this.weight = value;
186         }
187 
188     }
189 
190 }