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.FrequencyAdapter;
23 import org.opentrafficsim.xml.bindings.LinearDensityAdapter;
24 import org.opentrafficsim.xml.bindings.StringAdapter;
25 import org.opentrafficsim.xml.bindings.types.FrequencyType;
26 import org.opentrafficsim.xml.bindings.types.LinearDensityType;
27 import org.opentrafficsim.xml.bindings.types.StringType;
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75 @XmlAccessorType(XmlAccessType.FIELD)
76 @XmlType(name = "", propOrder = {
77 "from",
78 "via",
79 "to",
80 "cost"
81 })
82 @XmlRootElement(name = "ShortestRoute")
83 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
84 public class ShortestRoute
85 implements Serializable
86 {
87
88 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
89 private final static long serialVersionUID = 10102L;
90 @XmlElement(name = "From", required = true, type = String.class)
91 @XmlJavaTypeAdapter(StringAdapter.class)
92 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
93 protected StringType from;
94 @XmlElement(name = "Via", type = String.class)
95 @XmlJavaTypeAdapter(StringAdapter.class)
96 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
97 protected List<StringType> via;
98 @XmlElement(name = "To", required = true, type = String.class)
99 @XmlJavaTypeAdapter(StringAdapter.class)
100 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
101 protected StringType to;
102 @XmlElement(name = "Cost")
103 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
104 protected ShortestRoute.Cost cost;
105 @XmlAttribute(name = "Id", required = true)
106 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
107 protected String id;
108 @XmlAttribute(name = "GtuType", required = true)
109 @XmlJavaTypeAdapter(StringAdapter.class)
110 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
111 protected StringType gtuType;
112
113
114
115
116
117
118
119
120
121 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
122 public StringType getFrom() {
123 return from;
124 }
125
126
127
128
129
130
131
132
133
134 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
135 public void setFrom(StringType value) {
136 this.from = value;
137 }
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
162 public List<StringType> getVia() {
163 if (via == null) {
164 via = new ArrayList<StringType>();
165 }
166 return this.via;
167 }
168
169
170
171
172
173
174
175
176
177 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
178 public StringType getTo() {
179 return to;
180 }
181
182
183
184
185
186
187
188
189
190 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
191 public void setTo(StringType value) {
192 this.to = value;
193 }
194
195
196
197
198
199
200
201
202
203 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
204 public ShortestRoute.Cost getCost() {
205 return cost;
206 }
207
208
209
210
211
212
213
214
215
216 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
217 public void setCost(ShortestRoute.Cost value) {
218 this.cost = value;
219 }
220
221
222
223
224
225
226
227
228
229 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
230 public String getId() {
231 return id;
232 }
233
234
235
236
237
238
239
240
241
242 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
243 public void setId(String value) {
244 this.id = value;
245 }
246
247
248
249
250
251
252
253
254
255 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
256 public StringType getGtuType() {
257 return gtuType;
258 }
259
260
261
262
263
264
265
266
267
268 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
269 public void setGtuType(StringType value) {
270 this.gtuType = value;
271 }
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304 @XmlAccessorType(XmlAccessType.FIELD)
305 @XmlType(name = "", propOrder = {
306 "distance",
307 "freeFlowTime",
308 "distanceAndFreeFlowTime"
309 })
310 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
311 public static class Cost
312 implements Serializable
313 {
314
315 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
316 private final static long serialVersionUID = 10102L;
317 @XmlElement(name = "Distance")
318 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
319 protected EmptyType distance;
320 @XmlElement(name = "FreeFlowTime")
321 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
322 protected EmptyType freeFlowTime;
323 @XmlElement(name = "DistanceAndFreeFlowTime")
324 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
325 protected ShortestRoute.Cost.DistanceAndFreeFlowTime distanceAndFreeFlowTime;
326
327
328
329
330
331
332
333
334
335 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
336 public EmptyType getDistance() {
337 return distance;
338 }
339
340
341
342
343
344
345
346
347
348 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
349 public void setDistance(EmptyType value) {
350 this.distance = value;
351 }
352
353
354
355
356
357
358
359
360
361 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
362 public EmptyType getFreeFlowTime() {
363 return freeFlowTime;
364 }
365
366
367
368
369
370
371
372
373
374 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
375 public void setFreeFlowTime(EmptyType value) {
376 this.freeFlowTime = value;
377 }
378
379
380
381
382
383
384
385
386
387 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
388 public ShortestRoute.Cost.DistanceAndFreeFlowTime getDistanceAndFreeFlowTime() {
389 return distanceAndFreeFlowTime;
390 }
391
392
393
394
395
396
397
398
399
400 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
401 public void setDistanceAndFreeFlowTime(ShortestRoute.Cost.DistanceAndFreeFlowTime value) {
402 this.distanceAndFreeFlowTime = value;
403 }
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424 @XmlAccessorType(XmlAccessType.FIELD)
425 @XmlType(name = "")
426 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
427 public static class DistanceAndFreeFlowTime
428 implements Serializable
429 {
430
431 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
432 private final static long serialVersionUID = 10102L;
433 @XmlAttribute(name = "DistanceCost")
434 @XmlJavaTypeAdapter(LinearDensityAdapter.class)
435 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
436 protected LinearDensityType distanceCost;
437 @XmlAttribute(name = "TimeCost")
438 @XmlJavaTypeAdapter(FrequencyAdapter.class)
439 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
440 protected FrequencyType timeCost;
441
442
443
444
445
446
447
448
449
450 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
451 public LinearDensityType getDistanceCost() {
452 return distanceCost;
453 }
454
455
456
457
458
459
460
461
462
463 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
464 public void setDistanceCost(LinearDensityType value) {
465 this.distanceCost = value;
466 }
467
468
469
470
471
472
473
474
475
476 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
477 public FrequencyType getTimeCost() {
478 return timeCost;
479 }
480
481
482
483
484
485
486
487
488
489 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
490 public void setTimeCost(FrequencyType value) {
491 this.timeCost = value;
492 }
493
494 }
495
496 }
497
498 }