Class Link
- All Implemented Interfaces:
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Link.Arcprotected Link.Bezierprotected Link.Clothoidprotected StringTypeprotected StringTypeprotected Stringprotected LaneKeepingPolicyTypeprotected List<Link.LaneOverride>protected StringTypeprotected StringTypeprotected LengthTypeprotected LengthTypeprotected Link.Polylineprotected PriorityTypeprotected Link.RoadLayoutprotected EmptyTypeprotected List<TrafficLightType>protected List<TrafficLightDetectorType>protected StringType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetArc()Gets the value of the arc property.Gets the value of the bezier property.Gets the value of the clothoid property.Gets the value of the conflictId property.Gets the value of the definedLayout property.getId()Gets the value of the id property.Gets the value of the laneKeeping property.Gets the value of the laneOverride property.Gets the value of the nodeEnd property.Gets the value of the nodeStart property.Gets the value of the offsetEnd property.Gets the value of the offsetStart property.Gets the value of the polyline property.Gets the value of the priority property.Gets the value of the roadLayout property.Gets the value of the straight property.Gets the value of the trafficLight property.Gets the value of the trafficLightSensor property.getType()Gets the value of the type property.voidSets the value of the arc property.voidsetBezier(Link.Bezier value) Sets the value of the bezier property.voidsetClothoid(Link.Clothoid value) Sets the value of the clothoid property.voidsetConflictId(StringType value) Sets the value of the conflictId property.voidsetDefinedLayout(StringType value) Sets the value of the definedLayout property.voidSets the value of the id property.voidSets the value of the laneKeeping property.voidsetNodeEnd(StringType value) Sets the value of the nodeEnd property.voidsetNodeStart(StringType value) Sets the value of the nodeStart property.voidsetOffsetEnd(LengthType value) Sets the value of the offsetEnd property.voidsetOffsetStart(LengthType value) Sets the value of the offsetStart property.voidsetPolyline(Link.Polyline value) Sets the value of the polyline property.voidsetPriority(PriorityType value) Sets the value of the priority property.voidsetRoadLayout(Link.RoadLayout value) Sets the value of the roadLayout property.voidsetStraight(EmptyType value) Sets the value of the straight property.voidsetType(StringType value) Sets the value of the type property.
-
Field Details
-
straight
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected EmptyType straight -
bezier
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected Link.Bezier bezier -
clothoid
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected Link.Clothoid clothoid -
arc
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected Link.Arc arc -
polyline
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected Link.Polyline polyline -
roadLayout
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected Link.RoadLayout roadLayout -
definedLayout
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected StringType definedLayout -
laneOverride
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected List<Link.LaneOverride> laneOverride -
trafficLight
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected List<TrafficLightType> trafficLight -
trafficLightSensor
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected List<TrafficLightDetectorType> trafficLightSensor -
id
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected String id -
type
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected StringType type -
nodeStart
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected StringType nodeStart -
nodeEnd
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected StringType nodeEnd -
offsetStart
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected LengthType offsetStart -
offsetEnd
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected LengthType offsetEnd -
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 -
priority
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected PriorityType priority -
conflictId
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+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-05-19T03:25:58+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-05-19T03:25:58+02:00") public void setStraight(EmptyType value) Sets the value of the straight property.- Parameters:
value- allowed object isEmptyType
-
getBezier
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+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-05-19T03:25:58+02:00") public void setBezier(Link.Bezier value) Sets the value of the bezier property.- Parameters:
value- allowed object isLink.Bezier
-
getClothoid
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+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-05-19T03:25:58+02:00") public void setClothoid(Link.Clothoid value) Sets the value of the clothoid property.- Parameters:
value- allowed object isLink.Clothoid
-
getArc
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+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-05-19T03:25:58+02:00") public void setArc(Link.Arc value) Sets the value of the arc property.- Parameters:
value- allowed object isLink.Arc
-
getPolyline
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+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-05-19T03:25:58+02:00") public void setPolyline(Link.Polyline value) Sets the value of the polyline property.- Parameters:
value- allowed object isLink.Polyline
-
getRoadLayout
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+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-05-19T03:25:58+02:00") public void setRoadLayout(Link.RoadLayout value) Sets the value of the roadLayout property.- Parameters:
value- allowed object isLink.RoadLayout
-
getDefinedLayout
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+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-05-19T03:25:58+02:00") public void setDefinedLayout(StringType value) Sets the value of the definedLayout property.- Parameters:
value- allowed object isString
-
getLaneOverride
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+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
setmethod 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-05-19T03:25:58+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
setmethod 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-05-19T03:25:58+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
setmethod 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-05-19T03:25:58+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-05-19T03:25:58+02:00") public void setId(String value) Sets the value of the id property.- Parameters:
value- allowed object isString
-
getType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+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-05-19T03:25:58+02:00") public void setType(StringType value) Sets the value of the type property.- Parameters:
value- allowed object isString
-
getNodeStart
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+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-05-19T03:25:58+02:00") public void setNodeStart(StringType value) Sets the value of the nodeStart property.- Parameters:
value- allowed object isString
-
getNodeEnd
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+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-05-19T03:25:58+02:00") public void setNodeEnd(StringType value) Sets the value of the nodeEnd property.- Parameters:
value- allowed object isString
-
getOffsetStart
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+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-05-19T03:25:58+02:00") public void setOffsetStart(LengthType value) Sets the value of the offsetStart property.- Parameters:
value- allowed object isString
-
getOffsetEnd
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+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-05-19T03:25:58+02:00") public void setOffsetEnd(LengthType value) Sets the value of the offsetEnd property.- Parameters:
value- allowed object isString
-
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
-
getPriority
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+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-05-19T03:25:58+02:00") public void setPriority(PriorityType value) Sets the value of the priority property.- Parameters:
value- allowed object isString
-
getConflictId
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+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-05-19T03:25:58+02:00") public void setConflictId(StringType value) Sets the value of the conflictId property.- Parameters:
value- allowed object isString
-