@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") 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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
base |
protected String |
distancecost |
protected Object |
from |
protected String |
name |
protected String |
timecost |
protected Object |
to |
protected List<Object> |
via |
| Constructor and Description |
|---|
SHORTESTROUTE() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBase()
Gets the value of the base property.
|
String |
getDISTANCECOST()
Gets the value of the distancecost property.
|
Object |
getFROM()
Gets the value of the from property.
|
String |
getNAME()
Gets the value of the name property.
|
String |
getTIMECOST()
Gets the value of the timecost property.
|
Object |
getTO()
Gets the value of the to property.
|
List<Object> |
getVIA()
Gets the value of the via property.
|
void |
setBase(String value)
Sets the value of the base property.
|
void |
setDISTANCECOST(String value)
Sets the value of the distancecost property.
|
void |
setFROM(Object value)
Sets the value of the from property.
|
void |
setNAME(String value)
Sets the value of the name property.
|
void |
setTIMECOST(String value)
Sets the value of the timecost property.
|
void |
setTO(Object value)
Sets the value of the to property.
|
@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") protected String name
@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") protected Object from
@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") protected Object to
@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") protected List<Object> via
@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") protected String distancecost
@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") protected String timecost
@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") protected String base
@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") public String getNAME()
String@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") public void setNAME(String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") public Object getFROM()
Object@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") public void setFROM(Object value)
value - allowed object is
Object@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") public Object getTO()
Object@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") public void setTO(Object value)
value - allowed object is
Object@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") public List<Object> getVIA()
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 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
@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") public String getDISTANCECOST()
String@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") public void setDISTANCECOST(String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") public String getTIMECOST()
String@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") public void setTIMECOST(String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver", date="2019-03-16T06:21:55+01:00", comments="JAXB RI v2.3.0") public String getBase()
StringCopyright © 2014–2019 Delft University of Technology. All rights reserved.