Package org.n52.io.response.dataset
Class DatasetMetadata<T extends AbstractValue<?>>
java.lang.Object
org.n52.io.response.dataset.DatasetMetadata<T>
- Type Parameters:
T- the data type
- All Implemented Interfaces:
Serializable
Holds some metadata about a whole data container. Examples are
referenceValues or values which
indicate the first value falling beyond the upper or lower time range bound requested
(valueAfterTimespan or valueBeforeTimespan).- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanvoidsetReferenceValues(Map<String, Data<T>> referenceValues) voidsetValueAfterTimespan(T valueBeforeTimespan) voidsetValueBeforeTimespan(T valueBeforeTimespan)
-
Constructor Details
-
DatasetMetadata
public DatasetMetadata()
-
-
Method Details
-
hasReferenceValues
public boolean hasReferenceValues() -
getReferenceValues
-
setReferenceValues
-
getValueBeforeTimespan
- Returns:
- the value before to the lower timespan bounds
-
setValueBeforeTimespan
- Parameters:
valueBeforeTimespan- sets the value before to the lower timespan bounds
-
hasValueBeforeTimespan
public boolean hasValueBeforeTimespan() -
getValueAfterTimespan
- Returns:
- the value after to the upper timespan bounds
-
setValueAfterTimespan
- Parameters:
valueBeforeTimespan- sets the value after to the upper timespan bounds
-
hasValueAfterTimespan
public boolean hasValueAfterTimespan()
-