Package org.opennms.nrtg.api.model
Class DefaultMeasurement
- java.lang.Object
-
- org.opennms.nrtg.api.model.DefaultMeasurement
-
- All Implemented Interfaces:
Serializable
,Measurement
public class DefaultMeasurement extends Object implements Measurement
- Author:
- Christian Pape, Markus Neumann
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultMeasurement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMetricId()
String
getMetricType()
String
getNetInterface()
int
getNodeId()
String
getOnmsLogicMetricId()
String
getService()
Date
getTimestamp()
String
getValue()
void
setMetricId(String metricId)
void
setMetricType(String metricType)
void
setNetInterface(String theInterface)
void
setNodeId(int nodeId)
void
setOnmsLogicMetricId(String onmsLogicMetricId)
void
setService(String service)
void
setTimestamp(Date timestamp)
void
setValue(String value)
String
toString()
-
-
-
Method Detail
-
setNodeId
public void setNodeId(int nodeId)
- Specified by:
setNodeId
in interfaceMeasurement
-
setNetInterface
public void setNetInterface(String theInterface)
- Specified by:
setNetInterface
in interfaceMeasurement
-
setService
public void setService(String service)
- Specified by:
setService
in interfaceMeasurement
-
setMetricId
public void setMetricId(String metricId)
- Specified by:
setMetricId
in interfaceMeasurement
-
setMetricType
public void setMetricType(String metricType)
- Specified by:
setMetricType
in interfaceMeasurement
-
setValue
public void setValue(String value)
- Specified by:
setValue
in interfaceMeasurement
-
setTimestamp
public void setTimestamp(Date timestamp)
- Specified by:
setTimestamp
in interfaceMeasurement
-
getNodeId
public int getNodeId()
- Specified by:
getNodeId
in interfaceMeasurement
-
getNetInterface
public String getNetInterface()
- Specified by:
getNetInterface
in interfaceMeasurement
-
getService
public String getService()
- Specified by:
getService
in interfaceMeasurement
-
getMetricId
public String getMetricId()
- Specified by:
getMetricId
in interfaceMeasurement
-
getMetricType
public String getMetricType()
- Specified by:
getMetricType
in interfaceMeasurement
-
getValue
public String getValue()
- Specified by:
getValue
in interfaceMeasurement
-
getTimestamp
public Date getTimestamp()
- Specified by:
getTimestamp
in interfaceMeasurement
-
setOnmsLogicMetricId
public void setOnmsLogicMetricId(String onmsLogicMetricId)
- Specified by:
setOnmsLogicMetricId
in interfaceMeasurement
-
getOnmsLogicMetricId
public String getOnmsLogicMetricId()
- Specified by:
getOnmsLogicMetricId
in interfaceMeasurement
-
-