Package org.opennms.web.svclayer.model
Class StatisticsReportModel
- java.lang.Object
-
- org.opennms.web.svclayer.model.StatisticsReportModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StatisticsReportModel.Datum
static class
StatisticsReportModel.PrettyOnmsResource
This class extends OnmsResource and overrides the toString() method, providing a more human-readable description of the resource.
-
Constructor Summary
Constructors Constructor Description StatisticsReportModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addData(StatisticsReportModel.Datum datum)
addDataSortedSet<StatisticsReportModel.Datum>
getData()
getDataorg.springframework.validation.BindingResult
getErrors()
getErrorsStatisticsReport
getReport()
getReportvoid
setData(SortedSet<StatisticsReportModel.Datum> data)
setDatavoid
setErrors(org.springframework.validation.BindingResult errors)
setErrorsvoid
setReport(StatisticsReport report)
setReport
-
-
-
Method Detail
-
getData
public SortedSet<StatisticsReportModel.Datum> getData()
getData
- Returns:
- a
SortedSet
object.
-
setData
public void setData(SortedSet<StatisticsReportModel.Datum> data)
setData
- Parameters:
data
- aSortedSet
object.
-
addData
public void addData(StatisticsReportModel.Datum datum)
addData
- Parameters:
datum
- aStatisticsReportModel.Datum
object.
-
getErrors
public org.springframework.validation.BindingResult getErrors()
getErrors
- Returns:
- a
BindingResult
object.
-
setErrors
public void setErrors(org.springframework.validation.BindingResult errors)
setErrors
- Parameters:
errors
- aBindingResult
object.
-
getReport
public StatisticsReport getReport()
getReport
- Returns:
- a
StatisticsReport
object.
-
setReport
public void setReport(StatisticsReport report)
setReport
- Parameters:
report
- aStatisticsReport
object.
-
-