org.rhq.core.domain.measurement
Class MeasurementData
java.lang.Object
org.rhq.core.domain.measurement.MeasurementData
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MeasurementDataNumeric, MeasurementDataNumeric1D, MeasurementDataNumeric1H, MeasurementDataNumeric6H, MeasurementDataTrait
public abstract class MeasurementData
- extends Object
- implements Serializable
Represents data that was collected either due to a schedule or an on-demand, live collection.
- See Also:
- Serialized Form
MeasurementData
protected MeasurementData()
- Use this constructor if the data was collected on-demand and not part of a scheduled collection.
MeasurementData
protected MeasurementData(MeasurementDataPK pk)
MeasurementData
protected MeasurementData(long timestamp,
MeasurementScheduleRequest request)
MeasurementData
protected MeasurementData(MeasurementScheduleRequest request)
getScheduleId
public int getScheduleId()
getTimestamp
public long getTimestamp()
getName
public String getName()
setName
public void setName(String name)
getSchedule
public MeasurementSchedule getSchedule()
getValue
public abstract Object getValue()
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.