| Constructor and Description |
|---|
UnknownValue(java.lang.Object value)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
<X,E extends java.lang.Exception> |
accept(ValueVisitor<X,E> visitor) |
java.lang.String |
getUnit()
Get the unit of measure
|
UoM |
getUnitObject()
Get the unit of measure object
|
java.lang.Object |
getValue()
Get the measurement value
|
void |
setUnit(java.lang.String unit)
Set the unit of measure
|
UnknownValue |
setUnit(UoM unit)
Set the unit of measure object
|
UnknownValue |
setValue(java.lang.Object value)
Set the measurment value
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisSetUnit, isSetValuepublic UnknownValue(java.lang.Object value)
value - Measurement valuepublic UnknownValue setValue(java.lang.Object value)
Valuepublic java.lang.Object getValue()
Valuepublic void setUnit(java.lang.String unit)
Valuepublic UnknownValue setUnit(UoM unit)
Valuepublic java.lang.String getUnit()
Valuepublic UoM getUnitObject()
ValuegetUnitObject in interface Value<java.lang.Object>public java.lang.String toString()
toString in class java.lang.Objectpublic <X,E extends java.lang.Exception> X accept(ValueVisitor<X,E> visitor) throws E extends java.lang.Exception
Copyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.