Class BasicRoadLayout
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Link.RoadLayout,RoadLayout
Java class for BasicRoadLayout complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BasicRoadLayout">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice maxOccurs="unbounded">
<element name="Stripe" type="{http://www.opentrafficsim.org/ots}CseStripe" maxOccurs="unbounded" minOccurs="0"/>
<element name="Lane" type="{http://www.opentrafficsim.org/ots}CseLane" maxOccurs="unbounded" minOccurs="0"/>
<element name="Shoulder" type="{http://www.opentrafficsim.org/ots}CseShoulder" maxOccurs="unbounded" minOccurs="0"/>
</choice>
<element ref="{http://www.opentrafficsim.org/ots}SpeedLimit" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="LaneKeeping" type="{http://www.opentrafficsim.org/ots}LaneKeepingType" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected LaneKeepingPolicyTypeprotected List<SpeedLimit>protected List<Serializable> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the laneKeeping property.Gets the value of the speedLimit property.Gets the value of the stripeOrLaneOrShoulder property.voidSets the value of the laneKeeping property.
-
Field Details
-
stripeOrLaneOrShoulder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected List<Serializable> stripeOrLaneOrShoulder -
speedLimit
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected List<SpeedLimit> speedLimit -
laneKeeping
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected LaneKeepingPolicyType laneKeeping
-
-
Constructor Details
-
BasicRoadLayout
public BasicRoadLayout()
-
-
Method Details
-
getStripeOrLaneOrShoulder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") public List<Serializable> getStripeOrLaneOrShoulder()Gets the value of the stripeOrLaneOrShoulder property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the stripeOrLaneOrShoulder property.For example, to add a new item, do as follows:
getStripeOrLaneOrShoulder().add(newItem);Objects of the following type(s) are allowed in the list
CseLaneCseShoulderCseStripe -
getSpeedLimit
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") public List<SpeedLimit> getSpeedLimit()Gets the value of the speedLimit property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the speedLimit property.For example, to add a new item, do as follows:
getSpeedLimit().add(newItem);Objects of the following type(s) are allowed in the list
SpeedLimit -
getLaneKeeping
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") public LaneKeepingPolicyType getLaneKeeping()Gets the value of the laneKeeping property.- Returns:
- possible object is
String
-
setLaneKeeping
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") public void setLaneKeeping(LaneKeepingPolicyType value) Sets the value of the laneKeeping property.- Parameters:
value- allowed object isString
-