Package jaxb

Class Sensor


  • public class Sensor
    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="id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
           <attribute name="data_id" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="lanes" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}float" />
           <attribute name="type" use="required">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                 <pattern value="fixed|commodity"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="link_id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
           <attribute name="position" type="{http://www.w3.org/2001/XMLSchema}float" default="0" />
           <attribute name="dt" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
           <attribute name="commids" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Sensor

        public Sensor()
    • Method Detail

      • getId

        public long getId()
        Gets the value of the id property.
      • setId

        public void setId​(long value)
        Sets the value of the id property.
      • getDataId

        public String getDataId()
        Gets the value of the dataId property.
        Returns:
        possible object is String
      • setDataId

        public void setDataId​(String value)
        Sets the value of the dataId property.
        Parameters:
        value - allowed object is String
      • getLanes

        public String getLanes()
        Gets the value of the lanes property.
        Returns:
        possible object is String
      • setLanes

        public void setLanes​(String value)
        Sets the value of the lanes property.
        Parameters:
        value - allowed object is String
      • getLength

        public Float getLength()
        Gets the value of the length property.
        Returns:
        possible object is Float
      • setLength

        public void setLength​(Float value)
        Sets the value of the length property.
        Parameters:
        value - allowed object is Float
      • getType

        public String getType()
        Gets the value of the type property.
        Returns:
        possible object is String
      • setType

        public void setType​(String value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is String
      • getLinkId

        public long getLinkId()
        Gets the value of the linkId property.
      • setLinkId

        public void setLinkId​(long value)
        Sets the value of the linkId property.
      • getPosition

        public float getPosition()
        Gets the value of the position property.
        Returns:
        possible object is Float
      • setPosition

        public void setPosition​(Float value)
        Sets the value of the position property.
        Parameters:
        value - allowed object is Float
      • getDt

        public float getDt()
        Gets the value of the dt property.
      • setDt

        public void setDt​(float value)
        Sets the value of the dt property.
      • getCommids

        public String getCommids()
        Gets the value of the commids property.
        Returns:
        possible object is String
      • setCommids

        public void setCommids​(String value)
        Sets the value of the commids property.
        Parameters:
        value - allowed object is String