1
2
3
4
5
6
7
8
9 package org.opentrafficsim.xml.generated;
10
11 import java.io.Serializable;
12 import javax.annotation.Generated;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlAttribute;
16 import javax.xml.bind.annotation.XmlElement;
17 import javax.xml.bind.annotation.XmlRootElement;
18 import javax.xml.bind.annotation.XmlType;
19 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
20 import org.opentrafficsim.xml.bindings.StringAdapter;
21 import org.opentrafficsim.xml.bindings.types.StringType;
22
23
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 @XmlAccessorType(XmlAccessType.FIELD)
51 @XmlType(name = "", propOrder = {
52 "lengthDist",
53 "widthDist",
54 "maxSpeedDist",
55 "maxAccelerationDist",
56 "maxDecelerationDist"
57 })
58 @XmlRootElement(name = "GtuTemplate")
59 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
60 public class GtuTemplate
61 implements Serializable
62 {
63
64 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
65 private final static long serialVersionUID = 10102L;
66 @XmlElement(name = "LengthDist", required = true)
67 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
68 protected LengthDistType lengthDist;
69 @XmlElement(name = "WidthDist", 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 LengthDistType widthDist;
72 @XmlElement(name = "MaxSpeedDist", 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 SpeedDistType maxSpeedDist;
75 @XmlElement(name = "MaxAccelerationDist")
76 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
77 protected AccelerationDistType maxAccelerationDist;
78 @XmlElement(name = "MaxDecelerationDist")
79 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
80 protected AccelerationDistType maxDecelerationDist;
81 @XmlAttribute(name = "Id", required = true)
82 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
83 protected String id;
84 @XmlAttribute(name = "GtuType", required = true)
85 @XmlJavaTypeAdapter(StringAdapter.class)
86 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
87 protected StringType gtuType;
88 @XmlAttribute(name = "Default")
89 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
90 protected Boolean _default;
91
92
93
94
95
96
97
98
99
100 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
101 public LengthDistType getLengthDist() {
102 return lengthDist;
103 }
104
105
106
107
108
109
110
111
112
113 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
114 public void setLengthDist(LengthDistType value) {
115 this.lengthDist = value;
116 }
117
118
119
120
121
122
123
124
125
126 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
127 public LengthDistType getWidthDist() {
128 return widthDist;
129 }
130
131
132
133
134
135
136
137
138
139 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
140 public void setWidthDist(LengthDistType value) {
141 this.widthDist = value;
142 }
143
144
145
146
147
148
149
150
151
152 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
153 public SpeedDistType getMaxSpeedDist() {
154 return maxSpeedDist;
155 }
156
157
158
159
160
161
162
163
164
165 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
166 public void setMaxSpeedDist(SpeedDistType value) {
167 this.maxSpeedDist = value;
168 }
169
170
171
172
173
174
175
176
177
178 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
179 public AccelerationDistType getMaxAccelerationDist() {
180 return maxAccelerationDist;
181 }
182
183
184
185
186
187
188
189
190
191 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
192 public void setMaxAccelerationDist(AccelerationDistType value) {
193 this.maxAccelerationDist = value;
194 }
195
196
197
198
199
200
201
202
203
204 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
205 public AccelerationDistType getMaxDecelerationDist() {
206 return maxDecelerationDist;
207 }
208
209
210
211
212
213
214
215
216
217 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
218 public void setMaxDecelerationDist(AccelerationDistType value) {
219 this.maxDecelerationDist = value;
220 }
221
222
223
224
225
226
227
228
229
230 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
231 public String getId() {
232 return id;
233 }
234
235
236
237
238
239
240
241
242
243 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
244 public void setId(String value) {
245 this.id = value;
246 }
247
248
249
250
251
252
253
254
255
256 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
257 public StringType getGtuType() {
258 return gtuType;
259 }
260
261
262
263
264
265
266
267
268
269 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
270 public void setGtuType(StringType value) {
271 this.gtuType = value;
272 }
273
274
275
276
277
278
279
280
281
282 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
283 public boolean isDefault() {
284 if (_default == null) {
285 return false;
286 } else {
287 return _default;
288 }
289 }
290
291
292
293
294
295
296
297
298
299 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
300 public void setDefault(Boolean value) {
301 this._default = value;
302 }
303
304 }