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
public class DatasetMetadata<T extends AbstractValue<?>> extends Object implements Serializable
Holds some metadata about a whole data container. Examples arereferenceValuesor values which indicate the first value falling beyond the upper or lower time range bound requested (valueAfterTimespanorvalueBeforeTimespan).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatasetMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Data<T>>getReferenceValues()TgetValueAfterTimespan()TgetValueBeforeTimespan()booleanhasReferenceValues()booleanhasValueAfterTimespan()booleanhasValueBeforeTimespan()voidsetReferenceValues(Map<String,Data<T>> referenceValues)voidsetValueAfterTimespan(T valueBeforeTimespan)voidsetValueBeforeTimespan(T valueBeforeTimespan)
-
-
-
Method Detail
-
hasReferenceValues
public boolean hasReferenceValues()
-
getValueBeforeTimespan
public T getValueBeforeTimespan()
- Returns:
- the value before to the lower timespan bounds
-
setValueBeforeTimespan
public void setValueBeforeTimespan(T valueBeforeTimespan)
- Parameters:
valueBeforeTimespan- sets the value before to the lower timespan bounds
-
hasValueBeforeTimespan
public boolean hasValueBeforeTimespan()
-
getValueAfterTimespan
public T getValueAfterTimespan()
- Returns:
- the value after to the upper timespan bounds
-
setValueAfterTimespan
public void setValueAfterTimespan(T valueBeforeTimespan)
- Parameters:
valueBeforeTimespan- sets the value after to the upper timespan bounds
-
hasValueAfterTimespan
public boolean hasValueAfterTimespan()
-
-