Class GTU


  • public class GTU
    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="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="LENGTH" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHDISTTYPE" />
           <attribute name="WIDTH" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHDISTTYPE" />
           <attribute name="MAXSPEED" use="required" type="{http://www.opentrafficsim.org/ots}SPEEDDISTTYPE" />
           <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 gtutype  
      protected java.lang.String length  
      protected java.lang.String maxspeed  
      protected java.lang.String name  
      protected java.lang.String width  
    • Constructor Summary

      Constructors 
      Constructor Description
      GTU()  
    • 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 getGTUTYPE()
      Gets the value of the gtutype property.
      java.lang.String getLENGTH()
      Gets the value of the length property.
      java.lang.String getMAXSPEED()
      Gets the value of the maxspeed property.
      java.lang.String getNAME()
      Gets the value of the name property.
      java.lang.String getWIDTH()
      Gets the value of the width property.
      void setBase​(java.lang.String value)
      Sets the value of the base property.
      void setGTUTYPE​(java.lang.String value)
      Sets the value of the gtutype property.
      void setLENGTH​(java.lang.String value)
      Sets the value of the length property.
      void setMAXSPEED​(java.lang.String value)
      Sets the value of the maxspeed property.
      void setNAME​(java.lang.String value)
      Sets the value of the name property.
      void setWIDTH​(java.lang.String value)
      Sets the value of the width 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
      • gtutype

        protected java.lang.String gtutype
      • length

        protected java.lang.String length
      • width

        protected java.lang.String width
      • maxspeed

        protected java.lang.String maxspeed
      • base

        protected java.lang.String base
    • Constructor Detail

      • GTU

        public GTU()
    • 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
      • getGTUTYPE

        public java.lang.String getGTUTYPE()
        Gets the value of the gtutype property.
        Returns:
        possible object is String
      • setGTUTYPE

        public void setGTUTYPE​(java.lang.String value)
        Sets the value of the gtutype property.
        Parameters:
        value - String; allowed object is String
      • getLENGTH

        public java.lang.String getLENGTH()
        Gets the value of the length property.
        Returns:
        possible object is String
      • setLENGTH

        public void setLENGTH​(java.lang.String value)
        Sets the value of the length property.
        Parameters:
        value - String; allowed object is String
      • getWIDTH

        public java.lang.String getWIDTH()
        Gets the value of the width property.
        Returns:
        possible object is String
      • setWIDTH

        public void setWIDTH​(java.lang.String value)
        Sets the value of the width property.
        Parameters:
        value - String; allowed object is String
      • getMAXSPEED

        public java.lang.String getMAXSPEED()
        Gets the value of the maxspeed property.
        Returns:
        possible object is String
      • setMAXSPEED

        public void setMAXSPEED​(java.lang.String value)
        Sets the value of the maxspeed 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