org.hackystat.projectbrowser.page.sensordata
Class SdtSummaryModel

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

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

Provides a model for the summary of sdts and their counts.

Author:
Philip Johnson.
See Also:
Serialized Form

Constructor Summary
SdtSummaryModel()
          The default constructor, required by Wicket.
 
Method Summary
 org.hackystat.sensorbase.resource.projects.jaxb.Project getProject()
          Return the Project for this page.
 java.util.List<org.hackystat.sensorbase.resource.projects.jaxb.ProjectSummary> getSummaryList()
          Returns the list of ProjectSummary instances.
 boolean isEmpty()
          True if this model contains no data.
 void setModel(org.hackystat.sensorbase.resource.projects.jaxb.MultiDayProjectSummary summary, org.hackystat.sensorbase.resource.projects.jaxb.Project project)
          Updates the SdtModel with the MultiDayProjectSummary instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SdtSummaryModel

public SdtSummaryModel()
The default constructor, required by Wicket.

Method Detail

getSummaryList

public java.util.List<org.hackystat.sensorbase.resource.projects.jaxb.ProjectSummary> getSummaryList()
Returns the list of ProjectSummary instances.

Returns:
The ProjectSummary instances.

getProject

public org.hackystat.sensorbase.resource.projects.jaxb.Project getProject()
Return the Project for this page.

Returns:
The project.

setModel

public final void setModel(org.hackystat.sensorbase.resource.projects.jaxb.MultiDayProjectSummary summary,
                           org.hackystat.sensorbase.resource.projects.jaxb.Project project)
Updates the SdtModel with the MultiDayProjectSummary instance.

Parameters:
summary - The summary instance.
project - The project for this summary.

isEmpty

public boolean isEmpty()
True if this model contains no data.

Returns:
True if this model has no data.