Class SHORTESTROUTE
- java.lang.Object
-
- org.opentrafficsim.road.network.factory.vissim.xsd.SHORTESTROUTE
-
public class SHORTESTROUTE extends java.lang.ObjectJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringbaseprotected java.lang.Stringdistancecostprotected java.lang.Objectfromprotected java.lang.Stringnameprotected java.lang.Stringtimecostprotected java.lang.Objecttoprotected java.util.List<java.lang.Object>via
-
Constructor Summary
Constructors Constructor Description SHORTESTROUTE()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBase()Gets the value of the base property.java.lang.StringgetDISTANCECOST()Gets the value of the distancecost property.java.lang.ObjectgetFROM()Gets the value of the from property.java.lang.StringgetNAME()Gets the value of the name property.java.lang.StringgetTIMECOST()Gets the value of the timecost property.java.lang.ObjectgetTO()Gets the value of the to property.java.util.List<java.lang.Object>getVIA()Gets the value of the via property.voidsetBase(java.lang.String value)Sets the value of the base property.voidsetDISTANCECOST(java.lang.String value)Sets the value of the distancecost property.voidsetFROM(java.lang.Object value)Sets the value of the from property.voidsetNAME(java.lang.String value)Sets the value of the name property.voidsetTIMECOST(java.lang.String value)Sets the value of the timecost property.voidsetTO(java.lang.Object value)Sets the value of the to property.
-
-
-
Field Detail
-
name
protected java.lang.String name
-
from
protected java.lang.Object from
-
to
protected java.lang.Object to
-
via
protected java.util.List<java.lang.Object> via
-
distancecost
protected java.lang.String distancecost
-
timecost
protected java.lang.String timecost
-
base
protected java.lang.String base
-
-
Method Detail
-
getNAME
public java.lang.String getNAME()
Gets the value of the name property.- Returns:
- possible object is
String
-
setNAME
public void setNAME(java.lang.String value)
Sets the value of the name property.- Parameters:
value- String; allowed object isString
-
getFROM
public java.lang.Object getFROM()
Gets the value of the from property.- Returns:
- possible object is
Object
-
setFROM
public void setFROM(java.lang.Object value)
Sets the value of the from property.- Parameters:
value- Object; allowed object isObject
-
getTO
public java.lang.Object getTO()
Gets the value of the to property.- Returns:
- possible object is
Object
-
setTO
public void setTO(java.lang.Object value)
Sets the value of the to property.- Parameters:
value- Object; allowed object isObject
-
getVIA
public java.util.List<java.lang.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 java.lang.String getDISTANCECOST()
Gets the value of the distancecost property.- Returns:
- possible object is
String
-
setDISTANCECOST
public void setDISTANCECOST(java.lang.String value)
Sets the value of the distancecost property.- Parameters:
value- String; allowed object isString
-
getTIMECOST
public java.lang.String getTIMECOST()
Gets the value of the timecost property.- Returns:
- possible object is
String
-
setTIMECOST
public void setTIMECOST(java.lang.String value)
Sets the value of the timecost property.- Parameters:
value- String; allowed object isString
-
getBase
public java.lang.String getBase()
Gets the value of the base property.- Returns:
- possible object is
String
-
setBase
public void setBase(java.lang.String value)
Sets the value of the base property.- Parameters:
value- String; allowed object isString
-
-