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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddObservatbleProperties(Collection<String> observableProperties) voidaddRelatedFeature(String identifier, String role) Add a related feature to this offeringvoidaddRelatedFeature(String identifier, Set<String> roles) Add a related feature to this offeringintbooleanisEmpty()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetCompositePhenomena(Collection<String> compositePhenomena) voidsetFeatureOfInterest(Collection<String> featureOfInterest) voidsetFeatureOfInterestTypes(Collection<String> featureOfInterestTypes) voidsetObservableProperties(Collection<String> observableProperties) voidsetObservationResultTypes(Map<String, Collection<String>> observationResultTypes) voidsetObservationTypes(Collection<String> observationTypes) voidsetObservedArea(ReferencedEnvelope observedArea) voidsetOffering(String offering) voidsetOffering(SosOffering offering) voidsetPhenomenonTime(Time phenomenonTime) voidsetPhens4CompPhens(Map<String, ? extends Collection<String>> phens4CompPhens) voidsetProcedureDescriptionFormat(Collection<String> procedureDescriptionFormats) voidsetProcedures(Collection<String> procedures) voidsetRelatedFeatures(Map<String, Set<String>> relatedFeatures) voidsetResponseFormats(Collection<String> responseFormats) voidsetResponseModes(Collection<String> responseModes) voidsetResultModels(Collection<QName> resultModels) voidsetResultTime(Time resultTime) toString()Methods inherited from class org.n52.shetland.ogc.swes.AbstractSWES
getExtensions, setExtensionsMethods 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, 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, setNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
-
Constructor Details
-
SosObservationOffering
public SosObservationOffering()
-
-
Method Details
-
getOffering
- Returns:
- Offering identifier
-
setOffering
- Parameters:
offering- Offering identifier
-
setOffering
- Parameters:
offering- Offering identifier
-
getObservableProperties
- Returns:
- Sorted observableProperties set
-
setObservableProperties
- Parameters:
observableProperties- observableProperties to se
-
addObservatbleProperties
-
getCompositePhenomena
- Returns:
- Sorted composite phenomena set
-
setCompositePhenomena
- Parameters:
compositePhenomena- compositePhenomena to set
-
getPhens4CompPhens
- Returns:
- Sorted map containing the observableProperties and related composite phenomena
-
setPhens4CompPhens
- Parameters:
phens4CompPhens- phens4CompPhens to set
-
setPhenomenonTime
- Parameters:
phenomenonTime- the phenomenon time
-
getPhenomenonTime
- Returns:
- the phenomenon time
-
setResultTime
- Parameters:
resultTime- the result time
-
getResultTime
- Returns:
- the result time
-
setFeatureOfInterest
- Parameters:
featureOfInterest- the fature of interest
-
getFeatureOfInterest
- Returns:
- Sorted featureOfInterest list
-
setRelatedFeatures
- Parameters:
relatedFeatures- the related features
-
getRelatedFeatures
- Returns:
- Sorted map of related features
-
addRelatedFeature
Add a related feature to this offering- Parameters:
identifier- Related feature identifierrole- Related feature role
-
addRelatedFeature
Add a related feature to this offering- Parameters:
identifier- Related feature identifierroles- Related feature roles
-
getProcedures
- Returns:
- Sorted procedure set
-
setProcedures
- Parameters:
procedures- procedures to set
-
getResultModels
- Returns:
- Sorted result models set
-
setResultModels
- Parameters:
resultModels- resultModels to set
-
getObservationTypes
- Returns:
- Sorted observation types set
-
setObservationTypes
- Parameters:
observationTypes- the observationTypes to set
-
getObservationResultTypes
- Returns:
- the observationResultTypes
-
setObservationResultTypes
- Parameters:
observationResultTypes- the observationResultTypes to set
-
getResponseFormats
- Returns:
- Sorted response formats set
-
setResponseFormats
- Parameters:
responseFormats- responseFormats to set
-
getResponseModes
- Returns:
- Sorted response mode set
-
setResponseModes
- Parameters:
responseModes- the response modes
-
getObservedArea
-
setObservedArea
-
setFeatureOfInterestTypes
-
getFeatureOfInterestTypes
-
setProcedureDescriptionFormat
-
getProcedureDescriptionFormats
-
compareTo
- 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() -
toString
-