Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.ui.action.resource.common.monitor.visibility
Class AvailabilityDataPoint

java.lang.Object
  extended by org.hyperic.hq.ui.action.resource.common.monitor.visibility.AvailabilityDataPoint
All Implemented Interfaces:
IDataPoint, IDisplayDataPoint

public class AvailabilityDataPoint
extends java.lang.Object
implements IDisplayDataPoint


Constructor Summary
AvailabilityDataPoint(java.lang.Integer integerValue)
           
 
Method Summary
 java.lang.String getLabel()
          Retrieves the label of a chart data point.
 long getTimestamp()
           
 double getValue()
          Retrieves the value of a chart data point.
 void setValue(double value)
           
 void setValue(java.lang.Integer integerValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailabilityDataPoint

public AvailabilityDataPoint(java.lang.Integer integerValue)
Method Detail

getTimestamp

public long getTimestamp()
Specified by:
getTimestamp in interface IDisplayDataPoint
Returns:
The absolute time of the datum, in milliseconds.

getValue

public double getValue()
Description copied from interface: IDataPoint
Retrieves the value of a chart data point. The label is displayed on the Y axis for line and column charts.

Specified by:
getValue in interface IDataPoint
Returns:
A floating point value for a chart data point.

setValue

public void setValue(double value)

setValue

public void setValue(java.lang.Integer integerValue)

getLabel

public java.lang.String getLabel()
Description copied from interface: IDisplayDataPoint
Retrieves the label of a chart data point. The data point is charted on the X axis for line and column charts.

Specified by:
getLabel in interface IDisplayDataPoint
Returns:
A String label for a chart data point.

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.