Class OpenDRIVE.Road.Link
- java.lang.Object
-
- org.opentrafficsim.opendrive.xml.generated.OpenDRIVE.Road.Link
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- OpenDRIVE.Road
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:09:57+02:00", comments="JAXB RI v2.3.0") public static class OpenDRIVE.Road.Link extends java.lang.Object implements java.io.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="predecessor" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="elementType" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="elementId" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="contactPoint" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="successor" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="elementType" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="elementId" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="contactPoint" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="neighbor" maxOccurs="2" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="side" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="elementId" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="direction" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="userData" type="{}userData" maxOccurs="unbounded" minOccurs="0"/> <element name="include" type="{}include" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenDRIVE.Road.Link.NeighborJava class for anonymous complex type.static classOpenDRIVE.Road.Link.PredecessorJava class for anonymous complex type.static classOpenDRIVE.Road.Link.SuccessorJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Include>includeprotected java.util.List<OpenDRIVE.Road.Link.Neighbor>neighborprotected OpenDRIVE.Road.Link.Predecessorpredecessorprotected OpenDRIVE.Road.Link.Successorsuccessorprotected java.util.List<UserData>userData
-
Constructor Summary
Constructors Constructor Description Link()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Include>getInclude()Gets the value of the include property.java.util.List<OpenDRIVE.Road.Link.Neighbor>getNeighbor()Gets the value of the neighbor property.OpenDRIVE.Road.Link.PredecessorgetPredecessor()Gets the value of the predecessor property.OpenDRIVE.Road.Link.SuccessorgetSuccessor()Gets the value of the successor property.java.util.List<UserData>getUserData()Gets the value of the userData property.voidsetPredecessor(OpenDRIVE.Road.Link.Predecessor value)Sets the value of the predecessor property.voidsetSuccessor(OpenDRIVE.Road.Link.Successor value)Sets the value of the successor property.
-
-
-
Field Detail
-
predecessor
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:09:57+02:00", comments="JAXB RI v2.3.0") protected OpenDRIVE.Road.Link.Predecessor predecessor
-
successor
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:09:57+02:00", comments="JAXB RI v2.3.0") protected OpenDRIVE.Road.Link.Successor successor
-
neighbor
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:09:57+02:00", comments="JAXB RI v2.3.0") protected java.util.List<OpenDRIVE.Road.Link.Neighbor> neighbor
-
userData
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:09:57+02:00", comments="JAXB RI v2.3.0") protected java.util.List<UserData> userData
-
include
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:09:57+02:00", comments="JAXB RI v2.3.0") protected java.util.List<Include> include
-
-
Method Detail
-
getPredecessor
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:09:57+02:00", comments="JAXB RI v2.3.0") public OpenDRIVE.Road.Link.Predecessor getPredecessor()Gets the value of the predecessor property.- Returns:
- possible object is
OpenDRIVE.Road.Link.Predecessor
-
setPredecessor
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:09:57+02:00", comments="JAXB RI v2.3.0") public void setPredecessor(OpenDRIVE.Road.Link.Predecessor value)Sets the value of the predecessor property.- Parameters:
value- allowed object isOpenDRIVE.Road.Link.Predecessor
-
getSuccessor
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:09:57+02:00", comments="JAXB RI v2.3.0") public OpenDRIVE.Road.Link.Successor getSuccessor()Gets the value of the successor property.- Returns:
- possible object is
OpenDRIVE.Road.Link.Successor
-
setSuccessor
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:09:57+02:00", comments="JAXB RI v2.3.0") public void setSuccessor(OpenDRIVE.Road.Link.Successor value)Sets the value of the successor property.- Parameters:
value- allowed object isOpenDRIVE.Road.Link.Successor
-
getNeighbor
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:09:57+02:00", comments="JAXB RI v2.3.0") public java.util.List<OpenDRIVE.Road.Link.Neighbor> getNeighbor()Gets the value of the neighbor 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 neighbor property.For example, to add a new item, do as follows:
getNeighbor().add(newItem);Objects of the following type(s) are allowed in the list
OpenDRIVE.Road.Link.Neighbor
-
getUserData
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:09:57+02:00", comments="JAXB RI v2.3.0") public java.util.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-08-12T04:09:57+02:00", comments="JAXB RI v2.3.0") public java.util.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
-
-