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 Constructor Description AbstractObservationValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDecimalSeparator()Get decimal separatorDefaultPointMetadatagetDefaultPointMetadata()MetadatagetMetadata()StringgetObservableProperty()StringgetObservationID()StringgetObservationType()StringgetTokenSeparator()StringgetTupleSeparator()StringgetUnit()booleanisSetDecimalSeparator()Check whether decimal separator is setbooleanisSetDefaultPointMetadata()booleanisSetMetadata()booleanisSetObservablePropertyD()booleanisSetObservationID()booleanisSetObservationType()booleanisSetTokenSeparator()booleanisSetTupleSeparator()booleanisSetUnit()voidsetDecimalSeparator(String decimalSeparator)Set decimal separatorvoidsetDefaultPointMetadata(DefaultPointMetadata defaultPointMetadata)voidsetMetadata(Metadata metadata)voidsetObservationID(String observationID)voidsetUnit(String unit)voidsetValuesForResultEncoding(OmObservation observation)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.n52.shetland.ogc.om.ObservationValue
getPhenomenonTime, getValue, isSetValue, setPhenomenonTime, setValue
-
-
-
-
Method Detail
-
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:
isSetDefaultPointMetadatain interfaceObservationValue<T extends Value<?>>
-
getDefaultPointMetadata
public DefaultPointMetadata getDefaultPointMetadata()
- Specified by:
getDefaultPointMetadatain interfaceObservationValue<T extends Value<?>>
-
setDefaultPointMetadata
public void setDefaultPointMetadata(DefaultPointMetadata defaultPointMetadata)
- Specified by:
setDefaultPointMetadatain interfaceObservationValue<T extends Value<?>>
-
isSetMetadata
public boolean isSetMetadata()
- Specified by:
isSetMetadatain interfaceObservationValue<T extends Value<?>>
-
getMetadata
public Metadata getMetadata()
- Specified by:
getMetadatain interfaceObservationValue<T extends Value<?>>
-
setMetadata
public void setMetadata(Metadata metadata)
- Specified by:
setMetadatain interfaceObservationValue<T extends Value<?>>
-
-