Package jaxb
Class Sensor
- java.lang.Object
-
- jaxb.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 Summary
Constructors Constructor Description Sensor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCommids()Gets the value of the commids property.StringgetDataId()Gets the value of the dataId property.floatgetDt()Gets the value of the dt property.longgetId()Gets the value of the id property.StringgetLanes()Gets the value of the lanes property.FloatgetLength()Gets the value of the length property.longgetLinkId()Gets the value of the linkId property.floatgetPosition()Gets the value of the position property.StringgetType()Gets the value of the type property.voidsetCommids(String value)Sets the value of the commids property.voidsetDataId(String value)Sets the value of the dataId property.voidsetDt(float value)Sets the value of the dt property.voidsetId(long value)Sets the value of the id property.voidsetLanes(String value)Sets the value of the lanes property.voidsetLength(Float value)Sets the value of the length property.voidsetLinkId(long value)Sets the value of the linkId property.voidsetPosition(Float value)Sets the value of the position property.voidsetType(String value)Sets the value of the type property.
-
-
-
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 isString
-
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 isString
-
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 isFloat
-
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 isString
-
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 isFloat
-
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
-
-