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.03.16 at 06:21:55 PM CET 
6   //
7   
8   
9   package org.opentrafficsim.xml.generated;
10  
11  import java.util.ArrayList;
12  import java.util.List;
13  import javax.annotation.Generated;
14  import javax.xml.bind.annotation.XmlAccessType;
15  import javax.xml.bind.annotation.XmlAccessorType;
16  import javax.xml.bind.annotation.XmlAttribute;
17  import javax.xml.bind.annotation.XmlElement;
18  import javax.xml.bind.annotation.XmlRootElement;
19  import javax.xml.bind.annotation.XmlSchemaType;
20  import javax.xml.bind.annotation.XmlType;
21  
22  
23  /**
24   * <p>Java class for anonymous complex type.
25   * 
26   * <p>The following schema fragment specifies the expected content contained within this class.
27   * 
28   * <pre>
29   * &lt;complexType&gt;
30   *   &lt;complexContent&gt;
31   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
32   *       &lt;sequence&gt;
33   *         &lt;element name="GTU" maxOccurs="unbounded"&gt;
34   *           &lt;complexType&gt;
35   *             &lt;complexContent&gt;
36   *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
37   *                 &lt;attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
38   *                 &lt;attribute name="WEIGHT" use="required" type="{http://www.w3.org/2001/XMLSchema}double" /&gt;
39   *               &lt;/restriction&gt;
40   *             &lt;/complexContent&gt;
41   *           &lt;/complexType&gt;
42   *         &lt;/element&gt;
43   *       &lt;/sequence&gt;
44   *       &lt;attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
45   *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/&gt;
46   *     &lt;/restriction&gt;
47   *   &lt;/complexContent&gt;
48   * &lt;/complexType&gt;
49   * </pre>
50   * 
51   * 
52   */
53  @XmlAccessorType(XmlAccessType.FIELD)
54  @XmlType(name = "", propOrder = {
55      "gtu"
56  })
57  @XmlRootElement(name = "GTUMIX")
58  @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
59  public class GTUMIX {
60  
61      @XmlElement(name = "GTU", required = true)
62      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
63      protected List<GTUMIX.GTU> gtu;
64      @XmlAttribute(name = "NAME", required = true)
65      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
66      protected String name;
67      @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
68      @XmlSchemaType(name = "anyURI")
69      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
70      protected String base;
71  
72      /**
73       * Gets the value of the gtu property.
74       * 
75       * <p>
76       * This accessor method returns a reference to the live list,
77       * not a snapshot. Therefore any modification you make to the
78       * returned list will be present inside the JAXB object.
79       * This is why there is not a <CODE>set</CODE> method for the gtu property.
80       * 
81       * <p>
82       * For example, to add a new item, do as follows:
83       * <pre>
84       *    getGTU().add(newItem);
85       * </pre>
86       * 
87       * 
88       * <p>
89       * Objects of the following type(s) are allowed in the list
90       * {@link GTUMIX.GTU }
91       * 
92       * 
93       */
94      @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
95      public List<GTUMIX.GTU> getGTU() {
96          if (gtu == null) {
97              gtu = new ArrayList<GTUMIX.GTU>();
98          }
99          return this.gtu;
100     }
101 
102     /**
103      * Gets the value of the name property.
104      * 
105      * @return
106      *     possible object is
107      *     {@link String }
108      *     
109      */
110     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
111     public String getNAME() {
112         return name;
113     }
114 
115     /**
116      * Sets the value of the name property.
117      * 
118      * @param value
119      *     allowed object is
120      *     {@link String }
121      *     
122      */
123     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
124     public void setNAME(String value) {
125         this.name = value;
126     }
127 
128     /**
129      * Gets the value of the base property.
130      * 
131      * @return
132      *     possible object is
133      *     {@link String }
134      *     
135      */
136     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
137     public String getBase() {
138         return base;
139     }
140 
141     /**
142      * Sets the value of the base property.
143      * 
144      * @param value
145      *     allowed object is
146      *     {@link String }
147      *     
148      */
149     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
150     public void setBase(String value) {
151         this.base = value;
152     }
153 
154 
155     /**
156      * <p>Java class for anonymous complex type.
157      * 
158      * <p>The following schema fragment specifies the expected content contained within this class.
159      * 
160      * <pre>
161      * &lt;complexType&gt;
162      *   &lt;complexContent&gt;
163      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
164      *       &lt;attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
165      *       &lt;attribute name="WEIGHT" use="required" type="{http://www.w3.org/2001/XMLSchema}double" /&gt;
166      *     &lt;/restriction&gt;
167      *   &lt;/complexContent&gt;
168      * &lt;/complexType&gt;
169      * </pre>
170      * 
171      * 
172      */
173     @XmlAccessorType(XmlAccessType.FIELD)
174     @XmlType(name = "")
175     @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
176     public static class GTU {
177 
178         @XmlAttribute(name = "NAME", required = true)
179         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
180         protected String name;
181         @XmlAttribute(name = "WEIGHT", required = true)
182         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
183         protected double weight;
184 
185         /**
186          * Gets the value of the name property.
187          * 
188          * @return
189          *     possible object is
190          *     {@link String }
191          *     
192          */
193         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
194         public String getNAME() {
195             return name;
196         }
197 
198         /**
199          * Sets the value of the name property.
200          * 
201          * @param value
202          *     allowed object is
203          *     {@link String }
204          *     
205          */
206         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
207         public void setNAME(String value) {
208             this.name = value;
209         }
210 
211         /**
212          * Gets the value of the weight property.
213          * 
214          */
215         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
216         public double getWEIGHT() {
217             return weight;
218         }
219 
220         /**
221          * Sets the value of the weight property.
222          * 
223          */
224         @Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
225         public void setWEIGHT(double value) {
226             this.weight = value;
227         }
228 
229     }
230 
231 }