public abstract class AbstractMeasureType extends Object
| Constructor and Description |
|---|
AbstractMeasureType(Double value)
constructor
|
AbstractMeasureType(Double value,
String unit)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getUnit()
Get unit of measure
|
Double |
getValue() |
boolean |
isSetUnit()
Check whether unit of measure is set
|
boolean |
isSetValue()
Check whether measured value is set
|
void |
setUnit(String unit)
Set unit of measure
|
void |
setValue(Double value) |
String |
toString() |
public AbstractMeasureType(Double value)
value - Measured valuepublic void setValue(Double value)
value - Measured value to setpublic Double getValue()
public void setUnit(String unit)
unit - Unit of measure to setpublic String getUnit()
public boolean isSetValue()
true, if measured value is setpublic boolean isSetUnit()
true, if unit of measure is setCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.