org.hackystat.sensorbase.resource.sensordata.jaxb
Class SensorData

java.lang.Object
  extended by org.hackystat.sensorbase.resource.sensordata.jaxb.SensorData
All Implemented Interfaces:
java.io.Serializable

public class SensorData
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 ref="{}Timestamp"/>
         <element ref="{}Runtime"/>
         <element ref="{}Tool"/>
         <element ref="{}SensorDataType"/>
         <element ref="{}Resource"/>
         <element ref="{}Owner"/>
         <element ref="{}Properties"/>
       </sequence>
       <attribute ref="{}LastMod"/>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  javax.xml.datatype.XMLGregorianCalendar lastMod
           
protected  java.lang.String owner
           
protected  Properties properties
           
protected  java.lang.String resource
           
protected  javax.xml.datatype.XMLGregorianCalendar runtime
           
protected  java.lang.String sensorDataType
           
protected  javax.xml.datatype.XMLGregorianCalendar timestamp
           
protected  java.lang.String tool
           
 
Constructor Summary
SensorData()
           
 
Method Summary
 void addProperty(java.lang.String key, java.lang.String value)
          Adds a new property to this instance with the specified key and value.
 Property findProperty(java.lang.String key)
          Returns the first Property instance with the specified key, or null if not found.
 javax.xml.datatype.XMLGregorianCalendar getLastMod()
          Gets the value of the lastMod property.
 java.lang.String getOwner()
          Gets the value of the owner property.
 Properties getProperties()
          Gets the value of the properties property.
 java.lang.String getResource()
          Gets the value of the resource property.
 javax.xml.datatype.XMLGregorianCalendar getRuntime()
          Gets the value of the runtime property.
 java.lang.String getSensorDataType()
          Gets the value of the sensorDataType property.
 javax.xml.datatype.XMLGregorianCalendar getTimestamp()
          Gets the value of the timestamp property.
 java.lang.String getTool()
          Gets the value of the tool property.
 boolean isSetLastMod()
           
 boolean isSetOwner()
           
 boolean isSetProperties()
           
 boolean isSetResource()
           
 boolean isSetRuntime()
           
 boolean isSetSensorDataType()
           
 boolean isSetTimestamp()
           
 boolean isSetTool()
           
 void setLastMod(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the lastMod property.
 void setOwner(java.lang.String value)
          Sets the value of the owner property.
 void setProperties(Properties value)
          Sets the value of the properties property.
 void setResource(java.lang.String value)
          Sets the value of the resource property.
 void setRuntime(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the runtime property.
 void setSensorDataType(java.lang.String value)
          Sets the value of the sensorDataType property.
 void setTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the timestamp property.
 void setTool(java.lang.String value)
          Sets the value of the tool property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timestamp

protected javax.xml.datatype.XMLGregorianCalendar timestamp

runtime

protected javax.xml.datatype.XMLGregorianCalendar runtime

tool

protected java.lang.String tool

sensorDataType

protected java.lang.String sensorDataType

resource

protected java.lang.String resource

owner

protected java.lang.String owner

properties

protected Properties properties

lastMod

protected javax.xml.datatype.XMLGregorianCalendar lastMod
Constructor Detail

SensorData

public SensorData()
Method Detail

getTimestamp

public javax.xml.datatype.XMLGregorianCalendar getTimestamp()
Gets the value of the timestamp property.

Returns:
possible object is XMLGregorianCalendar

setTimestamp

public void setTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the timestamp property.

Parameters:
value - allowed object is XMLGregorianCalendar

isSetTimestamp

public boolean isSetTimestamp()

getRuntime

public javax.xml.datatype.XMLGregorianCalendar getRuntime()
Gets the value of the runtime property.

Returns:
possible object is XMLGregorianCalendar

setRuntime

public void setRuntime(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the runtime property.

Parameters:
value - allowed object is XMLGregorianCalendar

isSetRuntime

public boolean isSetRuntime()

getTool

public java.lang.String getTool()
Gets the value of the tool property.

Returns:
possible object is String

setTool

public void setTool(java.lang.String value)
Sets the value of the tool property.

Parameters:
value - allowed object is String

isSetTool

public boolean isSetTool()

getSensorDataType

public java.lang.String getSensorDataType()
Gets the value of the sensorDataType property.

Returns:
possible object is String

setSensorDataType

public void setSensorDataType(java.lang.String value)
Sets the value of the sensorDataType property.

Parameters:
value - allowed object is String

isSetSensorDataType

public boolean isSetSensorDataType()

getResource

public java.lang.String getResource()
Gets the value of the resource property.

Returns:
possible object is String

setResource

public void setResource(java.lang.String value)
Sets the value of the resource property.

Parameters:
value - allowed object is String

isSetResource

public boolean isSetResource()

getOwner

public java.lang.String getOwner()
Gets the value of the owner property.

Returns:
possible object is String

setOwner

public void setOwner(java.lang.String value)
Sets the value of the owner property.

Parameters:
value - allowed object is String

isSetOwner

public boolean isSetOwner()

getProperties

public Properties getProperties()
Gets the value of the properties property.

Returns:
possible object is Properties

setProperties

public void setProperties(Properties value)
Sets the value of the properties property.

Parameters:
value - allowed object is Properties

isSetProperties

public boolean isSetProperties()

getLastMod

public javax.xml.datatype.XMLGregorianCalendar getLastMod()
Gets the value of the lastMod property.

Returns:
possible object is XMLGregorianCalendar

setLastMod

public void setLastMod(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the lastMod property.

Parameters:
value - allowed object is XMLGregorianCalendar

isSetLastMod

public boolean isSetLastMod()

findProperty

public Property findProperty(java.lang.String key)
Returns the first Property instance with the specified key, or null if not found.

Parameters:
key - The key for the property of interest.
Returns:
The Property instance for the key, or null if not found.

addProperty

public void addProperty(java.lang.String key,
                        java.lang.String value)
Adds a new property to this instance with the specified key and value.

Parameters:
key - The key for the new property.
value - The value for the new property.