Class SHORTESTROUTE
- java.lang.Object
-
- org.opentrafficsim.xml.generated.SHORTESTROUTE
-
- All Implemented Interfaces:
Serializable
@Generated(value="com.sun.tools.xjc.Driver", date="2022-02-09T09:39:06+01:00", comments="JAXB RI v2.3.0") public class SHORTESTROUTE extends Object implements SerializableJava 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="FROM"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="NODE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="TO"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="NODE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="VIA" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="NODE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <choice maxOccurs="2"> <element name="DISTANCECOST" type="{http://www.opentrafficsim.org/ots}DISTANCECOSTTYPE"/> <element name="TIMECOST" type="{http://www.opentrafficsim.org/ots}TIMECOSTTYPE"/> </choice> </sequence> <attribute name="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute ref="{http://www.w3.org/XML/1998/namespace}base"/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSHORTESTROUTE.FROMJava class for anonymous complex type.static classSHORTESTROUTE.TOJava class for anonymous complex type.static classSHORTESTROUTE.VIAJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected Stringbaseprotected List<javax.xml.bind.JAXBElement<String>>distancecostOrTIMECOSTprotected SHORTESTROUTE.FROMfromprotected Stringgtutypeprotected Stringidprotected SHORTESTROUTE.TOtoprotected List<SHORTESTROUTE.VIA>via
-
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.List<javax.xml.bind.JAXBElement<String>>getDISTANCECOSTOrTIMECOST()Gets the value of the distancecostOrTIMECOST property.SHORTESTROUTE.FROMgetFROM()Gets the value of the from property.StringgetGTUTYPE()Gets the value of the gtutype property.StringgetID()Gets the value of the id property.SHORTESTROUTE.TOgetTO()Gets the value of the to property.List<SHORTESTROUTE.VIA>getVIA()Gets the value of the via property.voidsetBase(String value)Sets the value of the base property.voidsetFROM(SHORTESTROUTE.FROM value)Sets the value of the from property.voidsetGTUTYPE(String value)Sets the value of the gtutype property.voidsetID(String value)Sets the value of the id property.voidsetTO(SHORTESTROUTE.TO value)Sets the value of the to property.
-
-
-
Field Detail
-
from
@Generated(value="com.sun.tools.xjc.Driver", date="2022-02-09T09:39:06+01:00", comments="JAXB RI v2.3.0") protected SHORTESTROUTE.FROM from
-
to
@Generated(value="com.sun.tools.xjc.Driver", date="2022-02-09T09:39:06+01:00", comments="JAXB RI v2.3.0") protected SHORTESTROUTE.TO to
-
via
@Generated(value="com.sun.tools.xjc.Driver", date="2022-02-09T09:39:06+01:00", comments="JAXB RI v2.3.0") protected List<SHORTESTROUTE.VIA> via
-
distancecostOrTIMECOST
@Generated(value="com.sun.tools.xjc.Driver", date="2022-02-09T09:39:06+01:00", comments="JAXB RI v2.3.0") protected List<javax.xml.bind.JAXBElement<String>> distancecostOrTIMECOST
-
gtutype
@Generated(value="com.sun.tools.xjc.Driver", date="2022-02-09T09:39:06+01:00", comments="JAXB RI v2.3.0") protected String gtutype
-
id
@Generated(value="com.sun.tools.xjc.Driver", date="2022-02-09T09:39:06+01:00", comments="JAXB RI v2.3.0") protected String id
-
base
@Generated(value="com.sun.tools.xjc.Driver", date="2022-02-09T09:39:06+01:00", comments="JAXB RI v2.3.0") protected String base
-
-
Method Detail
-
getFROM
@Generated(value="com.sun.tools.xjc.Driver", date="2022-02-09T09:39:06+01:00", comments="JAXB RI v2.3.0") public SHORTESTROUTE.FROM getFROM()Gets the value of the from property.- Returns:
- possible object is
SHORTESTROUTE.FROM
-
setFROM
@Generated(value="com.sun.tools.xjc.Driver", date="2022-02-09T09:39:06+01:00", comments="JAXB RI v2.3.0") public void setFROM(SHORTESTROUTE.FROM value)Sets the value of the from property.- Parameters:
value- allowed object isSHORTESTROUTE.FROM
-
getTO
@Generated(value="com.sun.tools.xjc.Driver", date="2022-02-09T09:39:06+01:00", comments="JAXB RI v2.3.0") public SHORTESTROUTE.TO getTO()Gets the value of the to property.- Returns:
- possible object is
SHORTESTROUTE.TO
-
setTO
@Generated(value="com.sun.tools.xjc.Driver", date="2022-02-09T09:39:06+01:00", comments="JAXB RI v2.3.0") public void setTO(SHORTESTROUTE.TO value)Sets the value of the to property.- Parameters:
value- allowed object isSHORTESTROUTE.TO
-
getVIA
@Generated(value="com.sun.tools.xjc.Driver", date="2022-02-09T09:39:06+01:00", comments="JAXB RI v2.3.0") public List<SHORTESTROUTE.VIA> 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
SHORTESTROUTE.VIA
-
getDISTANCECOSTOrTIMECOST
@Generated(value="com.sun.tools.xjc.Driver", date="2022-02-09T09:39:06+01:00", comments="JAXB RI v2.3.0") public List<javax.xml.bind.JAXBElement<String>> getDISTANCECOSTOrTIMECOST()Gets the value of the distancecostOrTIMECOST 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 distancecostOrTIMECOST property.For example, to add a new item, do as follows:
getDISTANCECOSTOrTIMECOST().add(newItem);Objects of the following type(s) are allowed in the list
JAXBElement<String>JAXBElement<String>
-
getGTUTYPE
@Generated(value="com.sun.tools.xjc.Driver", date="2022-02-09T09:39:06+01:00", comments="JAXB RI v2.3.0") public String getGTUTYPE()Gets the value of the gtutype property.- Returns:
- possible object is
String
-
setGTUTYPE
@Generated(value="com.sun.tools.xjc.Driver", date="2022-02-09T09:39:06+01:00", comments="JAXB RI v2.3.0") public void setGTUTYPE(String value)Sets the value of the gtutype property.- Parameters:
value- allowed object isString
-
getID
@Generated(value="com.sun.tools.xjc.Driver", date="2022-02-09T09:39:06+01:00", comments="JAXB RI v2.3.0") public String getID()Gets the value of the id property.- Returns:
- possible object is
String
-
setID
@Generated(value="com.sun.tools.xjc.Driver", date="2022-02-09T09:39:06+01:00", comments="JAXB RI v2.3.0") public void setID(String value)Sets the value of the id property.- Parameters:
value- allowed object isString
-
getBase
@Generated(value="com.sun.tools.xjc.Driver", date="2022-02-09T09:39:06+01:00", comments="JAXB RI v2.3.0") public String getBase()Gets the value of the base property.- Returns:
- possible object is
String
-
-