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 * <complexType>
30 * <complexContent>
31 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32 * <sequence>
33 * <element name="GTU" maxOccurs="unbounded">
34 * <complexType>
35 * <complexContent>
36 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
37 * <attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
38 * <attribute name="WEIGHT" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
39 * </restriction>
40 * </complexContent>
41 * </complexType>
42 * </element>
43 * </sequence>
44 * <attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
45 * <attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
46 * </restriction>
47 * </complexContent>
48 * </complexType>
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 * <complexType>
162 * <complexContent>
163 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
164 * <attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
165 * <attribute name="WEIGHT" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
166 * </restriction>
167 * </complexContent>
168 * </complexType>
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 }