Class OmObservationConstellation

    • 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 made
        observableProperty - observableProperty to which the observation accords to
        featureOfInterest - 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 made
        observableProperty - observableProperty to which the observation accords to
        featureOfInterest - featureOfInterest to which this observation belongs
        observationType - 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 made
        observableProperty - observableProperty to which the observation accords to
        offerings - offering to which this observation belongs
        featureOfInterest - featureOfInterest to which this observation belongs
        observationType - the observation type
      • OmObservationConstellation

        public OmObservationConstellation​(AbstractFeature procedure,
                                          AbstractPhenomenon observableProperty,
                                          AbstractFeature featureOfInterest,
                                          Set<String> offerings)
        constructor
        Parameters:
        procedure - Procedure by which the observation is made
        observableProperty - observableProperty to which the observation accords to
        featureOfInterest - featureOfInterest to which this observation belongs
        offerings - 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()
      • 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()
      • getOfferings

        public Set<String> getOfferings()
        Get offering
        Returns:
        the 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
      • 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
      • 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()
      • isEmpty

        public boolean isEmpty()
      • isSetDefaultPointMetadata

        public boolean isSetDefaultPointMetadata()
      • setDefaultPointMetadata

        public void setDefaultPointMetadata​(DefaultPointMetadata defaultPointMetadata)
      • isSetMetadata

        public boolean isSetMetadata()
      • getMetadata

        public Metadata getMetadata()
      • setMetadata

        public void setMetadata​(Metadata metadata)
      • isSetCategoryParameter

        public boolean isSetCategoryParameter()
        Check whether category parameter is set
        Returns:
        true, if category parameter is set
      • removeCategoryParameter

        public void removeCategoryParameter()
        Remove category parameter
      • addCategoryParameter

        public OmObservationConstellation addCategoryParameter​(String category)
        Add category to observation
        Parameters:
        category - The category to set
        Returns:
        this
      • getCategoryParameter

        public NamedValue<String> getCategoryParameter()
        Get category parameter
        Returns:
        category parameter