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.XmlElements;
20 import javax.xml.bind.annotation.XmlSeeAlso;
21 import javax.xml.bind.annotation.XmlType;
22 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
23 import org.opentrafficsim.xml.bindings.LaneKeepingPolicyAdapter;
24 import org.opentrafficsim.xml.bindings.types.LaneKeepingPolicyType;
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 @XmlAccessorType(XmlAccessType.FIELD)
53 @XmlType(name = "BasicRoadLayout", propOrder = {
54 "stripeOrLaneOrShoulder",
55 "speedLimit"
56 })
57 @XmlSeeAlso({
58 org.opentrafficsim.xml.generated.Link.RoadLayout.class,
59 org.opentrafficsim.xml.generated.RoadLayout.class
60 })
61 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
62 public class BasicRoadLayout
63 implements Serializable
64 {
65
66 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
67 private final static long serialVersionUID = 10102L;
68 @XmlElements({
69 @XmlElement(name = "Stripe", type = CseStripe.class),
70 @XmlElement(name = "Lane", type = CseLane.class),
71 @XmlElement(name = "Shoulder", type = CseShoulder.class)
72 })
73 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
74 protected List<Serializable> stripeOrLaneOrShoulder;
75 @XmlElement(name = "SpeedLimit")
76 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
77 protected List<SpeedLimit> speedLimit;
78 @XmlAttribute(name = "LaneKeeping")
79 @XmlJavaTypeAdapter(LaneKeepingPolicyAdapter.class)
80 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
81 protected LaneKeepingPolicyType laneKeeping;
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
108 public List<Serializable> getStripeOrLaneOrShoulder() {
109 if (stripeOrLaneOrShoulder == null) {
110 stripeOrLaneOrShoulder = new ArrayList<Serializable>();
111 }
112 return this.stripeOrLaneOrShoulder;
113 }
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
138 public List<SpeedLimit> getSpeedLimit() {
139 if (speedLimit == null) {
140 speedLimit = new ArrayList<SpeedLimit>();
141 }
142 return this.speedLimit;
143 }
144
145
146
147
148
149
150
151
152
153 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
154 public LaneKeepingPolicyType getLaneKeeping() {
155 return laneKeeping;
156 }
157
158
159
160
161
162
163
164
165
166 @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
167 public void setLaneKeeping(LaneKeepingPolicyType value) {
168 this.laneKeeping = value;
169 }
170
171 }