public class GmlMeasureType extends Object
Modifier and Type | Field and Description |
---|---|
private String |
unit
Unit of measure
|
private Double |
value
Measured value
|
Constructor and Description |
---|
GmlMeasureType(Double value)
constructor
|
GmlMeasureType(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 GmlMeasureType(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 © 2012-2015 52north.org. All Rights Reserved.