org.rhq.core.domain.measurement
Class MeasurementDataNumeric

java.lang.Object
  extended by org.rhq.core.domain.measurement.MeasurementData
      extended by org.rhq.core.domain.measurement.MeasurementDataNumeric
All Implemented Interfaces:
Serializable

public class MeasurementDataNumeric
extends MeasurementData
implements Serializable

Subclass for numerical measurement data

See Also:
Serialized Form

Constructor Summary
protected MeasurementDataNumeric()
           
  MeasurementDataNumeric(long collectionTime, MeasurementScheduleRequest request, Double value)
           
  MeasurementDataNumeric(MeasurementDataPK md, Double value)
          Deprecated. 
  MeasurementDataNumeric(MeasurementScheduleRequest request, Double value)
           
 
Method Summary
 NumericType getRawNumericType()
           
 Double getValue()
           
 boolean isPerMinuteCollection()
           
 void setValue(Double value)
           
 String toString()
           
 
Methods inherited from class org.rhq.core.domain.measurement.MeasurementData
equals, getName, getSchedule, getScheduleId, getTimestamp, hashCode, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MeasurementDataNumeric

protected MeasurementDataNumeric()

MeasurementDataNumeric

public MeasurementDataNumeric(MeasurementScheduleRequest request,
                              Double value)

MeasurementDataNumeric

public MeasurementDataNumeric(long collectionTime,
                              MeasurementScheduleRequest request,
                              Double value)

MeasurementDataNumeric

@Deprecated
public MeasurementDataNumeric(MeasurementDataPK md,
                                         Double value)
Deprecated. 

Method Detail

getValue

public Double getValue()
Specified by:
getValue in class MeasurementData

setValue

public void setValue(Double value)

isPerMinuteCollection

public boolean isPerMinuteCollection()

getRawNumericType

public NumericType getRawNumericType()

toString

public String toString()
Overrides:
toString in class MeasurementData


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.