Class Lane.RoadMark.Type
java.lang.Object
org.opentrafficsim.opendrive.xml.generated.Lane.RoadMark.Type
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Lane.RoadMark
@Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:15:05+01:00", comments="JAXB RI v2.3.0") public static class Lane.RoadMark.Type 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>
<element name="line" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="length" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="space" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="tOffset" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="sOffset" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="rule" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="width" 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 classLane.RoadMark.Type.LineJava class for anonymous complex type. -
Field Summary
-
Constructor Summary
Constructors Constructor Description Type() -
Method Summary
Modifier and Type Method Description List<Lane.RoadMark.Type.Line>getLine()Gets the value of the line property.StringgetName()Gets the value of the name property.DoublegetWidth()Gets the value of the width property.voidsetName(String value)Sets the value of the name property.voidsetWidth(Double value)Sets the value of the width property.
-
Field Details
-
line
@Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:15:05+01:00", comments="JAXB RI v2.3.0") protected List<Lane.RoadMark.Type.Line> line -
name
@Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:15:05+01:00", comments="JAXB RI v2.3.0") protected String name -
width
@Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:15:05+01:00", comments="JAXB RI v2.3.0") protected Double width
-
-
Constructor Details
-
Type
public Type()
-
-
Method Details
-
getLine
@Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:15:05+01:00", comments="JAXB RI v2.3.0") public List<Lane.RoadMark.Type.Line> getLine()Gets the value of the line 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 line property.For example, to add a new item, do as follows:
getLine().add(newItem);Objects of the following type(s) are allowed in the list
Lane.RoadMark.Type.Line -
getName
@Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:15:05+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-01-23T12:15:05+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
-
getWidth
@Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:15:05+01:00", comments="JAXB RI v2.3.0") public Double getWidth()Gets the value of the width property.- Returns:
- possible object is
Double
-
setWidth
@Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:15:05+01:00", comments="JAXB RI v2.3.0") public void setWidth(Double value)Sets the value of the width property.- Parameters:
value- allowed object isDouble
-