Class BasicRoadLayout

java.lang.Object
org.opentrafficsim.xml.generated.BasicRoadLayout
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Link.RoadLayout, RoadLayout

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public class BasicRoadLayout extends Object implements Serializable

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 Details

    • stripeOrLaneOrShoulder

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected List<Serializable> stripeOrLaneOrShoulder
    • speedLimit

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected List<SpeedLimit> speedLimit
    • laneKeeping

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+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-08-29T18:50:16+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 set method 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 CseLane CseShoulder CseStripe

    • getSpeedLimit

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+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 set method 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-08-29T18:50:16+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-08-29T18:50:16+02:00") public void setLaneKeeping(LaneKeepingPolicyType value)
      Sets the value of the laneKeeping property.
      Parameters:
      value - allowed object is String