public class SweDataArrayValue extends Object implements MultiValue<SweDataArray>
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOGGER
logger
|
private static long |
serialVersionUID
serial number
|
private SweDataArray |
value
Measurement values
|
Constructor and Description |
---|
SweDataArrayValue() |
Modifier and Type | Method and Description |
---|---|
boolean |
addBlock(List<String> blockOfTokensToAddAtTheEnd)
|
private boolean |
checkFieldNameAndElementDefinition(SweField sweField) |
Time |
getPhenomenonTime()
Get the phenomenon time for the multiple values
|
String |
getUnit()
Get the unit of measure
|
SweDataArray |
getValue()
Get the measurement value
|
boolean |
isSetUnit()
Check whether the unit of measure is set
|
boolean |
isSetValue()
Check whether the value is set
|
void |
setUnit(String unit)
Set the unit of measure
|
void |
setValue(SweDataArray value)
Set the measurment value
|
String |
toString() |
private static final org.slf4j.Logger LOGGER
private static final long serialVersionUID
private SweDataArray value
public void setValue(SweDataArray value)
Value
setValue
in interface MultiValue<SweDataArray>
setValue
in interface Value<SweDataArray>
value
- Value to setpublic SweDataArray getValue()
Value
getValue
in interface Value<SweDataArray>
public void setUnit(String unit)
Value
setUnit
in interface Value<SweDataArray>
unit
- Unit of measurepublic String getUnit()
Value
getUnit
in interface Value<SweDataArray>
public boolean addBlock(List<String> blockOfTokensToAddAtTheEnd)
blockOfTokensToAddAtTheEnd
- Collection.add(E)
) public Time getPhenomenonTime()
MultiValue
getPhenomenonTime
in interface MultiValue<SweDataArray>
private boolean checkFieldNameAndElementDefinition(SweField sweField)
public boolean isSetValue()
Value
isSetValue
in interface Value<SweDataArray>
true
, if value is setpublic boolean isSetUnit()
Value
isSetUnit
in interface Value<SweDataArray>
true
, if unit of measure is setCopyright © 2012-2015 52north.org. All Rights Reserved.