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 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 Details

    • DatasetMetadata

      public DatasetMetadata()
  • Method Details

    • hasReferenceValues

      public boolean hasReferenceValues()
    • getReferenceValues

      public Map<String,Data<T>> getReferenceValues()
    • setReferenceValues

      public void setReferenceValues(Map<String,Data<T>> referenceValues)
    • 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()