Package org.n52.shetland.ogc.om
Class ObservationMergeIndicator
java.lang.Object
org.n52.shetland.ogc.om.ObservationMergeIndicator
An indicator for which parameters of two observations have to be equal to be able to merge them.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newObservationMergeIndicatorthat requires no parameters to be equal. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanChecks if the feature of interest should be equal to merge two observations.booleanChecks if the observable property should be equal to merge two observations.booleanChecks if the observation type should be checked to merge two observations.booleanChecks if the offering should be equal to merge two observations.booleanChecks if the phenomenon time should be equal to merge two observations.booleanChecks if the procedure should be equal to merge two observations.booleanChecks if the observation constellation (procedure, observable property, feature of interest and offering) should be equal to merge two observations.booleanChecks if the sampling geometry should be equal to merge two observations.booleanChecks if the result time should be equal to merge two observations.static ObservationMergeIndicatorGets an indicator that requires the observation constellations (procedure, observable property, feature of interest and offering) to be the same.setFeatureOfInterest(boolean featureOfInterest) Sets whether the feature of interest should be to merge two observations.setObservableProperty(boolean observableProperty) Sets whether the observable property should be to merge two observations.setObservationType(boolean observationType) Sets whether the observation type should be checked to merge two observations.setOfferings(boolean offerings) Sets whether the offering should be to merge two observations.setPhenomenonTime(boolean phenomenonTime) Sets whether the phenomenon time should be to merge two observations.setProcedure(boolean procedure) Sets whether the procedure should be to merge two observations.setResultTime(boolean resultTime) Sets whether the result time should be to merge two observations.setSamplingGeometry(boolean samplingGeometry) Sets whether the sampling geometry should be to merge two observations.Sets that the feature of interest should be equal to merge two observations.Sets that the observable property should be equal to merge two observations.Sets that the observation type should be checked to merge two observations.Sets that the offering should be equal to merge two observations.Sets that the feature of interest does not need to be equal to merge two observations.Sets that the observable property does not need to be equal to merge two observations.Sets that the observation type does not need to be checked to merge two observations.Sets that the offering does not need to be equal to merge two observations.Sets that the phenomenon time does not need to be equal to merge two observations.Sets that the procedure does not need to be equal to merge two observations.Sets that the result time does not need to be equal to merge two observations.Sets that the sampling geometry does not need to be equal to merge two observations.Sets that the phenomenon time should be equal to merge two observations.Sets that the procedure should be equal to merge two observations.Sets that the result time should be equal to merge two observations.Sets that the sampling geometry should be equal to merge two observations.
-
Constructor Details
-
ObservationMergeIndicator
public ObservationMergeIndicator()Creates a newObservationMergeIndicatorthat requires no parameters to be equal.
-
-
Method Details
-
withProcedure
Sets that the procedure should be equal to merge two observations.- Returns:
this
-
withObservableProperty
Sets that the observable property should be equal to merge two observations.- Returns:
this
-
withFeatureOfInterest
Sets that the feature of interest should be equal to merge two observations.- Returns:
this
-
withOffering
Sets that the offering should be equal to merge two observations.- Returns:
this
-
withPhenomenonTime
Sets that the phenomenon time should be equal to merge two observations.- Returns:
this
-
withResultTime
Sets that the result time should be equal to merge two observations.- Returns:
this
-
withSamplingGeometry
Sets that the sampling geometry should be equal to merge two observations.- Returns:
this
-
withObservationType
Sets that the observation type should be checked to merge two observations.- Returns:
this
-
withoutProcedure
Sets that the procedure does not need to be equal to merge two observations.- Returns:
this
-
withoutObservableProperty
Sets that the observable property does not need to be equal to merge two observations.- Returns:
this
-
withoutFeatureOfInterest
Sets that the feature of interest does not need to be equal to merge two observations.- Returns:
this
-
withoutOffering
Sets that the offering does not need to be equal to merge two observations.- Returns:
this
-
withoutPhenomenonTime
Sets that the phenomenon time does not need to be equal to merge two observations.- Returns:
this
-
withoutResultTime
Sets that the result time does not need to be equal to merge two observations.- Returns:
this
-
withoutSamplingGeometry
Sets that the sampling geometry does not need to be equal to merge two observations.- Returns:
this
-
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
Sets whether the procedure should be to merge two observations.- Parameters:
procedure- if the procedure should be equal- Returns:
this
-
setObservableProperty
Sets whether the observable property should be to merge two observations.- Parameters:
observableProperty- if the observable property should be equal- Returns:
this
-
setFeatureOfInterest
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
Sets whether the offering should be to merge two observations.- Parameters:
offerings- if the offerings should be equal- Returns:
this
-
setPhenomenonTime
Sets whether the phenomenon time should be to merge two observations.- Parameters:
phenomenonTime- if the phenomenon time should be equal- Returns:
this
-
setResultTime
Sets whether the result time should be to merge two observations.- Parameters:
resultTime- if the result time should be equal- Returns:
this
-
setSamplingGeometry
Sets whether the sampling geometry should be to merge two observations.- Parameters:
samplingGeometry- if the sampling geometry should be equal- Returns:
this
-
setObservationType
Sets whether the observation type should be checked to merge two observations.- Parameters:
observationType- if the observation type should be checked- Returns:
this
-
hashCode
public int hashCode() -
equals
-
sameObservationConstellation
Gets an indicator that requires the observation constellations (procedure, observable property, feature of interest and offering) to be the same.- Returns:
- the indicator
-