Package org.n52.shetland.ogc.om
Class ObservationMergeIndicator
- java.lang.Object
-
- org.n52.shetland.ogc.om.ObservationMergeIndicator
-
public class ObservationMergeIndicator extends Object
An indicator for which parameters of two observations have to be equal to be able to merge them.
-
-
Constructor Summary
Constructors Constructor Description ObservationMergeIndicator()Creates a newObservationMergeIndicatorthat requires no parameters to be equal.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)inthashCode()booleanisFeatureOfInterest()Checks if the feature of interest should be equal to merge two observations.booleanisObservableProperty()Checks if the observable property should be equal to merge two observations.booleanisObservationType()Checks if the observation type should be checked to merge two observations.booleanisOfferings()Checks if the offering should be equal to merge two observations.booleanisPhenomenonTime()Checks if the phenomenon time should be equal to merge two observations.booleanisProcedure()Checks if the procedure should be equal to merge two observations.booleanisSameObservationConstellation()Checks if the observation constellation (procedure, observable property, feature of interest and offering) should be equal to merge two observations.booleanisSamplingGeometry()Checks if the sampling geometry should be equal to merge two observations.booleanisSetResultTime()Checks if the result time should be equal to merge two observations.static ObservationMergeIndicatorsameObservationConstellation()Gets an indicator that requires the observation constellations (procedure, observable property, feature of interest and offering) to be the same.ObservationMergeIndicatorsetFeatureOfInterest(boolean featureOfInterest)Sets whether the feature of interest should be to merge two observations.ObservationMergeIndicatorsetObservableProperty(boolean observableProperty)Sets whether the observable property should be to merge two observations.ObservationMergeIndicatorsetObservationType(boolean observationType)Sets whether the observation type should be checked to merge two observations.ObservationMergeIndicatorsetOfferings(boolean offerings)Sets whether the offering should be to merge two observations.ObservationMergeIndicatorsetPhenomenonTime(boolean phenomenonTime)Sets whether the phenomenon time should be to merge two observations.ObservationMergeIndicatorsetProcedure(boolean procedure)Sets whether the procedure should be to merge two observations.ObservationMergeIndicatorsetResultTime(boolean resultTime)Sets whether the result time should be to merge two observations.ObservationMergeIndicatorsetSamplingGeometry(boolean samplingGeometry)Sets whether the sampling geometry should be to merge two observations.ObservationMergeIndicatorwithFeatureOfInterest()Sets that the feature of interest should be equal to merge two observations.ObservationMergeIndicatorwithObservableProperty()Sets that the observable property should be equal to merge two observations.ObservationMergeIndicatorwithObservationType()Sets that the observation type should be checked to merge two observations.ObservationMergeIndicatorwithOffering()Sets that the offering should be equal to merge two observations.ObservationMergeIndicatorwithoutFeatureOfInterest()Sets that the feature of interest does not need to be equal to merge two observations.ObservationMergeIndicatorwithoutObservableProperty()Sets that the observable property does not need to be equal to merge two observations.ObservationMergeIndicatorwithoutObservationType()Sets that the observation type does not need to be checked to merge two observations.ObservationMergeIndicatorwithoutOffering()Sets that the offering does not need to be equal to merge two observations.ObservationMergeIndicatorwithoutPhenomenonTime()Sets that the phenomenon time does not need to be equal to merge two observations.ObservationMergeIndicatorwithoutProcedure()Sets that the procedure does not need to be equal to merge two observations.ObservationMergeIndicatorwithoutResultTime()Sets that the result time does not need to be equal to merge two observations.ObservationMergeIndicatorwithoutSamplingGeometry()Sets that the sampling geometry does not need to be equal to merge two observations.ObservationMergeIndicatorwithPhenomenonTime()Sets that the phenomenon time should be equal to merge two observations.ObservationMergeIndicatorwithProcedure()Sets that the procedure should be equal to merge two observations.ObservationMergeIndicatorwithResultTime()Sets that the result time should be equal to merge two observations.ObservationMergeIndicatorwithSamplingGeometry()Sets that the sampling geometry should be equal to merge two observations.
-
-
-
Method Detail
-
withProcedure
public ObservationMergeIndicator withProcedure()
Sets that the procedure should be equal to merge two observations.- Returns:
this
-
withObservableProperty
public ObservationMergeIndicator withObservableProperty()
Sets that the observable property should be equal to merge two observations.- Returns:
this
-
withFeatureOfInterest
public ObservationMergeIndicator withFeatureOfInterest()
Sets that the feature of interest should be equal to merge two observations.- Returns:
this
-
withOffering
public ObservationMergeIndicator withOffering()
Sets that the offering should be equal to merge two observations.- Returns:
this
-
withPhenomenonTime
public ObservationMergeIndicator withPhenomenonTime()
Sets that the phenomenon time should be equal to merge two observations.- Returns:
this
-
withResultTime
public ObservationMergeIndicator withResultTime()
Sets that the result time should be equal to merge two observations.- Returns:
this
-
withSamplingGeometry
public ObservationMergeIndicator withSamplingGeometry()
Sets that the sampling geometry should be equal to merge two observations.- Returns:
this
-
withObservationType
public ObservationMergeIndicator withObservationType()
Sets that the observation type should be checked to merge two observations.- Returns:
this
-
withoutProcedure
public ObservationMergeIndicator withoutProcedure()
Sets that the procedure does not need to be equal to merge two observations.- Returns:
this
-
withoutObservableProperty
public ObservationMergeIndicator withoutObservableProperty()
Sets that the observable property does not need to be equal to merge two observations.- Returns:
this
-
withoutFeatureOfInterest
public ObservationMergeIndicator withoutFeatureOfInterest()
Sets that the feature of interest does not need to be equal to merge two observations.- Returns:
this
-
withoutOffering
public ObservationMergeIndicator withoutOffering()
Sets that the offering does not need to be equal to merge two observations.- Returns:
this
-
withoutPhenomenonTime
public ObservationMergeIndicator withoutPhenomenonTime()
Sets that the phenomenon time does not need to be equal to merge two observations.- Returns:
this
-
withoutResultTime
public ObservationMergeIndicator withoutResultTime()
Sets that the result time does not need to be equal to merge two observations.- Returns:
this
-
withoutSamplingGeometry
public ObservationMergeIndicator withoutSamplingGeometry()
Sets that the sampling geometry does not need to be equal to merge two observations.- Returns:
this
-
withoutObservationType
public ObservationMergeIndicator withoutObservationType()
Sets that the observation type does not need to be checked to merge two observations.- Returns:
this
-
isProcedure
public boolean isProcedure()
Checks if the procedure should be equal to merge two observations.- Returns:
- if the procedure should be equal
-
isObservableProperty
public boolean isObservableProperty()
Checks if the observable property should be equal to merge two observations.- Returns:
- if the observable property should be equal
-
isFeatureOfInterest
public boolean isFeatureOfInterest()
Checks if the feature of interest should be equal to merge two observations.- Returns:
- if the feature of interest should be equal
-
isOfferings
public boolean isOfferings()
Checks if the offering should be equal to merge two observations.- Returns:
- if the offering should be equal
-
isPhenomenonTime
public boolean isPhenomenonTime()
Checks if the phenomenon time should be equal to merge two observations.- Returns:
- if the phenomenon time should be equal
-
isSetResultTime
public boolean isSetResultTime()
Checks if the result time should be equal to merge two observations.- Returns:
- if the result time should be equal
-
isSamplingGeometry
public boolean isSamplingGeometry()
Checks if the sampling geometry should be equal to merge two observations.- Returns:
- if the sampling geometry should be equal
-
isObservationType
public boolean isObservationType()
Checks if the observation type should be checked to merge two observations.- Returns:
- if the observation type should be checked
-
isSameObservationConstellation
public boolean isSameObservationConstellation()
Checks if the observation constellation (procedure, observable property, feature of interest and offering) should be equal to merge two observations.- Returns:
- if the observation constellation should be equal
-
setProcedure
public ObservationMergeIndicator setProcedure(boolean procedure)
Sets whether the procedure should be to merge two observations.- Parameters:
procedure- if the procedure should be equal- Returns:
this
-
setObservableProperty
public ObservationMergeIndicator setObservableProperty(boolean observableProperty)
Sets whether the observable property should be to merge two observations.- Parameters:
observableProperty- if the observable property should be equal- Returns:
this
-
setFeatureOfInterest
public ObservationMergeIndicator setFeatureOfInterest(boolean featureOfInterest)
Sets whether the feature of interest should be to merge two observations.- Parameters:
featureOfInterest- if the feature of interest should be equal- Returns:
this
-
setOfferings
public ObservationMergeIndicator setOfferings(boolean offerings)
Sets whether the offering should be to merge two observations.- Parameters:
offerings- if the offerings should be equal- Returns:
this
-
setPhenomenonTime
public ObservationMergeIndicator setPhenomenonTime(boolean phenomenonTime)
Sets whether the phenomenon time should be to merge two observations.- Parameters:
phenomenonTime- if the phenomenon time should be equal- Returns:
this
-
setResultTime
public ObservationMergeIndicator setResultTime(boolean resultTime)
Sets whether the result time should be to merge two observations.- Parameters:
resultTime- if the result time should be equal- Returns:
this
-
setSamplingGeometry
public ObservationMergeIndicator setSamplingGeometry(boolean samplingGeometry)
Sets whether the sampling geometry should be to merge two observations.- Parameters:
samplingGeometry- if the sampling geometry should be equal- Returns:
this
-
setObservationType
public ObservationMergeIndicator setObservationType(boolean observationType)
Sets whether the observation type should be checked to merge two observations.- Parameters:
observationType- if the observation type should be checked- Returns:
this
-
sameObservationConstellation
public static ObservationMergeIndicator sameObservationConstellation()
Gets an indicator that requires the observation constellations (procedure, observable property, feature of interest and offering) to be the same.- Returns:
- the indicator
-
-