Package org.n52.shetland.ogc.sos
Class SosObservationOffering
- java.lang.Object
-
- org.n52.shetland.ogc.gml.AbstractGML
-
- org.n52.shetland.ogc.gml.AbstractFeature
-
- org.n52.shetland.ogc.swes.AbstractSWES
-
- org.n52.shetland.ogc.sos.SosObservationOffering
-
- All Implemented Interfaces:
Comparable<SosObservationOffering>,HasDefaultEncoding<AbstractFeature>,HasExtension<AbstractSWES>
public class SosObservationOffering extends AbstractSWES implements Comparable<SosObservationOffering>
Class which represents a ObservationOffering. Used in the SosCapabilities.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description SosObservationOffering()
-
Method Summary
-
Methods inherited from class org.n52.shetland.ogc.swes.AbstractSWES
getExtensions, setExtensions
-
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, equals, getDescription, getFirstName, getGmlId, 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, setName
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.n52.shetland.ogc.ows.HasExtension
addExtension, addExtension, addExtensions, addSweBooleanExtension, addSweBooleanExtension, addSwesExtension, addSweTextExtension, getBooleanExtension, getBooleanExtension, getBooleanExtension, getBooleanExtension, getExtension, getExtension, getExtensionCount, hasExtension, hasExtension, hasExtensions
-
-
-
-
Method Detail
-
getOffering
public SosOffering getOffering()
- Returns:
- Offering identifier
-
setOffering
public void setOffering(String offering)
- Parameters:
offering- Offering identifier
-
setOffering
public void setOffering(SosOffering offering)
- Parameters:
offering- Offering identifier
-
getObservableProperties
public SortedSet<String> getObservableProperties()
- Returns:
- Sorted observableProperties set
-
setObservableProperties
public void setObservableProperties(Collection<String> observableProperties)
- Parameters:
observableProperties- observableProperties to se
-
addObservatbleProperties
public void addObservatbleProperties(Collection<String> observableProperties)
-
getCompositePhenomena
public SortedSet<String> getCompositePhenomena()
- Returns:
- Sorted composite phenomena set
-
setCompositePhenomena
public void setCompositePhenomena(Collection<String> compositePhenomena)
- Parameters:
compositePhenomena- compositePhenomena to set
-
getPhens4CompPhens
public SortedMap<String,SortedSet<String>> getPhens4CompPhens()
- Returns:
- Sorted map containing the observableProperties and related composite phenomena
-
setPhens4CompPhens
public void setPhens4CompPhens(Map<String,? extends Collection<String>> phens4CompPhens)
- Parameters:
phens4CompPhens- phens4CompPhens to set
-
setPhenomenonTime
public void setPhenomenonTime(Time phenomenonTime)
- Parameters:
phenomenonTime- the phenomenon time
-
getPhenomenonTime
public Time getPhenomenonTime()
- Returns:
- the phenomenon time
-
setResultTime
public void setResultTime(Time resultTime)
- Parameters:
resultTime- the result time
-
getResultTime
public Time getResultTime()
- Returns:
- the result time
-
setFeatureOfInterest
public void setFeatureOfInterest(Collection<String> featureOfInterest)
- Parameters:
featureOfInterest- the fature of interest
-
getFeatureOfInterest
public SortedSet<String> getFeatureOfInterest()
- Returns:
- Sorted featureOfInterest list
-
setRelatedFeatures
public void setRelatedFeatures(Map<String,Set<String>> relatedFeatures)
- Parameters:
relatedFeatures- the related features
-
getRelatedFeatures
public SortedMap<String,SortedSet<String>> getRelatedFeatures()
- Returns:
- Sorted map of related features
-
addRelatedFeature
public void addRelatedFeature(String identifier, String role)
Add a related feature to this offering- Parameters:
identifier- Related feature identifierrole- Related feature role
-
addRelatedFeature
public void addRelatedFeature(String identifier, Set<String> roles)
Add a related feature to this offering- Parameters:
identifier- Related feature identifierroles- Related feature roles
-
setProcedures
public void setProcedures(Collection<String> procedures)
- Parameters:
procedures- procedures to set
-
setResultModels
public void setResultModels(Collection<QName> resultModels)
- Parameters:
resultModels- resultModels to set
-
getObservationTypes
public SortedSet<String> getObservationTypes()
- Returns:
- Sorted observation types set
-
setObservationTypes
public void setObservationTypes(Collection<String> observationTypes)
- Parameters:
observationTypes- the observationTypes to set
-
getObservationResultTypes
public SortedMap<String,SortedSet<String>> getObservationResultTypes()
- Returns:
- the observationResultTypes
-
setObservationResultTypes
public void setObservationResultTypes(Map<String,Collection<String>> observationResultTypes)
- Parameters:
observationResultTypes- the observationResultTypes to set
-
getResponseFormats
public SortedSet<String> getResponseFormats()
- Returns:
- Sorted response formats set
-
setResponseFormats
public void setResponseFormats(Collection<String> responseFormats)
- Parameters:
responseFormats- responseFormats to set
-
setResponseModes
public void setResponseModes(Collection<String> responseModes)
- Parameters:
responseModes- the response modes
-
getObservedArea
public ReferencedEnvelope getObservedArea()
-
setObservedArea
public void setObservedArea(ReferencedEnvelope observedArea)
-
setFeatureOfInterestTypes
public void setFeatureOfInterestTypes(Collection<String> featureOfInterestTypes)
-
setProcedureDescriptionFormat
public void setProcedureDescriptionFormat(Collection<String> procedureDescriptionFormats)
-
compareTo
public int compareTo(SosObservationOffering o)
- Specified by:
compareToin interfaceComparable<SosObservationOffering>
-
isEmpty
public boolean isEmpty()
-
isValidObservationOffering
public boolean isValidObservationOffering()
-
isSetOffering
public boolean isSetOffering()
-
isSetObservedArea
public boolean isSetObservedArea()
-
isSetObservableProperties
public boolean isSetObservableProperties()
-
isSetCompositePhenomena
public boolean isSetCompositePhenomena()
-
isSetPhens4CompPhens
public boolean isSetPhens4CompPhens()
-
isSetPhenomenonTime
public boolean isSetPhenomenonTime()
-
isSetResultTime
public boolean isSetResultTime()
-
isSetFeatureOfInterest
public boolean isSetFeatureOfInterest()
-
isSetRelatedFeature
public boolean isSetRelatedFeature()
-
isSetProcedures
public boolean isSetProcedures()
-
isSetresultModels
public boolean isSetresultModels()
-
isSetObservationTypes
public boolean isSetObservationTypes()
-
isSetFeatureOfInterestTypes
public boolean isSetFeatureOfInterestTypes()
-
isSetResponseFormats
public boolean isSetResponseFormats()
-
isSetProcedureDescriptionFormats
public boolean isSetProcedureDescriptionFormats()
-
-