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