T - specific value typepublic interface Value<T>
| Modifier and Type | Method and Description |
|---|---|
<X,E extends Exception> |
accept(ValueVisitor<X,E> visitor) |
String |
getUnit()
Get the unit of measure
|
UoM |
getUnitObject()
Get the unit of measure object
|
T |
getValue()
Get the measurement value
|
default boolean |
isSetUnit()
Check whether the unit of measure is set
|
default boolean |
isSetValue()
Check whether the value is set
|
void |
setUnit(String unit)
Set the unit of measure
|
Value<T> |
setUnit(UoM unit)
Set the unit of measure object
|
Value<T> |
setValue(T value)
Set the measurment value
|
T getValue()
void setUnit(String unit)
unit - Unit of measureValue<T> setUnit(UoM unit)
unit - Unit of measureUoM getUnitObject()
String getUnit()
default boolean isSetValue()
true, if value is setdefault boolean isSetUnit()
true, if unit of measure is set<X,E extends Exception> X accept(ValueVisitor<X,E> visitor) throws E extends Exception
E extends ExceptionCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.