Class SHORTESTROUTE
- java.lang.Object
-
- org.opentrafficsim.road.network.factory.vissim.xsd.SHORTESTROUTE
-
public class SHORTESTROUTE 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="FROM" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" /> <attribute name="TO" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" /> <attribute name="VIA" type="{http://www.w3.org/2001/XMLSchema}IDREFS" /> <attribute name="DISTANCECOST" use="required" type="{http://www.opentrafficsim.org/ots}DISTANCECOSTTYPE" /> <attribute name="TIMECOST" use="required" type="{http://www.opentrafficsim.org/ots}TIMECOSTTYPE" /> <attribute ref="{http://www.w3.org/XML/1998/namespace}base"/> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description SHORTESTROUTE()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBase()Gets the value of the base property.StringgetDISTANCECOST()Gets the value of the distancecost property.ObjectgetFROM()Gets the value of the from property.StringgetNAME()Gets the value of the name property.StringgetTIMECOST()Gets the value of the timecost property.ObjectgetTO()Gets the value of the to property.List<Object>getVIA()Gets the value of the via property.voidsetBase(String value)Sets the value of the base property.voidsetDISTANCECOST(String value)Sets the value of the distancecost property.voidsetFROM(Object value)Sets the value of the from property.voidsetNAME(String value)Sets the value of the name property.voidsetTIMECOST(String value)Sets the value of the timecost property.voidsetTO(Object value)Sets the value of the to property.
-
-
-
Method Detail
-
getNAME
public String getNAME()
Gets the value of the name property.- Returns:
- possible object is
String
-
setNAME
public void setNAME(String value)
Sets the value of the name property.- Parameters:
value- String; allowed object isString
-
getFROM
public Object getFROM()
Gets the value of the from property.- Returns:
- possible object is
Object
-
setFROM
public void setFROM(Object value)
Sets the value of the from property.- Parameters:
value- Object; allowed object isObject
-
setTO
public void setTO(Object value)
Sets the value of the to property.- Parameters:
value- Object; allowed object isObject
-
getVIA
public List<Object> getVIA()
Gets the value of the via 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 via property.For example, to add a new item, do as follows:
getVIA().add(newItem);
Objects of the following type(s) are allowed in the list
Object
-
getDISTANCECOST
public String getDISTANCECOST()
Gets the value of the distancecost property.- Returns:
- possible object is
String
-
setDISTANCECOST
public void setDISTANCECOST(String value)
Sets the value of the distancecost property.- Parameters:
value- String; allowed object isString
-
getTIMECOST
public String getTIMECOST()
Gets the value of the timecost property.- Returns:
- possible object is
String
-
setTIMECOST
public void setTIMECOST(String value)
Sets the value of the timecost property.- Parameters:
value- String; allowed object isString
-
getBase
public String getBase()
Gets the value of the base property.- Returns:
- possible object is
String
-
-