Class Link.LaneOverride

java.lang.Object
org.opentrafficsim.xml.generated.Link.LaneOverride
All Implemented Interfaces:
Serializable
Enclosing class:
Link

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

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.opentrafficsim.org/ots}SpeedLimit" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="Lane" use="required" type="{http://www.opentrafficsim.org/ots}string" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • 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
    • lane

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected StringType lane
  • Constructor Details

    • LaneOverride

      public LaneOverride()
  • Method Details

    • 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

    • getLane

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public StringType getLane()
      Gets the value of the lane property.
      Returns:
      possible object is String
    • setLane

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setLane(StringType value)
      Sets the value of the lane property.
      Parameters:
      value - allowed object is String