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.DoublePositiveInclusiveAdapter;
23 import org.opentrafficsim.xml.bindings.types.DoubleType;
24
25
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 @XmlAccessorType(XmlAccessType.FIELD)
57 @XmlType(name = "", propOrder = {
58 "gtuTemplate",
59 "randomStream"
60 })
61 @XmlRootElement(name = "GtuTemplateMix")
62 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
63 public class GtuTemplateMix
64 implements Serializable
65 {
66
67 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
68 private final static long serialVersionUID = 10102L;
69 @XmlElement(name = "GtuTemplate", required = true)
70 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
71 protected List<GtuTemplateMix.GtuTemplate> gtuTemplate;
72 @XmlElement(name = "RandomStream")
73 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
74 protected RandomStreamSource randomStream;
75 @XmlAttribute(name = "Id", required = true)
76 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
77 protected String id;
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
102 public List<GtuTemplateMix.GtuTemplate> getGtuTemplate() {
103 if (gtuTemplate == null) {
104 gtuTemplate = new ArrayList<GtuTemplateMix.GtuTemplate>();
105 }
106 return this.gtuTemplate;
107 }
108
109
110
111
112
113
114
115
116
117 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
118 public RandomStreamSource getRandomStream() {
119 return randomStream;
120 }
121
122
123
124
125
126
127
128
129
130 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
131 public void setRandomStream(RandomStreamSource value) {
132 this.randomStream = value;
133 }
134
135
136
137
138
139
140
141
142
143 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
144 public String getId() {
145 return id;
146 }
147
148
149
150
151
152
153
154
155
156 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
157 public void setId(String value) {
158 this.id = value;
159 }
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180 @XmlAccessorType(XmlAccessType.FIELD)
181 @XmlType(name = "")
182 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
183 public static class GtuTemplate
184 implements Serializable
185 {
186
187 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
188 private final static long serialVersionUID = 10102L;
189 @XmlAttribute(name = "Id", required = true)
190 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
191 protected String id;
192 @XmlAttribute(name = "Weight", required = true)
193 @XmlJavaTypeAdapter(DoublePositiveInclusiveAdapter.class)
194 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
195 protected DoubleType weight;
196
197
198
199
200
201
202
203
204
205 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
206 public String getId() {
207 return id;
208 }
209
210
211
212
213
214
215
216
217
218 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
219 public void setId(String value) {
220 this.id = value;
221 }
222
223
224
225
226
227
228
229
230
231 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
232 public DoubleType getWeight() {
233 return weight;
234 }
235
236
237
238
239
240
241
242
243
244 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
245 public void setWeight(DoubleType value) {
246 this.weight = value;
247 }
248
249 }
250
251 }