Package org.n52.shetland.ogc.om.values
Class TLVTValue
- java.lang.Object
-
- org.n52.shetland.ogc.om.values.TLVTValue
-
- All Implemented Interfaces:
MultiValue<List<TimeLocationValueTriple>>,Value<List<TimeLocationValueTriple>>
public class TLVTValue extends Object implements MultiValue<List<TimeLocationValueTriple>>
MultiValuerepresenting a time location value triple for observations- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description TLVTValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <X,E extends Exception>
Xaccept(ValueVisitor<X,E> visitor)voidaddValue(TimeLocationValueTriple value)Add time value pair valuevoidaddValues(List<TimeLocationValueTriple> values)Add time value pair valuesTimegetPhenomenonTime()Get the phenomenon time for the multiple valuesStringgetUnit()Get the unit of measureUoMgetUnitObject()Get the unit of measure objectList<TimeLocationValueTriple>getValue()Get the measurement valuebooleanisSetValue()Check whether the value is setvoidsetUnit(String unit)Set the unit of measureTLVTValuesetUnit(UoM unit)Set the unit of measure objectTLVTValuesetValue(List<TimeLocationValueTriple> value)Set the measurment value
-
-
-
Method Detail
-
setValue
public TLVTValue setValue(List<TimeLocationValueTriple> value)
Description copied from interface:ValueSet the measurment value- Specified by:
setValuein interfaceMultiValue<List<TimeLocationValueTriple>>- Specified by:
setValuein interfaceValue<List<TimeLocationValueTriple>>- Parameters:
value- Value to set
-
getValue
public List<TimeLocationValueTriple> getValue()
Description copied from interface:ValueGet the measurement value- Specified by:
getValuein interfaceValue<List<TimeLocationValueTriple>>- Returns:
- Measurement value
-
addValue
public void addValue(TimeLocationValueTriple value)
Add time value pair value- Parameters:
value- Time value pair value to add
-
addValues
public void addValues(List<TimeLocationValueTriple> values)
Add time value pair values- Parameters:
values- Time value pair values to add
-
setUnit
public void setUnit(String unit)
Description copied from interface:ValueSet the unit of measure- Specified by:
setUnitin interfaceValue<List<TimeLocationValueTriple>>- Parameters:
unit- Unit of measure
-
setUnit
public TLVTValue setUnit(UoM unit)
Description copied from interface:ValueSet the unit of measure object- Specified by:
setUnitin interfaceValue<List<TimeLocationValueTriple>>- Parameters:
unit- Unit of measure
-
getUnit
public String getUnit()
Description copied from interface:ValueGet the unit of measure- Specified by:
getUnitin interfaceValue<List<TimeLocationValueTriple>>- Returns:
- Unit of measure
-
getUnitObject
public UoM getUnitObject()
Description copied from interface:ValueGet the unit of measure object- Specified by:
getUnitObjectin interfaceValue<List<TimeLocationValueTriple>>- Returns:
- Unit of measure
-
getPhenomenonTime
public Time getPhenomenonTime()
Description copied from interface:MultiValueGet the phenomenon time for the multiple values- Specified by:
getPhenomenonTimein interfaceMultiValue<List<TimeLocationValueTriple>>- Returns:
- Phenomenon time
-
isSetValue
public boolean isSetValue()
Description copied from interface:ValueCheck whether the value is set- Specified by:
isSetValuein interfaceValue<List<TimeLocationValueTriple>>- Returns:
true, if value is set
-
accept
public <X,E extends Exception> X accept(ValueVisitor<X,E> visitor) throws E extends Exception
- Specified by:
acceptin interfaceValue<List<TimeLocationValueTriple>>- Throws:
E extends Exception
-
-