Package org.n52.shetland.ogc.om.values
Class NilTemplateValue
- java.lang.Object
-
- org.n52.shetland.ogc.om.values.NilTemplateValue
-
-
Constructor Summary
Constructors Constructor Description NilTemplateValue()
-
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 objectStringgetValue()Get the measurement valuebooleanisSetValue()Check whether the value is setvoidsetUnit(String unit)Set the unit of measureNilTemplateValuesetUnit(UoM unit)Set the unit of measure objectNilTemplateValuesetValue(String value)Set the measurment valueStringtoString()
-
-
-
Method Detail
-
setValue
public NilTemplateValue setValue(String value)
Description copied from interface:ValueSet the measurment value
-
getValue
public String 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 NilTemplateValue 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<String>- Returns:
- Unit of measure
-
isSetValue
public boolean isSetValue()
Description copied from interface:ValueCheck whether the value is set- Specified by:
isSetValuein interfaceValue<String>- Returns:
true, if value is set
-
-