Class SHORTESTROUTE

java.lang.Object
org.opentrafficsim.xml.generated.SHORTESTROUTE
All Implemented Interfaces:
java.io.Serializable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2020-01-23T12:43:16+01:00",
           comments="JAXB RI v2.3.0")
public class SHORTESTROUTE
extends java.lang.Object
implements java.io.Serializable

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">
       <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 class  SHORTESTROUTE.FROM
    Java class for anonymous complex type.
    static class  SHORTESTROUTE.TO
    Java class for anonymous complex type.
    static class  SHORTESTROUTE.VIA
    Java class for anonymous complex type.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.lang.String base  
    protected java.util.List<javax.xml.bind.JAXBElement<java.lang.String>> distancecostOrTIMECOST  
    protected SHORTESTROUTE.FROM from  
    protected java.lang.String gtutype  
    protected java.lang.String id  
    protected SHORTESTROUTE.TO to  
    protected java.util.List<SHORTESTROUTE.VIA> via  
  • Constructor Summary

    Constructors 
    Constructor Description
    SHORTESTROUTE()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getBase()
    Gets the value of the base property.
    java.util.List<javax.xml.bind.JAXBElement<java.lang.String>> getDISTANCECOSTOrTIMECOST()
    Gets the value of the distancecostOrTIMECOST property.
    SHORTESTROUTE.FROM getFROM()
    Gets the value of the from property.
    java.lang.String getGTUTYPE()
    Gets the value of the gtutype property.
    java.lang.String getID()
    Gets the value of the id property.
    SHORTESTROUTE.TO getTO()
    Gets the value of the to property.
    java.util.List<SHORTESTROUTE.VIA> getVIA()
    Gets the value of the via property.
    void setBase​(java.lang.String value)
    Sets the value of the base property.
    void setFROM​(SHORTESTROUTE.FROM value)
    Sets the value of the from property.
    void setGTUTYPE​(java.lang.String value)
    Sets the value of the gtutype property.
    void setID​(java.lang.String value)
    Sets the value of the id property.
    void setTO​(SHORTESTROUTE.TO value)
    Sets the value of the to property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • from

      @Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:43:16+01:00", comments="JAXB RI v2.3.0") protected SHORTESTROUTE.FROM from
    • to

      @Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:43:16+01:00", comments="JAXB RI v2.3.0") protected SHORTESTROUTE.TO to
    • via

      @Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:43:16+01:00", comments="JAXB RI v2.3.0") protected java.util.List<SHORTESTROUTE.VIA> via
    • distancecostOrTIMECOST

      @Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:43:16+01:00", comments="JAXB RI v2.3.0") protected java.util.List<javax.xml.bind.JAXBElement<java.lang.String>> distancecostOrTIMECOST
    • gtutype

      @Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:43:16+01:00", comments="JAXB RI v2.3.0") protected java.lang.String gtutype
    • id

      @Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:43:16+01:00", comments="JAXB RI v2.3.0") protected java.lang.String id
    • base

      @Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:43:16+01:00", comments="JAXB RI v2.3.0") protected java.lang.String base
  • Constructor Details

  • Method Details

    • getFROM

      @Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:43:16+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="2020-01-23T12:43:16+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 is SHORTESTROUTE.FROM
    • getTO

      @Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:43:16+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="2020-01-23T12:43:16+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 is SHORTESTROUTE.TO
    • getVIA

      @Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:43:16+01:00", comments="JAXB RI v2.3.0") public java.util.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 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 SHORTESTROUTE.VIA

    • getDISTANCECOSTOrTIMECOST

      @Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:43:16+01:00", comments="JAXB RI v2.3.0") public java.util.List<javax.xml.bind.JAXBElement<java.lang.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 set method 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="2020-01-23T12:43:16+01:00", comments="JAXB RI v2.3.0") public java.lang.String getGTUTYPE()
      Gets the value of the gtutype property.
      Returns:
      possible object is String
    • setGTUTYPE

      @Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:43:16+01:00", comments="JAXB RI v2.3.0") public void setGTUTYPE​(java.lang.String value)
      Sets the value of the gtutype property.
      Parameters:
      value - allowed object is String
    • getID

      @Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:43:16+01:00", comments="JAXB RI v2.3.0") public java.lang.String getID()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setID

      @Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:43:16+01:00", comments="JAXB RI v2.3.0") public void setID​(java.lang.String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • getBase

      @Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:43:16+01:00", comments="JAXB RI v2.3.0") public java.lang.String getBase()
      Gets the value of the base property.
      Returns:
      possible object is String
    • setBase

      @Generated(value="com.sun.tools.xjc.Driver", date="2020-01-23T12:43:16+01:00", comments="JAXB RI v2.3.0") public void setBase​(java.lang.String value)
      Sets the value of the base property.
      Parameters:
      value - allowed object is String