org.rhq.core.domain.measurement.composite
Class MeasurementStringValueAndUnits

java.lang.Object
  extended by org.rhq.core.domain.measurement.composite.MeasurementStringValueAndUnits
All Implemented Interfaces:
Serializable, MeasurementValueAndUnits

public class MeasurementStringValueAndUnits
extends Object
implements MeasurementValueAndUnits, Serializable

See Also:
Serialized Form

Constructor Summary
MeasurementStringValueAndUnits(String value, MeasurementUnits units)
           
 
Method Summary
 MeasurementUnits getUnits()
           
 String getValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MeasurementStringValueAndUnits

public MeasurementStringValueAndUnits(String value,
                                      MeasurementUnits units)
Method Detail

getValue

public String getValue()
Specified by:
getValue in interface MeasurementValueAndUnits

getUnits

public MeasurementUnits getUnits()
Specified by:
getUnits in interface MeasurementValueAndUnits

toString

public String toString()
Overrides:
toString in class Object


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