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.InterpolationAdapter;
23 import org.opentrafficsim.xml.bindings.PositiveFactorAdapter;
24 import org.opentrafficsim.xml.bindings.StringAdapter;
25 import org.opentrafficsim.xml.bindings.types.DoubleType;
26 import org.opentrafficsim.xml.bindings.types.InterpolationType;
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 @XmlAccessorType(XmlAccessType.FIELD)
73 @XmlType(name = "", propOrder = {
74 "globalTime",
75 "category",
76 "cell",
77 "randomStream"
78 })
79 @XmlRootElement(name = "Od")
80 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
81 public class Od
82 implements Serializable
83 {
84
85 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
86 private final static long serialVersionUID = 10102L;
87 @XmlElement(name = "GlobalTime")
88 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
89 protected GlobalTimeType globalTime;
90 @XmlElement(name = "Category")
91 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
92 protected List<CategoryType> category;
93 @XmlElement(name = "Cell")
94 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
95 protected List<Od.Cell> cell;
96 @XmlElement(name = "RandomStream")
97 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
98 protected RandomStreamSource randomStream;
99 @XmlAttribute(name = "Id", required = true)
100 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
101 protected String id;
102 @XmlAttribute(name = "SinkType", required = true)
103 @XmlJavaTypeAdapter(StringAdapter.class)
104 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
105 protected StringType sinkType;
106 @XmlAttribute(name = "GlobalInterpolation")
107 @XmlJavaTypeAdapter(InterpolationAdapter.class)
108 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
109 protected InterpolationType globalInterpolation;
110 @XmlAttribute(name = "GlobalFactor")
111 @XmlJavaTypeAdapter(PositiveFactorAdapter.class)
112 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
113 protected DoubleType globalFactor;
114 @XmlAttribute(name = "Options")
115 @XmlJavaTypeAdapter(StringAdapter.class)
116 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
117 protected StringType options;
118
119
120
121
122
123
124
125
126
127 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
128 public GlobalTimeType getGlobalTime() {
129 return globalTime;
130 }
131
132
133
134
135
136
137
138
139
140 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
141 public void setGlobalTime(GlobalTimeType value) {
142 this.globalTime = value;
143 }
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
168 public List<CategoryType> getCategory() {
169 if (category == null) {
170 category = new ArrayList<CategoryType>();
171 }
172 return this.category;
173 }
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
198 public List<Od.Cell> getCell() {
199 if (cell == null) {
200 cell = new ArrayList<Od.Cell>();
201 }
202 return this.cell;
203 }
204
205
206
207
208
209
210
211
212
213 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
214 public RandomStreamSource getRandomStream() {
215 return randomStream;
216 }
217
218
219
220
221
222
223
224
225
226 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
227 public void setRandomStream(RandomStreamSource value) {
228 this.randomStream = value;
229 }
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 String 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(String 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 StringType getSinkType() {
267 return sinkType;
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 setSinkType(StringType value) {
280 this.sinkType = value;
281 }
282
283
284
285
286
287
288
289
290
291 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
292 public InterpolationType getGlobalInterpolation() {
293 if (globalInterpolation == null) {
294 return new InterpolationAdapter().unmarshal("LINEAR");
295 } else {
296 return globalInterpolation;
297 }
298 }
299
300
301
302
303
304
305
306
307
308 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
309 public void setGlobalInterpolation(InterpolationType value) {
310 this.globalInterpolation = value;
311 }
312
313
314
315
316
317
318
319
320
321 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
322 public DoubleType getGlobalFactor() {
323 if (globalFactor == null) {
324 return new PositiveFactorAdapter().unmarshal("1.0");
325 } else {
326 return globalFactor;
327 }
328 }
329
330
331
332
333
334
335
336
337
338 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
339 public void setGlobalFactor(DoubleType value) {
340 this.globalFactor = value;
341 }
342
343
344
345
346
347
348
349
350
351 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
352 public StringType getOptions() {
353 return options;
354 }
355
356
357
358
359
360
361
362
363
364 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
365 public void setOptions(StringType value) {
366 this.options = value;
367 }
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394 @XmlAccessorType(XmlAccessType.FIELD)
395 @XmlType(name = "", propOrder = {
396 "level"
397 })
398 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
399 public static class Cell
400 implements Serializable
401 {
402
403 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
404 private final static long serialVersionUID = 10102L;
405 @XmlElement(name = "Level")
406 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
407 protected List<LevelTimeType> level;
408 @XmlAttribute(name = "Origin", required = true)
409 @XmlJavaTypeAdapter(StringAdapter.class)
410 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
411 protected StringType origin;
412 @XmlAttribute(name = "Destination", required = true)
413 @XmlJavaTypeAdapter(StringAdapter.class)
414 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
415 protected StringType destination;
416 @XmlAttribute(name = "Category")
417 @XmlJavaTypeAdapter(StringAdapter.class)
418 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
419 protected StringType category;
420 @XmlAttribute(name = "Interpolation")
421 @XmlJavaTypeAdapter(InterpolationAdapter.class)
422 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
423 protected InterpolationType interpolation;
424 @XmlAttribute(name = "Factor")
425 @XmlJavaTypeAdapter(PositiveFactorAdapter.class)
426 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
427 protected DoubleType factor;
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
452 public List<LevelTimeType> getLevel() {
453 if (level == null) {
454 level = new ArrayList<LevelTimeType>();
455 }
456 return this.level;
457 }
458
459
460
461
462
463
464
465
466
467 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
468 public StringType getOrigin() {
469 return origin;
470 }
471
472
473
474
475
476
477
478
479
480 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
481 public void setOrigin(StringType value) {
482 this.origin = value;
483 }
484
485
486
487
488
489
490
491
492
493 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
494 public StringType getDestination() {
495 return destination;
496 }
497
498
499
500
501
502
503
504
505
506 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
507 public void setDestination(StringType value) {
508 this.destination = value;
509 }
510
511
512
513
514
515
516
517
518
519 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
520 public StringType getCategory() {
521 return category;
522 }
523
524
525
526
527
528
529
530
531
532 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
533 public void setCategory(StringType value) {
534 this.category = value;
535 }
536
537
538
539
540
541
542
543
544
545 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
546 public InterpolationType getInterpolation() {
547 return interpolation;
548 }
549
550
551
552
553
554
555
556
557
558 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
559 public void setInterpolation(InterpolationType value) {
560 this.interpolation = value;
561 }
562
563
564
565
566
567
568
569
570
571 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
572 public DoubleType getFactor() {
573 return factor;
574 }
575
576
577
578
579
580
581
582
583
584 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
585 public void setFactor(DoubleType value) {
586 this.factor = value;
587 }
588
589 }
590
591 }