|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider
org.hackystat.projectbrowser.page.sensordata.SensorDataTableModel
public class SensorDataTableModel
Provides a model that summarizes for each day in a month, how many sensor data instances of a given type were associated with that day.
Constructor Summary | |
---|---|
SensorDataTableModel()
Default constructor. |
Method Summary | |
---|---|
void |
detach()
Does nothing at the moment. |
java.util.Set<java.lang.String> |
getSdtSet()
Gets a set of strings containing the name of all Sdts sent during this month. |
boolean |
isEmpty()
True if this model contains no data. |
java.util.Iterator |
iterator(int first,
int count)
Returns an iterator over the rows in this model. |
org.apache.wicket.model.IModel |
model(java.lang.Object obj)
The model associated with a row in this table. |
void |
setModel(org.hackystat.sensorbase.resource.projects.jaxb.MultiDayProjectSummary multiDaySummary,
org.hackystat.sensorbase.resource.projects.jaxb.Project project)
Used to set up the model. |
int |
size()
The total number of rows in this table. |
Methods inherited from class org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider |
---|
getSort, getSortState, setSort, setSort, setSortState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SensorDataTableModel()
Method Detail |
---|
public void setModel(org.hackystat.sensorbase.resource.projects.jaxb.MultiDayProjectSummary multiDaySummary, org.hackystat.sensorbase.resource.projects.jaxb.Project project)
multiDaySummary
- The multidayprojrectsummary instance.project
- The project.public java.util.Set<java.lang.String> getSdtSet()
public java.util.Iterator iterator(int first, int count)
first
- The first element in the iterator. (Ignored)count
- The total number of instances. (Ignored)
public org.apache.wicket.model.IModel model(java.lang.Object obj)
obj
- The SensorDataTableRowModel.
public int size()
public void detach()
detach
in interface org.apache.wicket.model.IDetachable
detach
in class org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider
public boolean isEmpty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |