org.hackystat.projectbrowser.page.sensordata
Class SensorDataSession

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

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

Holds all of the models and other state for the SensorDataPage. This enables users to obtain an analysis in the SensorData page, then go to another page, then come back to this page and see the page in the same state as when they left it.

Author:
Philip Johnson
See Also:
Serialized Form

Constructor Summary
SensorDataSession()
          Create a session state instance for this page.
 
Method Summary
 java.lang.Integer getMonth()
          Gets the month.
 org.hackystat.sensorbase.resource.projects.jaxb.Project getProject()
          Gets the project associated with this page.
 java.lang.String getSdtName()
          Gets the sdt name.
 SdtSummaryModel getSdtSummaryModel()
          Returns the current SdtSummaryModel for this page.
 SensorDataDetailsModel getSensorDataDetailsModel()
          Return the sensor data details model.
 SensorDataDetailsProvider getSensorDataDetailsProvider()
          Return the sensor data details IDataProvider.
 SensorDataTableModel getSensorDataTableModel()
          Gets the SensorDataTableModel.
 java.lang.String getTool()
          Gets the tool.
 java.lang.Integer getYear()
          Gets the year.
 void setMonth(java.lang.Integer month)
          Sets the month.
 void setProject(org.hackystat.sensorbase.resource.projects.jaxb.Project project)
          Sets the projectName for this page.
 void setSdtName(java.lang.String sdtName)
          Sets the SDT name.
 void setSdtSummaryModel(SdtSummaryModel sdtSummaryModel)
          Sets the SdtSummaryModel for this page.
 void setSensorDataDetailsModel(SensorDataDetailsModel model)
          Set the sensor data details model.
 void setSensorDataDetailsProvider(SensorDataDetailsProvider model)
          Set the sensor data details IDataProvider.
 void setSensorDataTableModel(SensorDataTableModel model)
          Sets the SensorDataTableModel.
 void setTool(java.lang.String tool)
          Sets the tool.
 void setYear(java.lang.Integer year)
          Sets the year.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SensorDataSession

public SensorDataSession()
Create a session state instance for this page.

Method Detail

getProject

public org.hackystat.sensorbase.resource.projects.jaxb.Project getProject()
Gets the project associated with this page.

Returns:
The project for this page.

setProject

public void setProject(org.hackystat.sensorbase.resource.projects.jaxb.Project project)
Sets the projectName for this page.

Parameters:
project - The project for this page.

setSdtSummaryModel

public void setSdtSummaryModel(SdtSummaryModel sdtSummaryModel)
Sets the SdtSummaryModel for this page.

Parameters:
sdtSummaryModel - The sdtSummaryModel.

getSdtSummaryModel

public SdtSummaryModel getSdtSummaryModel()
Returns the current SdtSummaryModel for this page.

Returns:
The SdtSummaryModel.

getSensorDataDetailsModel

public SensorDataDetailsModel getSensorDataDetailsModel()
Return the sensor data details model.

Returns:
The sensor data details model.

setSensorDataDetailsModel

public void setSensorDataDetailsModel(SensorDataDetailsModel model)
Set the sensor data details model.

Parameters:
model - The sensor data details model.

getSensorDataDetailsProvider

public SensorDataDetailsProvider getSensorDataDetailsProvider()
Return the sensor data details IDataProvider.

Returns:
The sensor data details provider.

setSensorDataDetailsProvider

public void setSensorDataDetailsProvider(SensorDataDetailsProvider model)
Set the sensor data details IDataProvider.

Parameters:
model - The sensor data details provider

getSdtName

public java.lang.String getSdtName()
Gets the sdt name.

Returns:
The sdt name.

setSdtName

public void setSdtName(java.lang.String sdtName)
Sets the SDT name.

Parameters:
sdtName - The sdt name.

getTool

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

Returns:
The tool.

setTool

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

Parameters:
tool - The tool.

getMonth

public java.lang.Integer getMonth()
Gets the month.

Returns:
The month.

getYear

public java.lang.Integer getYear()
Gets the year.

Returns:
The year.

setMonth

public void setMonth(java.lang.Integer month)
Sets the month.

Parameters:
month - The month.

setYear

public void setYear(java.lang.Integer year)
Sets the year.

Parameters:
year - The year.

getSensorDataTableModel

public SensorDataTableModel getSensorDataTableModel()
Gets the SensorDataTableModel.

Returns:
The SensorDataTableModel.

setSensorDataTableModel

public void setSensorDataTableModel(SensorDataTableModel model)
Sets the SensorDataTableModel.

Parameters:
model - The model.