1
2
3
4
5
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.XmlRootElement;
20 import javax.xml.bind.annotation.XmlType;
21 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
22 import org.opentrafficsim.xml.bindings.DoubleAdapter;
23 import org.opentrafficsim.xml.bindings.StringAdapter;
24 import org.opentrafficsim.xml.bindings.types.DoubleType;
25 import org.opentrafficsim.xml.bindings.types.StringType;
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59 @XmlAccessorType(XmlAccessType.FIELD)
60 @XmlType(name = "", propOrder = {
61 "route",
62 "randomStream"
63 })
64 @XmlRootElement(name = "RouteMix")
65 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
66 public class RouteMix
67 implements Serializable
68 {
69
70 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
71 private final static long serialVersionUID = 10102L;
72 @XmlElement(name = "Route", required = true)
73 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
74 protected List<RouteMix.Route> route;
75 @XmlElement(name = "RandomStream")
76 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
77 protected RandomStreamSource randomStream;
78 @XmlAttribute(name = "Id", required = true)
79 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
80 protected String id;
81 @XmlAttribute(name = "GtuType", required = true)
82 @XmlJavaTypeAdapter(StringAdapter.class)
83 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
84 protected StringType gtuType;
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
109 public List<RouteMix.Route> getRoute() {
110 if (route == null) {
111 route = new ArrayList<RouteMix.Route>();
112 }
113 return this.route;
114 }
115
116
117
118
119
120
121
122
123
124 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
125 public RandomStreamSource getRandomStream() {
126 return randomStream;
127 }
128
129
130
131
132
133
134
135
136
137 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
138 public void setRandomStream(RandomStreamSource value) {
139 this.randomStream = value;
140 }
141
142
143
144
145
146
147
148
149
150 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
151 public String getId() {
152 return id;
153 }
154
155
156
157
158
159
160
161
162
163 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
164 public void setId(String value) {
165 this.id = value;
166 }
167
168
169
170
171
172
173
174
175
176 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
177 public StringType getGtuType() {
178 return gtuType;
179 }
180
181
182
183
184
185
186
187
188
189 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
190 public void setGtuType(StringType value) {
191 this.gtuType = value;
192 }
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213 @XmlAccessorType(XmlAccessType.FIELD)
214 @XmlType(name = "")
215 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
216 public static class Route
217 implements Serializable
218 {
219
220 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
221 private final static long serialVersionUID = 10102L;
222 @XmlAttribute(name = "Id", required = true)
223 @XmlJavaTypeAdapter(StringAdapter.class)
224 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
225 protected StringType id;
226 @XmlAttribute(name = "Weight", required = true)
227 @XmlJavaTypeAdapter(DoubleAdapter.class)
228 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
229 protected DoubleType weight;
230
231
232
233
234
235
236
237
238
239 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
240 public StringType getId() {
241 return id;
242 }
243
244
245
246
247
248
249
250
251
252 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
253 public void setId(StringType value) {
254 this.id = value;
255 }
256
257
258
259
260
261
262
263
264
265 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
266 public DoubleType getWeight() {
267 return weight;
268 }
269
270
271
272
273
274
275
276
277
278 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
279 public void setWeight(DoubleType value) {
280 this.weight = value;
281 }
282
283 }
284
285 }