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