Package org.n52.shetland.ogc.om.values
Class SweDataArrayValue
java.lang.Object
org.n52.shetland.ogc.om.values.SweDataArrayValue
- All Implemented Interfaces:
MultiValue<SweDataArray>,Value<SweDataArray>
Multi value representing a SweDataArray for observations
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<X,E extends Exception>
Xaccept(ValueVisitor<X, E> visitor) booleanGet the phenomenon time for the multiple valuesgetUnit()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(SweDataArray value) Set the measurment valuetoString()
-
Constructor Details
-
SweDataArrayValue
public SweDataArrayValue() -
SweDataArrayValue
-
-
Method Details
-
setValue
Description copied from interface:ValueSet the measurment value- Specified by:
setValuein interfaceMultiValue<SweDataArray>- Specified by:
setValuein interfaceValue<SweDataArray>- Parameters:
value- Value to set
-
getValue
Description copied from interface:ValueGet the measurement value- Specified by:
getValuein interfaceValue<SweDataArray>- Returns:
- Measurement value
-
setUnit
Description copied from interface:ValueSet the unit of measure- Specified by:
setUnitin interfaceValue<SweDataArray>- Parameters:
unit- Unit of measure
-
setUnit
Description copied from interface:ValueSet the unit of measure object- Specified by:
setUnitin interfaceValue<SweDataArray>- Parameters:
unit- Unit of measure
-
getUnit
Description copied from interface:ValueGet the unit of measure- Specified by:
getUnitin interfaceValue<SweDataArray>- Returns:
- Unit of measure
-
getUnitObject
Description copied from interface:ValueGet the unit of measure object- Specified by:
getUnitObjectin interfaceValue<SweDataArray>- Returns:
- Unit of measure
-
addBlock
- Parameters:
blockOfTokensToAddAtTheEnd-- Returns:
- true (as specified by
Collection.add(E))
false if block could not be added
-
toString
-
getPhenomenonTime
Description copied from interface:MultiValueGet the phenomenon time for the multiple values- Specified by:
getPhenomenonTimein interfaceMultiValue<SweDataArray>- Returns:
- Phenomenon time
-
isSetValue
public boolean isSetValue()Description copied from interface:ValueCheck whether the value is set- Specified by:
isSetValuein interfaceValue<SweDataArray>- Returns:
true, if value is set
-
accept
- Specified by:
acceptin interfaceValue<SweDataArray>- Throws:
E
-