public class TVPValue extends Object implements MultiValue<List<TimeValuePair>>
| Constructor and Description |
|---|
TVPValue() |
| Modifier and Type | Method and Description |
|---|---|
<X,E extends Exception> |
accept(ValueVisitor<X,E> visitor) |
void |
addValue(TimeValuePair value)
Add time value pair value
|
void |
addValues(List<TimeValuePair> values)
Add time value pair values
|
Time |
getPhenomenonTime()
Get the phenomenon time for the multiple values
|
String |
getUnit()
Get the unit of measure
|
UoM |
getUnitObject()
Get the unit of measure object
|
List<TimeValuePair> |
getValue()
Get the measurement value
|
boolean |
isSetValue()
Check whether the value is set
|
void |
setUnit(String unit)
Set the unit of measure
|
TVPValue |
setUnit(UoM unit)
Set the unit of measure object
|
TVPValue |
setValue(List<TimeValuePair> value)
Set the measurment value
|
public TVPValue setValue(List<TimeValuePair> value)
ValuesetValue in interface MultiValue<List<TimeValuePair>>setValue in interface Value<List<TimeValuePair>>value - Value to setpublic List<TimeValuePair> getValue()
ValuegetValue in interface Value<List<TimeValuePair>>public void addValue(TimeValuePair value)
value - Time value pair value to addpublic void addValues(List<TimeValuePair> values)
values - Time value pair values to addpublic void setUnit(String unit)
ValuesetUnit in interface Value<List<TimeValuePair>>unit - Unit of measurepublic TVPValue setUnit(UoM unit)
ValuesetUnit in interface Value<List<TimeValuePair>>unit - Unit of measurepublic String getUnit()
ValuegetUnit in interface Value<List<TimeValuePair>>public UoM getUnitObject()
ValuegetUnitObject in interface Value<List<TimeValuePair>>public Time getPhenomenonTime()
MultiValuegetPhenomenonTime in interface MultiValue<List<TimeValuePair>>public boolean isSetValue()
ValueisSetValue in interface Value<List<TimeValuePair>>true, if value is setpublic <X,E extends Exception> X accept(ValueVisitor<X,E> visitor) throws E extends Exception
accept in interface Value<List<TimeValuePair>>E extends ExceptionCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.