org.rhq.enterprise.server.rest.domain
Class NumericDataPoint

java.lang.Object
  extended by org.rhq.enterprise.server.rest.domain.NumericDataPoint

public class NumericDataPoint
extends Object

One numerical data point of a schedule. This point does not contain the schedule id, as it is expected to be used to return lists of data points for a schedule. Xml names for the item and the attributes are shortened to conserve space when transferring to clients

Author:
Heiko W. Rupp

Constructor Summary
NumericDataPoint()
           
NumericDataPoint(long timeStamp, Double value)
           
NumericDataPoint(long timeStamp, int scheduleId, Double value)
           
 
Method Summary
 int getScheduleId()
           
 long getTimeStamp()
           
 Double getValue()
           
 void setScheduleId(int scheduleId)
           
 void setTimeStamp(long timeStamp)
           
 void setValue(Double value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericDataPoint

public NumericDataPoint()

NumericDataPoint

public NumericDataPoint(long timeStamp,
                        Double value)

NumericDataPoint

public NumericDataPoint(long timeStamp,
                        int scheduleId,
                        Double value)
Method Detail

getTimeStamp

public long getTimeStamp()

getValue

public Double getValue()

getScheduleId

public int getScheduleId()

setScheduleId

public void setScheduleId(int scheduleId)

setTimeStamp

public void setTimeStamp(long timeStamp)

setValue

public void setValue(Double value)


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