org.hackystat.projectbrowser.page.sensordata
Class SensorDataDetails

java.lang.Object
  extended by org.hackystat.projectbrowser.page.sensordata.SensorDataDetails
All Implemented Interfaces:
java.io.Serializable

public class SensorDataDetails
extends java.lang.Object
implements java.io.Serializable

A representation of a SensorData instance. If constructed with a SensorDataRef, will do lazy loading.

Author:
Philip Johnson
See Also:
Serialized Form

Constructor Summary
SensorDataDetails(org.hackystat.sensorbase.resource.sensordata.jaxb.SensorData data)
          Create a SensorData instance representation suitable for display in Wicket.
SensorDataDetails(org.hackystat.sensorbase.resource.sensordata.jaxb.SensorDataRef ref)
          Creates a SensorDataDetails from a SensorDataRef.
 
Method Summary
 java.lang.String getOwner()
          Return the owner.
 java.lang.String getProperties()
          Return the properties.
 java.lang.String getResource()
          Return the resource.
 java.lang.String getRuntime()
          Return the runtime.
 java.lang.String getSdtName()
          Return the SDT name.
 java.lang.String getTimeStamp()
          Return the timestamp.
 java.lang.String getTool()
          Return the tool.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SensorDataDetails

public SensorDataDetails(org.hackystat.sensorbase.resource.sensordata.jaxb.SensorData data)
Create a SensorData instance representation suitable for display in Wicket.

Parameters:
data - The SensorData instance from the SensorBase.

SensorDataDetails

public SensorDataDetails(org.hackystat.sensorbase.resource.sensordata.jaxb.SensorDataRef ref)
Creates a SensorDataDetails from a SensorDataRef. The ref will be used to retrieve a SensorData object the first time that an accessor on this instance is invoked.

Parameters:
ref - The SensorDataRef.
Method Detail

getTimeStamp

public java.lang.String getTimeStamp()
Return the timestamp.

Returns:
The timestamp.

getRuntime

public java.lang.String getRuntime()
Return the runtime.

Returns:
The runtime.

getSdtName

public java.lang.String getSdtName()
Return the SDT name.

Returns:
The sdt name.

getResource

public java.lang.String getResource()
Return the resource.

Returns:
The resource.

getOwner

public java.lang.String getOwner()
Return the owner.

Returns:
The owner.

getTool

public java.lang.String getTool()
Return the tool.

Returns:
The tool.

getProperties

public java.lang.String getProperties()
Return the properties.

Returns:
The properties.