Package org.n52.shetland.ogc.om
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet decimal separatorgetUnit()booleanCheck whether decimal separator is setbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetDecimalSeparator(String decimalSeparator) Set decimal separatorvoidsetDefaultPointMetadata(DefaultPointMetadata defaultPointMetadata) voidsetMetadata(Metadata metadata) voidsetObservationID(String observationID) voidvoidsetValuesForResultEncoding(OmObservation observation) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.n52.shetland.ogc.om.ObservationValue
getPhenomenonTime, getValue, isSetValue, setPhenomenonTime, setValue
-
Constructor Details
-
AbstractObservationValue
public AbstractObservationValue()
-
-
Method Details
-
setValuesForResultEncoding
-
getObservationID
- Returns:
- the observationID
-
setObservationID
- Parameters:
observationID- the observationID to set
-
isSetObservationID
public boolean isSetObservationID() -
getObservationType
- Returns:
- the observationType
-
isSetObservationType
public boolean isSetObservationType() -
getObservableProperty
- Returns:
- the observableProperty
-
isSetObservablePropertyD
public boolean isSetObservablePropertyD() -
getTokenSeparator
- Returns:
- the tokenSeparator
-
isSetTokenSeparator
public boolean isSetTokenSeparator() -
getTupleSeparator
- Returns:
- the tupleSeparator
-
isSetTupleSeparator
public boolean isSetTupleSeparator() -
getDecimalSeparator
Get decimal separator- Returns:
- the decimalSeparator
-
setDecimalSeparator
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
- Returns:
- the unit
-
setUnit
- Parameters:
unit- the unit to set
-
isSetUnit
public boolean isSetUnit() -
isSetDefaultPointMetadata
public boolean isSetDefaultPointMetadata()- Specified by:
isSetDefaultPointMetadatain interfaceObservationValue<T extends Value<?>>
-
getDefaultPointMetadata
- Specified by:
getDefaultPointMetadatain interfaceObservationValue<T extends Value<?>>
-
setDefaultPointMetadata
- Specified by:
setDefaultPointMetadatain interfaceObservationValue<T extends Value<?>>
-
isSetMetadata
public boolean isSetMetadata()- Specified by:
isSetMetadatain interfaceObservationValue<T extends Value<?>>
-
getMetadata
- Specified by:
getMetadatain interfaceObservationValue<T extends Value<?>>
-
setMetadata
- Specified by:
setMetadatain interfaceObservationValue<T extends Value<?>>
-