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.XmlRootElement;
17 import javax.xml.bind.annotation.XmlType;
18 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
19 import org.opentrafficsim.xml.bindings.BooleanAdapter;
20 import org.opentrafficsim.xml.bindings.LengthBeginEndAdapter;
21 import org.opentrafficsim.xml.bindings.StringAdapter;
22 import org.opentrafficsim.xml.bindings.types.BooleanType;
23 import org.opentrafficsim.xml.bindings.types.LengthBeginEndType;
24 import org.opentrafficsim.xml.bindings.types.StringType;
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48 @XmlAccessorType(XmlAccessType.FIELD)
49 @XmlType(name = "")
50 @XmlRootElement(name = "Sink")
51 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
52 public class Sink
53 implements Serializable
54 {
55
56 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
57 private final static long serialVersionUID = 10102L;
58 @XmlAttribute(name = "Type", required = true)
59 @XmlJavaTypeAdapter(StringAdapter.class)
60 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
61 protected StringType type;
62 @XmlAttribute(name = "Link", required = true)
63 @XmlJavaTypeAdapter(StringAdapter.class)
64 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
65 protected StringType link;
66 @XmlAttribute(name = "Lane", required = true)
67 @XmlJavaTypeAdapter(StringAdapter.class)
68 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
69 protected StringType lane;
70 @XmlAttribute(name = "Position", required = true)
71 @XmlJavaTypeAdapter(LengthBeginEndAdapter.class)
72 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
73 protected LengthBeginEndType position;
74 @XmlAttribute(name = "Destination")
75 @XmlJavaTypeAdapter(BooleanAdapter.class)
76 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
77 protected BooleanType destination;
78
79
80
81
82
83
84
85
86
87 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
88 public StringType getType() {
89 return type;
90 }
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 void setType(StringType value) {
102 this.type = value;
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 StringType getLink() {
115 return link;
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 void setLink(StringType value) {
128 this.link = value;
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 StringType getLane() {
141 return lane;
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 void setLane(StringType value) {
154 this.lane = value;
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 LengthBeginEndType getPosition() {
167 return position;
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 void setPosition(LengthBeginEndType value) {
180 this.position = value;
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 BooleanType getDestination() {
193 if (destination == null) {
194 return new BooleanAdapter().unmarshal("true");
195 } else {
196 return destination;
197 }
198 }
199
200
201
202
203
204
205
206
207
208 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
209 public void setDestination(BooleanType value) {
210 this.destination = value;
211 }
212
213 }