Package org.n52.shetland.ogc.om.values
Class UnknownValue
- java.lang.Object
-
- org.n52.shetland.ogc.om.values.UnknownValue
-
-
Constructor Summary
Constructors Constructor Description UnknownValue(Object value)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <X,E extends Exception>
Xaccept(ValueVisitor<X,E> visitor)StringgetUnit()Get the unit of measureUoMgetUnitObject()Get the unit of measure objectObjectgetValue()Get the measurement valuevoidsetUnit(String unit)Set the unit of measureUnknownValuesetUnit(UoM unit)Set the unit of measure objectUnknownValuesetValue(Object value)Set the measurment valueStringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.n52.shetland.ogc.om.values.Value
isSetUnit, isSetValue
-
-
-
-
Constructor Detail
-
UnknownValue
public UnknownValue(Object value)
Constructor- Parameters:
value- Measurement value
-
-
Method Detail
-
setValue
public UnknownValue setValue(Object value)
Description copied from interface:ValueSet the measurment value
-
getValue
public Object getValue()
Description copied from interface:ValueGet the measurement value
-
setUnit
public void setUnit(String unit)
Description copied from interface:ValueSet the unit of measure
-
setUnit
public UnknownValue setUnit(UoM unit)
Description copied from interface:ValueSet the unit of measure object
-
getUnitObject
public UoM getUnitObject()
Description copied from interface:ValueGet the unit of measure object- Specified by:
getUnitObjectin interfaceValue<Object>- Returns:
- Unit of measure
-
-