Package org.opennms.nrtg.api.model
Class DefaultMeasurementSet
- java.lang.Object
-
- org.opennms.nrtg.api.model.DefaultMeasurementSet
-
- All Implemented Interfaces:
Serializable
,MeasurementSet
public class DefaultMeasurementSet extends Object implements MeasurementSet
- Author:
- Markus Neumann, Christian Pape
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultMeasurementSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMeasurement(Measurement measurement)
String
getJson()
List<Measurement>
getMeasurements()
String
toString()
This toString method is for displaying reasons in the webapp NrtGrapher only.
-
-
-
Method Detail
-
addMeasurement
public void addMeasurement(Measurement measurement)
-
getJson
public String getJson()
- Specified by:
getJson
in interfaceMeasurementSet
-
getMeasurements
public List<Measurement> getMeasurements()
- Specified by:
getMeasurements
in interfaceMeasurementSet
-
-