Class OpenDRIVE.Road.Lanes.LaneSection
- java.lang.Object
-
- org.opentrafficsim.opendrive.xml.generated.OpenDRIVE.Road.Lanes.LaneSection
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- OpenDRIVE.Road.Lanes
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public static class OpenDRIVE.Road.Lanes.LaneSection extends Object implements SerializableJava 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 name="left" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="lane" type="{}lane" maxOccurs="unbounded"/> <element name="userData" type="{}userData" maxOccurs="unbounded" minOccurs="0"/> <element name="include" type="{}include" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="center" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="lane" type="{}centerLane" minOccurs="0"/> <element name="userData" type="{}userData" maxOccurs="unbounded" minOccurs="0"/> <element name="include" type="{}include" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="right" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="lane" type="{}lane" maxOccurs="unbounded"/> <element name="userData" type="{}userData" maxOccurs="unbounded" minOccurs="0"/> <element name="include" type="{}include" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="userData" type="{}userData" maxOccurs="unbounded" minOccurs="0"/> <element name="include" type="{}include" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="s" type="{http://www.w3.org/2001/XMLSchema}double" /> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenDRIVE.Road.Lanes.LaneSection.CenterJava class for anonymous complex type.static classOpenDRIVE.Road.Lanes.LaneSection.LeftJava class for anonymous complex type.static classOpenDRIVE.Road.Lanes.LaneSection.RightJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected OpenDRIVE.Road.Lanes.LaneSection.Centercenterprotected List<Include>includeprotected OpenDRIVE.Road.Lanes.LaneSection.Leftleftprotected OpenDRIVE.Road.Lanes.LaneSection.Rightrightprotected Doublesprotected List<UserData>userData
-
Constructor Summary
Constructors Constructor Description LaneSection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenDRIVE.Road.Lanes.LaneSection.CentergetCenter()Gets the value of the center property.List<Include>getInclude()Gets the value of the include property.OpenDRIVE.Road.Lanes.LaneSection.LeftgetLeft()Gets the value of the left property.OpenDRIVE.Road.Lanes.LaneSection.RightgetRight()Gets the value of the right property.DoublegetS()Gets the value of the s property.List<UserData>getUserData()Gets the value of the userData property.voidsetCenter(OpenDRIVE.Road.Lanes.LaneSection.Center value)Sets the value of the center property.voidsetLeft(OpenDRIVE.Road.Lanes.LaneSection.Left value)Sets the value of the left property.voidsetRight(OpenDRIVE.Road.Lanes.LaneSection.Right value)Sets the value of the right property.voidsetS(Double value)Sets the value of the s property.
-
-
-
Field Detail
-
left
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") protected OpenDRIVE.Road.Lanes.LaneSection.Left left
-
center
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") protected OpenDRIVE.Road.Lanes.LaneSection.Center center
-
right
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") protected OpenDRIVE.Road.Lanes.LaneSection.Right right
-
userData
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") protected List<UserData> userData
-
include
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") protected List<Include> include
-
s
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") protected Double s
-
-
Method Detail
-
getLeft
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public OpenDRIVE.Road.Lanes.LaneSection.Left getLeft()Gets the value of the left property.- Returns:
- possible object is
OpenDRIVE.Road.Lanes.LaneSection.Left
-
setLeft
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public void setLeft(OpenDRIVE.Road.Lanes.LaneSection.Left value)Sets the value of the left property.- Parameters:
value- allowed object isOpenDRIVE.Road.Lanes.LaneSection.Left
-
getCenter
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public OpenDRIVE.Road.Lanes.LaneSection.Center getCenter()Gets the value of the center property.- Returns:
- possible object is
OpenDRIVE.Road.Lanes.LaneSection.Center
-
setCenter
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public void setCenter(OpenDRIVE.Road.Lanes.LaneSection.Center value)Sets the value of the center property.- Parameters:
value- allowed object isOpenDRIVE.Road.Lanes.LaneSection.Center
-
getRight
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public OpenDRIVE.Road.Lanes.LaneSection.Right getRight()Gets the value of the right property.- Returns:
- possible object is
OpenDRIVE.Road.Lanes.LaneSection.Right
-
setRight
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public void setRight(OpenDRIVE.Road.Lanes.LaneSection.Right value)Sets the value of the right property.- Parameters:
value- allowed object isOpenDRIVE.Road.Lanes.LaneSection.Right
-
getUserData
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public List<UserData> getUserData()Gets the value of the userData 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 userData property.For example, to add a new item, do as follows:
getUserData().add(newItem);Objects of the following type(s) are allowed in the list
UserData
-
getInclude
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public List<Include> getInclude()Gets the value of the include 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 include property.For example, to add a new item, do as follows:
getInclude().add(newItem);Objects of the following type(s) are allowed in the list
Include
-
getS
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public Double getS()Gets the value of the s property.- Returns:
- possible object is
Double
-
-