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
Constructors Constructor Description OmObservationConstellation()default 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
-
Methods inherited from class org.n52.shetland.ogc.gml.AbstractFeature
accept, copyTo, getDefaultElementEncoding, getXml, isEncoded, isSetDefaultElementEncoding, isSetXml, setDefaultElementEncoding, setXml, wasEncoded
-
Methods 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, setName
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.n52.shetland.ogc.om.ObservationParameterHelper
addCategoryParameter, addCategoryParameter, addCategoryParameter, addPlatformParameter, addPlatformParameter, addPlatformParameter, getCategoryParameter, getPlatformParameter, isSetCategoryParameter, isSetPlatformParameter, removeCategoryParameter, removeParameter, removePlatformParameter
-
-
-
-
Constructor Detail
-
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 Detail
-
getProcedure
public AbstractFeature getProcedure()
Get the procedure- Returns:
- the procedure
-
getNillableProcedure
public Nillable<AbstractFeature> getNillableProcedure()
Get the procedure- Returns:
- the procedure
-
getProcedureIdentifier
public String getProcedureIdentifier()
-
setProcedure
public OmObservationConstellation setProcedure(AbstractFeature procedure)
Set the procedure- Parameters:
procedure- the procedure to set- Returns:
- this
-
setProcedure
public OmObservationConstellation setProcedure(Nillable<AbstractFeature> procedure)
Set the procedure- Parameters:
procedure- the procedure to set- Returns:
- this
-
getObservableProperty
public AbstractPhenomenon getObservableProperty()
Get observableProperty- Returns:
- the observableProperty
-
setObservableProperty
public OmObservationConstellation setObservableProperty(AbstractPhenomenon observableProperty)
Set observableProperty- Parameters:
observableProperty- the observableProperty to set- Returns:
- this
-
getObservablePropertyIdentifier
public String getObservablePropertyIdentifier()
-
setOfferings
public OmObservationConstellation setOfferings(Collection<String> offerings)
Set offering- Parameters:
offerings- the offering to set- Returns:
- this
-
addOffering
public OmObservationConstellation addOffering(String offering)
-
getFeatureOfInterest
public AbstractFeature getFeatureOfInterest()
Get featureOfInterest- Returns:
- the featureOfInterest
-
getNillableFeatureOfInterest
public Nillable<AbstractFeature> getNillableFeatureOfInterest()
Get featureOfInterest- Returns:
- the featureOfInterest
-
setFeatureOfInterest
public OmObservationConstellation setFeatureOfInterest(AbstractFeature featureOfInterest)
Set featureOfInterest- Parameters:
featureOfInterest- the featureOfInterest to set- Returns:
- this
-
setFeatureOfInterest
public OmObservationConstellation setFeatureOfInterest(Nillable<AbstractFeature> featureOfInterest)
Set featureOfInterest- Parameters:
featureOfInterest- the featureOfInterest to set- Returns:
- this
-
getFeatureOfInterestIdentifier
public String getFeatureOfInterestIdentifier()
-
getObservationType
public String getObservationType()
Get observation type- Returns:
- the observationType
-
setObservationType
public OmObservationConstellation setObservationType(String observationType)
Set observation type- Parameters:
observationType- the observationType to set- Returns:
- this
-
getParameterHolder
public ParameterHolder getParameterHolder()
- Specified by:
getParameterHolderin interfaceObservationParameterHelper<OmObservationConstellation>
-
equals
public boolean equals(Object o)
- 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
public OmObservationConstellation copy()
- Specified by:
copyin interfaceCopyable<OmObservationConstellation>
-
isEmpty
public boolean isEmpty()
-
isSetDefaultPointMetadata
public boolean isSetDefaultPointMetadata()
-
getDefaultPointMetadata
public DefaultPointMetadata getDefaultPointMetadata()
-
setDefaultPointMetadata
public OmObservationConstellation setDefaultPointMetadata(DefaultPointMetadata defaultPointMetadata)
-
isSetMetadata
public boolean isSetMetadata()
-
getMetadata
public Metadata getMetadata()
-
setMetadata
public OmObservationConstellation setMetadata(Metadata metadata)
-
setParameter
public OmObservationConstellation setParameter(Collection<NamedValue<?>> parameter)
-
-