Package org.n52.shetland.ogc.om.values
Class ReferenceValue
java.lang.Object
org.n52.shetland.ogc.om.values.ReferenceValue
- All Implemented Interfaces:
Value<ReferenceType>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<X,E extends Exception>
Xaccept(ValueVisitor<X, E> visitor) getUnit()Get the unit of measureGet the unit of measure objectgetValue()Get the measurement valuebooleanCheck whether the value is setvoidSet the unit of measureSet the unit of measure objectsetValue(ReferenceType value) Set the measurment valuetoString()
-
Constructor Details
-
ReferenceValue
public ReferenceValue() -
ReferenceValue
-
-
Method Details
-
setValue
Description copied from interface:ValueSet the measurment value- Specified by:
setValuein interfaceValue<ReferenceType>- Parameters:
value- Value to set
-
getValue
Description copied from interface:ValueGet the measurement value- Specified by:
getValuein interfaceValue<ReferenceType>- Returns:
- Measurement value
-
setUnit
Description copied from interface:ValueSet the unit of measure- Specified by:
setUnitin interfaceValue<ReferenceType>- Parameters:
unit- Unit of measure
-
setUnit
Description copied from interface:ValueSet the unit of measure object- Specified by:
setUnitin interfaceValue<ReferenceType>- Parameters:
unit- Unit of measure
-
getUnit
Description copied from interface:ValueGet the unit of measure- Specified by:
getUnitin interfaceValue<ReferenceType>- Returns:
- Unit of measure
-
getUnitObject
Description copied from interface:ValueGet the unit of measure object- Specified by:
getUnitObjectin interfaceValue<ReferenceType>- Returns:
- Unit of measure
-
isSetValue
public boolean isSetValue()Description copied from interface:ValueCheck whether the value is set- Specified by:
isSetValuein interfaceValue<ReferenceType>- Returns:
true, if value is set
-
toString
-
accept
- Specified by:
acceptin interfaceValue<ReferenceType>- Throws:
E
-