public class OmObservation extends AbstractFeature
| Constructor and Description |
|---|
OmObservation()
constructor.
|
OmObservation(CodeWithAuthority identifier)
constructor.
|
OmObservation(CodeWithAuthority identifier,
String gmlId)
constructor.
|
OmObservation(String identifier)
constructor.
|
| Modifier and Type | Method and Description |
|---|---|
OmObservation |
addCategoryParameter(NamedValue<String> categoryParameter) |
OmObservation |
addCategoryParameter(String category)
Add category to observation
|
OmObservation |
addCategoryParameter(TextValue category) |
void |
addParameter(NamedValue<?> namedValue)
Add parameter
|
void |
addRelatedObservation(OmObservationContext relatedObservation)
Add a related observation
|
void |
addRelatedObservations(Set<OmObservationContext> relatedObservations)
Add related observations
|
OmObservation |
addResultQuality(OmResultQuality qualityList) |
OmObservation |
addResultQuality(Set<OmResultQuality> qualityList) |
OmObservation |
addSpatialFilteringProfileParameter(org.locationtech.jts.geom.Geometry samplingGeometry)
Add sampling geometry to observation
|
boolean |
checkForMerge(OmObservation observation) |
boolean |
checkForMerge(OmObservation observation,
ObservationMergeIndicator indicator) |
OmObservation |
cloneTemplate() |
OmObservation |
cloneTemplate(boolean withIdentifierNameDesription) |
protected OmObservation |
cloneTemplate(OmObservation clone) |
TVPValue |
convertSingleValueToMultiValue(SingleObservationValue<?> singleValue)
Convert
SingleObservationValue to TVPValue. |
OmObservation |
copyTo(OmObservation copyOf) |
String |
getAdditionalMergeIndicator() |
NamedValue<String> |
getCategoryParameter()
Get category parameter
|
String |
getDecimalSeparator()
Get decimal separator.
|
NamedValue<BigDecimal> |
getDepthParameter()
Get depth parameter
|
String |
getGmlId()
Get GML id
|
NamedValue<BigDecimal> |
getHeightDepthParameter() |
NamedValue<BigDecimal> |
getHeightParameter()
Get height parameter
|
String |
getNoDataValue()
Get noData value.
|
OmObservationConstellation |
getObservationConstellation()
Get the observation constellation.
|
String |
getObservationID()
Get observation ID.
|
Collection<NamedValue<?>> |
getParameter()
Get parameter
|
ParameterHolder |
getParameterHolder() |
Time |
getPhenomenonTime()
Get phenomenon time.
|
Set<OmObservationContext> |
getRelatedObservations()
Get related observations
|
Set<OmResultQuality> |
getResultQuality()
Get result quality.
|
TimeInstant |
getResultTime()
Get result time.
|
String |
getResultType()
Get result type.
|
NamedValue<org.locationtech.jts.geom.Geometry> |
getSpatialFilteringProfileParameter()
Get spatial filtering profile parameter
|
String |
getTokenSeparator()
Get token separator.
|
String |
getTupleSeparator()
Get tuple separator.
|
TimePeriod |
getValidTime()
Get valid time.
|
ObservationValue<?> |
getValue()
Get observation values.
|
boolean |
isSetAdditionalMergeIndicator() |
boolean |
isSetCategoryParameter()
Check whether category parameter is set
|
boolean |
isSetDecimalSeparator()
Check whether decimal separator is set.
|
boolean |
isSetDepthParameter()
Check whether depth parameter is set.
|
boolean |
isSetHeightDepthParameter() |
boolean |
isSetHeightParameter()
Check whether height parameter is set
|
boolean |
isSetObservationID()
Check whether observation id is set.
|
boolean |
isSetParameter()
Check whether parameter is set
|
boolean |
isSetPhenomenonTime() |
boolean |
isSetRelatedObservations()
Check if related observations are set
|
boolean |
isSetResultQuality() |
boolean |
isSetResultTime()
Check whether result time is set.
|
boolean |
isSetResultType()
Check whether result type is set.
|
boolean |
isSetSpatialFilteringProfileParameter()
Check whether spatial filtering profile parameter is set
|
boolean |
isSetTokenSeparator()
Check whether token separator is set.
|
boolean |
isSetTupleSeparator()
Check whether tuple separator is set.
|
boolean |
isSetValidTime()
Check whether valid time is set.
|
boolean |
isSetValue() |
boolean |
isTemplateResultTime()
Check whether result time is template is set.
|
protected boolean |
mergeValues(ObservationValue<?> observationValue)
Merge observation values with passed observation values.
|
void |
mergeWithObservation(ObservationValue<?> observationValue)
Merge this observation with passed observation.
|
void |
mergeWithObservation(OmObservation sosObservation)
Merge this observation with passed observation.
|
void |
removeCategoryParameter()
Remove category parameter
|
void |
removeParameter(NamedValue<?> parameter)
Remove parameter from list
|
void |
removeSpatialFilteringProfileParameter()
Remove spatial filtering profile parameter
|
OmObservation |
setAdditionalMergeIndicator(String additionalMergeIndicator) |
void |
setDecimalSeparator(String decimalSeparator)
Set decimal separator.
|
void |
setNoDataValue(String noDataValue)
Set noData value.
|
OmObservation |
setObservationConstellation(OmObservationConstellation observationConstellation)
Set the observation constellation.
|
void |
setObservationID(String observationID)
Set observation ID.
|
void |
setParameter(Collection<NamedValue<?>> parameter)
Set parameter
|
void |
setRelatedObservations(Set<OmObservationContext> relatedObservations)
Set related observations
|
OmObservation |
setResultQuality(Set<OmResultQuality> qualityList)
Set result quality.
|
void |
setResultTime(TimeInstant resultTime)
Set result time.
|
void |
setResultType(String resultType)
Set result type.
|
void |
setTokenSeparator(String tokenSeparator)
Set token separator.
|
void |
setTupleSeparator(String tupleSeparator)
Set tuple separator.
|
void |
setValidTime(TimePeriod validTime)
Set valid time.
|
void |
setValue(ObservationValue<?> value)
Set observation values.
|
accept, copyTo, getDefaultElementEncoding, getXml, isEncoded, isSetDefaultElementEncoding, isSetXml, setDefaultElementEncoding, setXml, wasEncodedaddMetaDataProperty, addMetaDataProperty, addName, addName, addName, copyTo, equals, getDescription, getFirstName, getHumanReadableIdentifier, getHumanReadableIdentifierCodeWithAuthority, getIdentifier, getIdentifierCodeWithAuthority, getMetaDataProperty, getName, getOriginalIdentifier, getOriginalIdentifierCodeWithAuthority, hashCode, isReferenced, isSetDescription, isSetGmlID, isSetHumanReadableIdentifier, isSetIdentifier, isSetMetaDataProperty, isSetName, isSetOriginalIdentifier, setDescription, setGmlId, setHumanReadableIdentifier, setHumanReadableIdentifier, setHumanReadableIdentifierAsIdentifier, setIdentifier, setIdentifier, setMetaDataProperty, setName, setNamepublic OmObservation()
public OmObservation(String identifier)
identifier - Feature identifierpublic OmObservation(CodeWithAuthority identifier)
identifier - Feature identifierpublic OmObservation(CodeWithAuthority identifier, String gmlId)
identifier - Feature identifiergmlId - GML idpublic OmObservationConstellation getObservationConstellation()
public OmObservation setObservationConstellation(OmObservationConstellation observationConstellation)
observationConstellation - the observationConstellation to setpublic String getObservationID()
public void setObservationID(String observationID)
observationID - the observationID to setpublic Time getPhenomenonTime()
public boolean isSetPhenomenonTime()
public TimeInstant getResultTime()
public void setResultTime(TimeInstant resultTime)
resultTime - the resultTime to setpublic TimePeriod getValidTime()
public void setValidTime(TimePeriod validTime)
validTime - the validTime to setpublic String getResultType()
public void setResultType(String resultType)
resultType - the resultType to setpublic String getTokenSeparator()
public void setTokenSeparator(String tokenSeparator)
tokenSeparator - the tokenSeparator to setpublic String getNoDataValue()
public void setNoDataValue(String noDataValue)
noDataValue - the noDataValue to setpublic String getTupleSeparator()
public void setTupleSeparator(String tupleSeparator)
tupleSeparator - the tupleSeparator to setpublic String getDecimalSeparator()
public void setDecimalSeparator(String decimalSeparator)
decimalSeparator - the decimalSeparator to setpublic ObservationValue<?> getValue()
public void setValue(ObservationValue<?> value)
value - the values to setpublic boolean isSetValue()
public void mergeWithObservation(OmObservation sosObservation)
sosObservation - Observation to mergepublic void mergeWithObservation(ObservationValue<?> observationValue)
observationValue - Observation to mergeprotected boolean mergeValues(ObservationValue<?> observationValue)
observationValue - Observation to mergepublic TVPValue convertSingleValueToMultiValue(SingleObservationValue<?> singleValue)
SingleObservationValue to TVPValue.singleValue - Single observation valuepublic boolean isSetObservationID()
true, if observation id is setpublic boolean isSetTupleSeparator()
true, if tuple separator is setpublic boolean isSetTokenSeparator()
true, if token separator is setpublic boolean isSetDecimalSeparator()
true, if decimal separator is setpublic boolean isSetResultTime()
true, if result time is setpublic boolean isTemplateResultTime()
true, if result time is template is setpublic boolean isSetResultType()
true, if result type is setpublic boolean isSetValidTime()
true, if valid time is setpublic Collection<NamedValue<?>> getParameter()
public void setParameter(Collection<NamedValue<?>> parameter)
parameter - the parameter to setpublic void addParameter(NamedValue<?> namedValue)
namedValue - the namedValue to add to parameterpublic ParameterHolder getParameterHolder()
public boolean isSetParameter()
true, if parameter is setpublic boolean isSetSpatialFilteringProfileParameter()
true, if spatial filtering profile parameter is setpublic void removeSpatialFilteringProfileParameter()
public void removeParameter(NamedValue<?> parameter)
parameter - Parameter to removepublic OmObservation addSpatialFilteringProfileParameter(org.locationtech.jts.geom.Geometry samplingGeometry)
samplingGeometry - The sampling geometry to setpublic NamedValue<org.locationtech.jts.geom.Geometry> getSpatialFilteringProfileParameter()
public boolean isSetHeightParameter()
true, if height parameter is setpublic NamedValue<BigDecimal> getHeightParameter()
public boolean isSetDepthParameter()
true, if depth parameter is setpublic NamedValue<BigDecimal> getDepthParameter()
public boolean isSetHeightDepthParameter()
public NamedValue<BigDecimal> getHeightDepthParameter()
public boolean isSetCategoryParameter()
true, if category parameter is setpublic void removeCategoryParameter()
public OmObservation addCategoryParameter(String category)
category - The category to setpublic OmObservation addCategoryParameter(TextValue category)
public OmObservation addCategoryParameter(NamedValue<String> categoryParameter)
public NamedValue<String> getCategoryParameter()
public OmObservation cloneTemplate()
public OmObservation cloneTemplate(boolean withIdentifierNameDesription)
protected OmObservation cloneTemplate(OmObservation clone)
public OmObservation copyTo(OmObservation copyOf)
public String getGmlId()
AbstractGMLgetGmlId in class AbstractGMLpublic OmObservation setResultQuality(Set<OmResultQuality> qualityList)
qualityList - Result quality to setthispublic OmObservation addResultQuality(Set<OmResultQuality> qualityList)
public OmObservation addResultQuality(OmResultQuality qualityList)
public Set<OmResultQuality> getResultQuality()
public boolean isSetResultQuality()
public Set<OmObservationContext> getRelatedObservations()
public void setRelatedObservations(Set<OmObservationContext> relatedObservations)
relatedObservations - the relatedObservations to setpublic void addRelatedObservations(Set<OmObservationContext> relatedObservations)
relatedObservations - the relatedObservations to setpublic void addRelatedObservation(OmObservationContext relatedObservation)
relatedObservation - the relatedObservation to addpublic boolean isSetRelatedObservations()
true, if related observations are setpublic OmObservation setAdditionalMergeIndicator(String additionalMergeIndicator)
public String getAdditionalMergeIndicator()
public boolean isSetAdditionalMergeIndicator()
public boolean checkForMerge(OmObservation observation)
public boolean checkForMerge(OmObservation observation, ObservationMergeIndicator indicator)
Copyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.