Class AbstractObservationValue<T extends Value<?>>

java.lang.Object
org.n52.shetland.ogc.om.AbstractObservationValue<T>
All Implemented Interfaces:
ObservationValue<T>
Direct Known Subclasses:
AbstractStreaming, MultiObservationValues, SingleObservationValue

public abstract class AbstractObservationValue<T extends Value<?>> extends Object implements ObservationValue<T>
  • Constructor Details

    • AbstractObservationValue

      public AbstractObservationValue()
  • Method Details

    • setValuesForResultEncoding

      public void setValuesForResultEncoding(OmObservation observation)
    • getObservationID

      public String getObservationID()
      Returns:
      the observationID
    • setObservationID

      public void setObservationID(String observationID)
      Parameters:
      observationID - the observationID to set
    • isSetObservationID

      public boolean isSetObservationID()
    • getObservationType

      public String getObservationType()
      Returns:
      the observationType
    • isSetObservationType

      public boolean isSetObservationType()
    • getObservableProperty

      public String getObservableProperty()
      Returns:
      the observableProperty
    • isSetObservablePropertyD

      public boolean isSetObservablePropertyD()
    • getTokenSeparator

      public String getTokenSeparator()
      Returns:
      the tokenSeparator
    • isSetTokenSeparator

      public boolean isSetTokenSeparator()
    • getTupleSeparator

      public String getTupleSeparator()
      Returns:
      the tupleSeparator
    • isSetTupleSeparator

      public boolean isSetTupleSeparator()
    • getDecimalSeparator

      public String getDecimalSeparator()
      Get decimal separator
      Returns:
      the decimalSeparator
    • setDecimalSeparator

      public void setDecimalSeparator(String decimalSeparator)
      Set decimal separator
      Parameters:
      decimalSeparator - the decimalSeparator to set
    • isSetDecimalSeparator

      public boolean isSetDecimalSeparator()
      Check whether decimal separator is set
      Returns:
      true, if decimal separator is set
    • getUnit

      public String getUnit()
      Returns:
      the unit
    • setUnit

      public void setUnit(String unit)
      Parameters:
      unit - the unit to set
    • isSetUnit

      public boolean isSetUnit()
    • isSetDefaultPointMetadata

      public boolean isSetDefaultPointMetadata()
      Specified by:
      isSetDefaultPointMetadata in interface ObservationValue<T extends Value<?>>
    • getDefaultPointMetadata

      public DefaultPointMetadata getDefaultPointMetadata()
      Specified by:
      getDefaultPointMetadata in interface ObservationValue<T extends Value<?>>
    • setDefaultPointMetadata

      public void setDefaultPointMetadata(DefaultPointMetadata defaultPointMetadata)
      Specified by:
      setDefaultPointMetadata in interface ObservationValue<T extends Value<?>>
    • isSetMetadata

      public boolean isSetMetadata()
      Specified by:
      isSetMetadata in interface ObservationValue<T extends Value<?>>
    • getMetadata

      public Metadata getMetadata()
      Specified by:
      getMetadata in interface ObservationValue<T extends Value<?>>
    • setMetadata

      public void setMetadata(Metadata metadata)
      Specified by:
      setMetadata in interface ObservationValue<T extends Value<?>>