Package org.n52.shetland.ogc.om
Class OmObservationConstellation
java.lang.Object
org.n52.shetland.ogc.gml.AbstractGML
org.n52.shetland.ogc.gml.AbstractFeature
org.n52.shetland.ogc.om.OmObservationConstellation
- All Implemented Interfaces:
Copyable<OmObservationConstellation>,HasDefaultEncoding<AbstractFeature>,ObservationParameterHelper<OmObservationConstellation>
public class OmObservationConstellation
extends AbstractFeature
implements ObservationParameterHelper<OmObservationConstellation>, Copyable<OmObservationConstellation>
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptiondefault constructorOmObservationConstellation(AbstractFeature procedure, AbstractPhenomenon observableProperty, Set<String> offerings, AbstractFeature featureOfInterest, String observationType) constructorOmObservationConstellation(AbstractFeature procedure, AbstractPhenomenon observableProperty, AbstractFeature featureOfInterest) constructorOmObservationConstellation(AbstractFeature procedure, AbstractPhenomenon observableProperty, AbstractFeature featureOfInterest, String observationType) constructorOmObservationConstellation(AbstractFeature procedure, AbstractPhenomenon observableProperty, AbstractFeature featureOfInterest, Collection<String> offerings) constructor -
Method Summary
Modifier and TypeMethodDescriptionaddOffering(String offering) booleanTODO change if currently not supported types could be merged.copy()booleanGet featureOfInterestGet featureOfInterestGet the procedureGet observablePropertyGet observation typeGet offeringGet the procedureinthashCode()booleanisEmpty()booleanbooleanbooleanbooleanbooleanbooleansetDefaultPointMetadata(DefaultPointMetadata defaultPointMetadata) setFeatureOfInterest(AbstractFeature featureOfInterest) Set featureOfInterestsetFeatureOfInterest(Nillable<AbstractFeature> featureOfInterest) Set featureOfInterestsetMetadata(Metadata metadata) setObservableProperty(AbstractPhenomenon observableProperty) Set observablePropertysetObservationType(String observationType) Set observation typesetOfferings(Collection<String> offerings) Set offeringsetParameter(Collection<NamedValue<?>> parameter) setProcedure(AbstractFeature procedure) Set the proceduresetProcedure(Nillable<AbstractFeature> procedure) Set the proceduretoString()Methods inherited from class org.n52.shetland.ogc.gml.AbstractFeature
accept, copyTo, getDefaultElementEncoding, getXml, isEncoded, isSetDefaultElementEncoding, isSetXml, setDefaultElementEncoding, setXml, wasEncodedMethods inherited from class org.n52.shetland.ogc.gml.AbstractGML
addMetaDataProperty, addMetaDataProperty, addName, addName, addName, copyTo, getDescription, getFirstName, getGmlId, getHumanReadableIdentifier, getHumanReadableIdentifierCodeWithAuthority, getIdentifier, getIdentifierCodeWithAuthority, getMetaDataProperty, getName, getOriginalIdentifier, getOriginalIdentifierCodeWithAuthority, isReferenced, isSetDescription, isSetGmlID, isSetHumanReadableIdentifier, isSetIdentifier, isSetMetaDataProperty, isSetName, isSetOriginalIdentifier, setDescription, setGmlId, setHumanReadableIdentifier, setHumanReadableIdentifier, setHumanReadableIdentifierAsIdentifier, setIdentifier, setIdentifier, setMetaDataProperty, setName, setNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.n52.shetland.ogc.om.ObservationParameterHelper
addCategoryParameter, addCategoryParameter, addCategoryParameter, addPlatformParameter, addPlatformParameter, addPlatformParameter, getCategoryParameter, getPlatformParameter, isSetCategoryParameter, isSetPlatformParameter, removeCategoryParameter, removeParameter, removePlatformParameter
-
Constructor Details
-
OmObservationConstellation
public OmObservationConstellation()default constructor -
OmObservationConstellation
public OmObservationConstellation(AbstractFeature procedure, AbstractPhenomenon observableProperty, AbstractFeature featureOfInterest) constructor- Parameters:
procedure- Procedure by which the observation is madeobservableProperty- observableProperty to which the observation accords tofeatureOfInterest- featureOfInterest to which this observation belongs
-
OmObservationConstellation
public OmObservationConstellation(AbstractFeature procedure, AbstractPhenomenon observableProperty, AbstractFeature featureOfInterest, String observationType) constructor- Parameters:
procedure- Procedure by which the observation is madeobservableProperty- observableProperty to which the observation accords tofeatureOfInterest- featureOfInterest to which this observation belongsobservationType- the observation type
-
OmObservationConstellation
public OmObservationConstellation(AbstractFeature procedure, AbstractPhenomenon observableProperty, Set<String> offerings, AbstractFeature featureOfInterest, String observationType) constructor- Parameters:
procedure- Procedure by which the observation is madeobservableProperty- observableProperty to which the observation accords toofferings- offering to which this observation belongsfeatureOfInterest- featureOfInterest to which this observation belongsobservationType- the observation type
-
OmObservationConstellation
public OmObservationConstellation(AbstractFeature procedure, AbstractPhenomenon observableProperty, AbstractFeature featureOfInterest, Collection<String> offerings) constructor- Parameters:
procedure- Procedure by which the observation is madeobservableProperty- observableProperty to which the observation accords tofeatureOfInterest- featureOfInterest to which this observation belongsofferings- offering to which this observation belongs
-
-
Method Details
-
getProcedure
Get the procedure- Returns:
- the procedure
-
getNillableProcedure
Get the procedure- Returns:
- the procedure
-
getProcedureIdentifier
-
setProcedure
Set the procedure- Parameters:
procedure- the procedure to set- Returns:
- this
-
setProcedure
Set the procedure- Parameters:
procedure- the procedure to set- Returns:
- this
-
getObservableProperty
Get observableProperty- Returns:
- the observableProperty
-
setObservableProperty
Set observableProperty- Parameters:
observableProperty- the observableProperty to set- Returns:
- this
-
getObservablePropertyIdentifier
-
getOfferings
Get offering- Returns:
- the offering
-
setOfferings
Set offering- Parameters:
offerings- the offering to set- Returns:
- this
-
addOffering
-
getFeatureOfInterest
Get featureOfInterest- Returns:
- the featureOfInterest
-
getNillableFeatureOfInterest
Get featureOfInterest- Returns:
- the featureOfInterest
-
setFeatureOfInterest
Set featureOfInterest- Parameters:
featureOfInterest- the featureOfInterest to set- Returns:
- this
-
setFeatureOfInterest
Set featureOfInterest- Parameters:
featureOfInterest- the featureOfInterest to set- Returns:
- this
-
getFeatureOfInterestIdentifier
-
getObservationType
Get observation type- Returns:
- the observationType
-
setObservationType
Set observation type- Parameters:
observationType- the observationType to set- Returns:
- this
-
getParameterHolder
- Specified by:
getParameterHolderin interfaceObservationParameterHelper<OmObservationConstellation>
-
equals
- Overrides:
equalsin classAbstractGML
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractGML
-
checkObservationTypeForMerging
public boolean checkObservationTypeForMerging()TODO change if currently not supported types could be merged.- Returns:
true, if the observation can be merged
-
isSetObservationType
public boolean isSetObservationType() -
isSetOfferings
public boolean isSetOfferings() -
isSetProcedure
public boolean isSetProcedure() -
isSetFeatureOfInterest
public boolean isSetFeatureOfInterest() -
copy
- Specified by:
copyin interfaceCopyable<OmObservationConstellation>
-
isEmpty
public boolean isEmpty() -
isSetDefaultPointMetadata
public boolean isSetDefaultPointMetadata() -
getDefaultPointMetadata
-
setDefaultPointMetadata
public OmObservationConstellation setDefaultPointMetadata(DefaultPointMetadata defaultPointMetadata) -
isSetMetadata
public boolean isSetMetadata() -
getMetadata
-
setMetadata
-
setParameter
-
toString
-