Class SHORTESTROUTE


  • public class SHORTESTROUTE
    extends java.lang.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>
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String base  
      protected java.lang.String distancecost  
      protected java.lang.Object from  
      protected java.lang.String name  
      protected java.lang.String timecost  
      protected java.lang.Object to  
      protected 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.String getBase()
      Gets the value of the base property.
      java.lang.String getDISTANCECOST()
      Gets the value of the distancecost property.
      java.lang.Object getFROM()
      Gets the value of the from property.
      java.lang.String getNAME()
      Gets the value of the name property.
      java.lang.String getTIMECOST()
      Gets the value of the timecost property.
      java.lang.Object getTO()
      Gets the value of the to property.
      java.util.List<java.lang.Object> getVIA()
      Gets the value of the via property.
      void setBase​(java.lang.String value)
      Sets the value of the base property.
      void setDISTANCECOST​(java.lang.String value)
      Sets the value of the distancecost property.
      void setFROM​(java.lang.Object value)
      Sets the value of the from property.
      void setNAME​(java.lang.String value)
      Sets the value of the name property.
      void setTIMECOST​(java.lang.String value)
      Sets the value of the timecost property.
      void setTO​(java.lang.Object 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 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
    • Constructor Detail

      • SHORTESTROUTE

        public SHORTESTROUTE()
    • 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 is String
      • 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 is Object
      • 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 is Object
      • 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 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

      • 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 is String
      • 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 is String
      • 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 is String