Class OpenDRIVE.Road.Objects.Tunnel
- java.lang.Object
-
- org.opentrafficsim.opendrive.xml.generated.OpenDRIVE.Road.Objects.Tunnel
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- OpenDRIVE.Road.Objects
@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.Objects.Tunnel 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="validity" type="{}laneValidity" maxOccurs="unbounded" minOccurs="0"/> <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" /> <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}double" /> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="lighting" type="{http://www.w3.org/2001/XMLSchema}double" /> <attribute name="daylight" type="{http://www.w3.org/2001/XMLSchema}double" /> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Doubledaylightprotected Stringidprotected List<Include>includeprotected Doublelengthprotected Doublelightingprotected Stringnameprotected Doublesprotected Stringtypeprotected List<UserData>userDataprotected List<LaneValidity>validity
-
Constructor Summary
Constructors Constructor Description Tunnel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoublegetDaylight()Gets the value of the daylight property.StringgetId()Gets the value of the id property.List<Include>getInclude()Gets the value of the include property.DoublegetLength()Gets the value of the length property.DoublegetLighting()Gets the value of the lighting property.StringgetName()Gets the value of the name property.DoublegetS()Gets the value of the s property.StringgetType()Gets the value of the type property.List<UserData>getUserData()Gets the value of the userData property.List<LaneValidity>getValidity()Gets the value of the validity property.voidsetDaylight(Double value)Sets the value of the daylight property.voidsetId(String value)Sets the value of the id property.voidsetLength(Double value)Sets the value of the length property.voidsetLighting(Double value)Sets the value of the lighting property.voidsetName(String value)Sets the value of the name property.voidsetS(Double value)Sets the value of the s property.voidsetType(String value)Sets the value of the type property.
-
-
-
Field Detail
-
validity
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") protected List<LaneValidity> validity
-
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
-
length
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") protected Double length
-
name
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") protected String name
-
id
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") protected String id
-
type
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") protected String type
-
lighting
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") protected Double lighting
-
daylight
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") protected Double daylight
-
-
Method Detail
-
getValidity
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public List<LaneValidity> getValidity()Gets the value of the validity 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 validity property.For example, to add a new item, do as follows:
getValidity().add(newItem);Objects of the following type(s) are allowed in the list
LaneValidity
-
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
-
setS
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public void setS(Double value)Sets the value of the s property.- Parameters:
value- allowed object isDouble
-
getLength
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public Double getLength()Gets the value of the length property.- Returns:
- possible object is
Double
-
setLength
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public void setLength(Double value)Sets the value of the length property.- Parameters:
value- allowed object isDouble
-
getName
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public String getName()Gets the value of the name property.- Returns:
- possible object is
String
-
setName
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public void setName(String value)Sets the value of the name property.- Parameters:
value- allowed object isString
-
getId
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public String getId()Gets the value of the id property.- Returns:
- possible object is
String
-
setId
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") 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", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public String getType()Gets the value of the type property.- Returns:
- possible object is
String
-
setType
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public void setType(String value)Sets the value of the type property.- Parameters:
value- allowed object isString
-
getLighting
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public Double getLighting()Gets the value of the lighting property.- Returns:
- possible object is
Double
-
setLighting
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public void setLighting(Double value)Sets the value of the lighting property.- Parameters:
value- allowed object isDouble
-
getDaylight
@Generated(value="com.sun.tools.xjc.Driver", date="2020-10-31T04:57:42+01:00", comments="JAXB RI v2.3.0") public Double getDaylight()Gets the value of the daylight property.- Returns:
- possible object is
Double
-
-