Class Link

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

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public class Link 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>
         <choice>
           <element name="Straight" type="{http://www.opentrafficsim.org/ots}EmptyType"/>
           <element name="Bezier">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <sequence>
                     <element name="Flattener" type="{http://www.opentrafficsim.org/ots}FlattenerType" minOccurs="0"/>
                   </sequence>
                   <attribute name="Shape" type="{http://www.opentrafficsim.org/ots}DoublePositive" default="1.0" />
                   <attribute name="Weighted" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <element name="Clothoid">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <sequence>
                     <choice>
                       <element name="Interpolated" type="{http://www.opentrafficsim.org/ots}EmptyType"/>
                       <sequence>
                         <element name="Length" type="{http://www.opentrafficsim.org/ots}LengthType"/>
                         <element name="StartCurvature" type="{http://www.opentrafficsim.org/ots}LinearDensityType"/>
                         <element name="EndCurvature" type="{http://www.opentrafficsim.org/ots}LinearDensityType"/>
                       </sequence>
                       <sequence>
                         <element name="A" type="{http://www.opentrafficsim.org/ots}LengthType"/>
                         <element name="StartCurvature" type="{http://www.opentrafficsim.org/ots}LinearDensityType"/>
                         <element name="EndCurvature" type="{http://www.opentrafficsim.org/ots}LinearDensityType"/>
                       </sequence>
                     </choice>
                     <sequence>
                       <element name="Flattener" type="{http://www.opentrafficsim.org/ots}FlattenerType" minOccurs="0"/>
                     </sequence>
                   </sequence>
                   <attribute name="EndElevation" type="{http://www.opentrafficsim.org/ots}PositiveLengthType" />
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <element name="Arc">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <sequence>
                     <element name="Flattener" type="{http://www.opentrafficsim.org/ots}FlattenerType" minOccurs="0"/>
                   </sequence>
                   <attribute name="Radius" use="required" type="{http://www.opentrafficsim.org/ots}PositiveLengthType" />
                   <attribute name="Direction" use="required" type="{http://www.opentrafficsim.org/ots}ArcDirectionType" />
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <element name="Polyline">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <sequence maxOccurs="unbounded">
                     <element name="Coordinate" type="{http://www.opentrafficsim.org/ots}CoordinateType"/>
                   </sequence>
                 </restriction>
               </complexContent>
             </complexType>
           </element>
         </choice>
         <choice>
           <element name="RoadLayout">
             <complexType>
               <complexContent>
                 <extension base="{http://www.opentrafficsim.org/ots}BasicRoadLayout">
                 </extension>
               </complexContent>
             </complexType>
           </element>
           <sequence>
             <element name="DefinedLayout" type="{http://www.opentrafficsim.org/ots}string"/>
             <element name="LaneOverride" maxOccurs="unbounded" minOccurs="0">
               <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>
             </element>
           </sequence>
         </choice>
         <element name="TrafficLight" type="{http://www.opentrafficsim.org/ots}TrafficLightType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="TrafficLightSensor" type="{http://www.opentrafficsim.org/ots}TrafficLightDetectorType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="Id" use="required" type="{http://www.opentrafficsim.org/ots}IdType" />
       <attribute name="Type" use="required" type="{http://www.opentrafficsim.org/ots}string" />
       <attribute name="NodeStart" use="required" type="{http://www.opentrafficsim.org/ots}string" />
       <attribute name="NodeEnd" use="required" type="{http://www.opentrafficsim.org/ots}string" />
       <attribute name="OffsetStart" type="{http://www.opentrafficsim.org/ots}LengthType" default="0.0 m" />
       <attribute name="OffsetEnd" type="{http://www.opentrafficsim.org/ots}LengthType" default="0.0 m" />
       <attribute name="LaneKeeping" type="{http://www.opentrafficsim.org/ots}LaneKeepingType" default="KEEPRIGHT" />
       <attribute name="Priority" type="{http://www.opentrafficsim.org/ots}PriorityType" />
       <attribute name="ConflictId" type="{http://www.opentrafficsim.org/ots}string" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • straight

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected LengthType offsetEnd
    • 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
    • priority

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

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

    • Link

      public Link()
  • Method Details

    • getStraight

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public List<Link.LaneOverride> getLaneOverride()
      Gets the value of the laneOverride 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 laneOverride property.

      For example, to add a new item, do as follows:

          getLaneOverride().add(newItem);
       

      Objects of the following type(s) are allowed in the list Link.LaneOverride

    • getTrafficLight

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public List<TrafficLightType> getTrafficLight()
      Gets the value of the trafficLight 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 trafficLight property.

      For example, to add a new item, do as follows:

          getTrafficLight().add(newItem);
       

      Objects of the following type(s) are allowed in the list TrafficLightType

    • getTrafficLightSensor

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public List<TrafficLightDetectorType> getTrafficLightSensor()
      Gets the value of the trafficLightSensor 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 trafficLightSensor property.

      For example, to add a new item, do as follows:

          getTrafficLightSensor().add(newItem);
       

      Objects of the following type(s) are allowed in the list TrafficLightDetectorType

    • getId

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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