public class GTU 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">
<attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="LENGTH" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHDISTTYPE" />
<attribute name="WIDTH" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHDISTTYPE" />
<attribute name="MAXSPEED" use="required" type="{http://www.opentrafficsim.org/ots}SPEEDDISTTYPE" />
<attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
base |
protected String |
gtutype |
protected String |
length |
protected String |
maxspeed |
protected String |
name |
protected String |
width |
| Constructor and Description |
|---|
GTU() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBase()
Gets the value of the base property.
|
String |
getGTUTYPE()
Gets the value of the gtutype property.
|
String |
getLENGTH()
Gets the value of the length property.
|
String |
getMAXSPEED()
Gets the value of the maxspeed property.
|
String |
getNAME()
Gets the value of the name property.
|
String |
getWIDTH()
Gets the value of the width property.
|
void |
setBase(String value)
Sets the value of the base property.
|
void |
setGTUTYPE(String value)
Sets the value of the gtutype property.
|
void |
setLENGTH(String value)
Sets the value of the length property.
|
void |
setMAXSPEED(String value)
Sets the value of the maxspeed property.
|
void |
setNAME(String value)
Sets the value of the name property.
|
void |
setWIDTH(String value)
Sets the value of the width property.
|
protected String name
protected String gtutype
protected String length
protected String width
protected String maxspeed
protected String base
public String getNAME()
Stringpublic void setNAME(String value)
value - allowed object is Stringpublic String getGTUTYPE()
Stringpublic void setGTUTYPE(String value)
value - allowed object is Stringpublic String getLENGTH()
Stringpublic void setLENGTH(String value)
value - allowed object is Stringpublic String getWIDTH()
Stringpublic void setWIDTH(String value)
value - allowed object is Stringpublic String getMAXSPEED()
Stringpublic void setMAXSPEED(String value)
value - allowed object is Stringpublic String getBase()
StringCopyright © 2014–2018 Delft University of Technology. All rights reserved.