public class ROADTYPE 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">
<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" use="required" 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="DEFAULTLANEWIDTH" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
<attribute name="DEFAULTLANEKEEPING" use="required" type="{http://www.opentrafficsim.org/ots}LANEKEEPINGTYPE" />
<attribute name="DEFAULTOVERTAKING" use="required" 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 |
ROADTYPE.SPEEDLIMIT
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
base |
protected String |
defaultlanekeeping |
protected String |
defaultlanewidth |
protected String |
defaultovertaking |
protected String |
name |
protected List<ROADTYPE.SPEEDLIMIT> |
speedlimit |
| Constructor and Description |
|---|
ROADTYPE() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBase()
Gets the value of the base property.
|
String |
getDEFAULTLANEKEEPING()
Gets the value of the defaultlanekeeping property.
|
String |
getDEFAULTLANEWIDTH()
Gets the value of the defaultlanewidth property.
|
String |
getDEFAULTOVERTAKING()
Gets the value of the defaultovertaking property.
|
String |
getNAME()
Gets the value of the name property.
|
List<ROADTYPE.SPEEDLIMIT> |
getSPEEDLIMIT()
Gets the value of the speedlimit property.
|
void |
setBase(String value)
Sets the value of the base property.
|
void |
setDEFAULTLANEKEEPING(String value)
Sets the value of the defaultlanekeeping property.
|
void |
setDEFAULTLANEWIDTH(String value)
Sets the value of the defaultlanewidth property.
|
void |
setDEFAULTOVERTAKING(String value)
Sets the value of the defaultovertaking property.
|
void |
setNAME(String value)
Sets the value of the name property.
|
protected List<ROADTYPE.SPEEDLIMIT> speedlimit
protected String name
protected String defaultlanewidth
protected String defaultlanekeeping
protected String defaultovertaking
protected String base
public List<ROADTYPE.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 ROADTYPE.SPEEDLIMIT
public String getNAME()
Stringpublic void setNAME(String value)
value - allowed object is Stringpublic String getDEFAULTLANEWIDTH()
Stringpublic void setDEFAULTLANEWIDTH(String value)
value - allowed object is Stringpublic String getDEFAULTLANEKEEPING()
Stringpublic void setDEFAULTLANEKEEPING(String value)
value - allowed object is Stringpublic String getDEFAULTOVERTAKING()
Stringpublic void setDEFAULTOVERTAKING(String value)
value - allowed object is Stringpublic String getBase()
StringCopyright © 2014–2018 Delft University of Technology. All rights reserved.