public class ROADLAYOUT extends Object
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="SPEEDLIMIT" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="LEGALSPEEDLIMIT" type="{http://www.opentrafficsim.org/ots}SPEEDTYPE" />
</restriction>
</complexContent>
</complexType>
</element>
<choice maxOccurs="unbounded">
<element name="LANE" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence maxOccurs="unbounded" minOccurs="0">
<element name="SPEEDLIMIT" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="LEGALSPEEDLIMIT" type="{http://www.opentrafficsim.org/ots}SPEEDTYPE" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="LANETYPE" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="OFFSET" use="required" type="{http://www.opentrafficsim.org/ots}SIGNEDLENGTHTYPE" />
<attribute name="WIDTH" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
<attribute name="DIRECTION" use="required" type="{http://www.opentrafficsim.org/ots}DIRECTIONTYPE" />
<attribute name="COLOR" type="{http://www.opentrafficsim.org/ots}COLORTYPE" />
<attribute name="OVERTAKING" type="{http://www.opentrafficsim.org/ots}OVERTAKINGTYPE" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="NOTRAFFICLANE" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="NAME" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="OFFSET" use="required" type="{http://www.opentrafficsim.org/ots}SIGNEDLENGTHTYPE" />
<attribute name="WIDTH" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
<attribute name="COLOR" type="{http://www.opentrafficsim.org/ots}COLORTYPE" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="SHOULDER" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="NAME" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="OFFSET" use="required" type="{http://www.opentrafficsim.org/ots}SIGNEDLENGTHTYPE" />
<attribute name="WIDTH" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
<attribute name="COLOR" type="{http://www.opentrafficsim.org/ots}COLORTYPE" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="STRIPE" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="NAME" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="TYPE" use="required" type="{http://www.opentrafficsim.org/ots}STRIPETYPE" />
<attribute name="OFFSET" use="required" type="{http://www.opentrafficsim.org/ots}SIGNEDLENGTHTYPE" />
<attribute name="WIDTH" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
<attribute name="COLOR" type="{http://www.opentrafficsim.org/ots}COLORTYPE" />
</restriction>
</complexContent>
</complexType>
</element>
</choice>
</sequence>
<attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="ROADTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="WIDTH" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
<attribute name="LANEKEEPING" type="{http://www.opentrafficsim.org/ots}LANEKEEPINGTYPE" />
<attribute name="OVERTAKING" type="{http://www.opentrafficsim.org/ots}OVERTAKINGTYPE" />
<attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
ROADLAYOUT.LANE
Java class for anonymous complex type.
|
static class |
ROADLAYOUT.NOTRAFFICLANE
Java class for anonymous complex type.
|
static class |
ROADLAYOUT.SHOULDER
Java class for anonymous complex type.
|
static class |
ROADLAYOUT.SPEEDLIMIT
Java class for anonymous complex type.
|
static class |
ROADLAYOUT.STRIPE
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
base |
protected String |
lanekeeping |
protected List<Object> |
laneOrNOTRAFFICLANEOrSHOULDER |
protected String |
name |
protected String |
overtaking |
protected String |
roadtype |
protected List<ROADLAYOUT.SPEEDLIMIT> |
speedlimit |
protected String |
width |
| Constructor and Description |
|---|
ROADLAYOUT() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBase()
Gets the value of the base property.
|
String |
getLANEKEEPING()
Gets the value of the lanekeeping property.
|
List<Object> |
getLANEOrNOTRAFFICLANEOrSHOULDER()
Gets the value of the laneOrNOTRAFFICLANEOrSHOULDER property.
|
String |
getNAME()
Gets the value of the name property.
|
String |
getOVERTAKING()
Gets the value of the overtaking property.
|
String |
getROADTYPE()
Gets the value of the roadtype property.
|
List<ROADLAYOUT.SPEEDLIMIT> |
getSPEEDLIMIT()
Gets the value of the speedlimit property.
|
String |
getWIDTH()
Gets the value of the width property.
|
void |
setBase(String value)
Sets the value of the base property.
|
void |
setLANEKEEPING(String value)
Sets the value of the lanekeeping property.
|
void |
setNAME(String value)
Sets the value of the name property.
|
void |
setOVERTAKING(String value)
Sets the value of the overtaking property.
|
void |
setROADTYPE(String value)
Sets the value of the roadtype property.
|
void |
setWIDTH(String value)
Sets the value of the width property.
|
protected List<ROADLAYOUT.SPEEDLIMIT> speedlimit
protected String name
protected String roadtype
protected String width
protected String lanekeeping
protected String overtaking
protected String base
public List<ROADLAYOUT.SPEEDLIMIT> getSPEEDLIMIT()
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 set method for the
speedlimit property.
For example, to add a new item, do as follows:
getSPEEDLIMIT().add(newItem);
Objects of the following type(s) are allowed in the list ROADLAYOUT.SPEEDLIMIT
public List<Object> getLANEOrNOTRAFFICLANEOrSHOULDER()
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 set method for the
laneOrNOTRAFFICLANEOrSHOULDER property.
For example, to add a new item, do as follows:
getLANEOrNOTRAFFICLANEOrSHOULDER().add(newItem);
Objects of the following type(s) are allowed in the list ROADLAYOUT.LANE ROADLAYOUT.NOTRAFFICLANE
ROADLAYOUT.SHOULDER ROADLAYOUT.STRIPE
public String getNAME()
Stringpublic void setNAME(String value)
value - allowed object is Stringpublic String getROADTYPE()
Stringpublic void setROADTYPE(String value)
value - allowed object is Stringpublic String getWIDTH()
Stringpublic void setWIDTH(String value)
value - allowed object is Stringpublic String getLANEKEEPING()
Stringpublic void setLANEKEEPING(String value)
value - allowed object is Stringpublic String getOVERTAKING()
Stringpublic void setOVERTAKING(String value)
value - allowed object is Stringpublic String getBase()
StringCopyright © 2014–2018 Delft University of Technology. All rights reserved.