Class ROADTYPE
java.lang.Object
org.opentrafficsim.road.network.factory.vissim.xsd.ROADTYPE
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>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classROADTYPE.SPEEDLIMITJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected Stringbaseprotected Stringdefaultlanekeepingprotected Stringdefaultlanewidthprotected Stringdefaultovertakingprotected Stringnameprotected List<ROADTYPE.SPEEDLIMIT>speedlimit -
Constructor Summary
Constructors Constructor Description ROADTYPE() -
Method Summary
Modifier and Type Method Description StringgetBase()Gets the value of the base property.StringgetDEFAULTLANEKEEPING()Gets the value of the defaultlanekeeping property.StringgetDEFAULTLANEWIDTH()Gets the value of the defaultlanewidth property.StringgetDEFAULTOVERTAKING()Gets the value of the defaultovertaking property.StringgetNAME()Gets the value of the name property.List<ROADTYPE.SPEEDLIMIT>getSPEEDLIMIT()Gets the value of the speedlimit property.voidsetBase(String value)Sets the value of the base property.voidsetDEFAULTLANEKEEPING(String value)Sets the value of the defaultlanekeeping property.voidsetDEFAULTLANEWIDTH(String value)Sets the value of the defaultlanewidth property.voidsetDEFAULTOVERTAKING(String value)Sets the value of the defaultovertaking property.voidsetNAME(String value)Sets the value of the name property.
-
Field Details
-
Constructor Details
-
ROADTYPE
public ROADTYPE()
-
-
Method Details
-
getSPEEDLIMIT
Gets the value of the speedlimit 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 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 -
getNAME
Gets the value of the name property.- Returns:
- possible object is
String
-
setNAME
Sets the value of the name property.- Parameters:
value- String; allowed object isString
-
getDEFAULTLANEWIDTH
Gets the value of the defaultlanewidth property.- Returns:
- possible object is
String
-
setDEFAULTLANEWIDTH
Sets the value of the defaultlanewidth property.- Parameters:
value- String; allowed object isString
-
getDEFAULTLANEKEEPING
Gets the value of the defaultlanekeeping property.- Returns:
- possible object is
String
-
setDEFAULTLANEKEEPING
Sets the value of the defaultlanekeeping property.- Parameters:
value- String; allowed object isString
-
getDEFAULTOVERTAKING
Gets the value of the defaultovertaking property.- Returns:
- possible object is
String
-
setDEFAULTOVERTAKING
Sets the value of the defaultovertaking property.- Parameters:
value- String; allowed object isString
-
getBase
Gets the value of the base property.- Returns:
- possible object is
String
-
setBase
Sets the value of the base property.- Parameters:
value- String; allowed object isString
-