T
- specific value typepublic interface Value<T> extends Serializable
Modifier and Type | Method and Description |
---|---|
String |
getUnit()
Get the unit of measure
|
T |
getValue()
Get the measurement value
|
boolean |
isSetUnit()
Check whether the unit of measure is set
|
boolean |
isSetValue()
Check whether the value is set
|
void |
setUnit(String unit)
Set the unit of measure
|
void |
setValue(T value)
Set the measurment value
|
void setValue(T value)
value
- Value to setT getValue()
void setUnit(String unit)
unit
- Unit of measureString getUnit()
boolean isSetValue()
true
, if value is setboolean isSetUnit()
true
, if unit of measure is setCopyright © 2012-2015 52north.org. All Rights Reserved.