Tabnine Logo
SosContentCache.getProceduresForObservableProperty
Code IndexAdd Tabnine to your IDE (free)

How to use
getProceduresForObservableProperty
method
in
org.n52.sos.cache.SosContentCache

Best Java code snippets using org.n52.sos.cache.SosContentCache.getProceduresForObservableProperty (Showing top 3 results out of 315)

origin: 52North/SOS

protected void setUpPhenomenaForOffering(final Set<String> offerings, final String procedure,
                     final SosObservationOffering sosOffering) {
  Collection<String> phenomenons = offerings.stream().flatMap(offering -> {
    Collection<String> observableProperties = getCache().getObservablePropertiesForOffering(offering);
    return observableProperties.stream().filter(observableProperty -> {
      Set<String> procedures = getCache().getProceduresForObservableProperty(observableProperty);
      return procedures.contains(procedure) || isHiddenChildProcedureObservableProperty(offering, procedures);
    });
  }).collect(toList());
  sosOffering.setCompositePhenomena(offerings.stream()
      .map(getCache()::getCompositePhenomenonsForOffering)
      .flatMap(Set::stream).collect(toSet()));
  sosOffering.setPhens4CompPhens(sosOffering.getCompositePhenomena().stream()
        .collect(toMap(Function.identity(),
                getCache()::getObservablePropertiesForCompositePhenomenon)));
  sosOffering.setObservableProperties(phenomenons);
}
origin: org.n52.sensorweb.sos/core-v20

private boolean checkComponentsIfInserted(List<OmObservableProperty> phenomenonComponents) {
  for (OmObservableProperty omObservableProperty : phenomenonComponents) {
    if (getCache().hasObservableProperty(omObservableProperty.getIdentifier()) && !getCache()
        .getProceduresForObservableProperty(omObservableProperty.getIdentifier()).isEmpty()) {
      return true;
    }
  }
  return false;
}
origin: 52North/SOS

private boolean checkComponentsIfInserted(List<OmObservableProperty> phenomenonComponents) {
  for (OmObservableProperty omObservableProperty : phenomenonComponents) {
    if (getCache().hasObservableProperty(omObservableProperty.getIdentifier()) && !getCache()
        .getProceduresForObservableProperty(omObservableProperty.getIdentifier()).isEmpty()) {
      return true;
    }
  }
  return false;
}
org.n52.sos.cacheSosContentCachegetProceduresForObservableProperty

Javadoc

Get the procedures associated with the specified observable property.

Popular methods of SosContentCache

  • getOfferings
  • getObservableProperties
  • getFeatureOfInterestTypes
  • getObservationTypes
  • getProceduresForOffering
  • hasObservableProperty
  • hasOffering
  • getAllowedObservationTypesForOffering
  • getChildProcedures
    Returns collection containing child procedures for the passed procedures, optionally navigating the
  • getEpsgCodes
  • getOfferingsForProcedure
  • getProcedures
  • getOfferingsForProcedure,
  • getProcedures,
  • getPublishedObservableProperties,
  • getPublishedOfferings,
  • hasResultTemplate,
  • getAllObservationTypesForOffering,
  • getCompositePhenomenonsForOffering,
  • getEnvelopeForOffering,
  • getFeaturesOfInterest,
  • getFeaturesOfInterestForOffering

Popular in Java

  • Making http requests using okhttp
  • getApplicationContext (Context)
  • putExtra (Intent)
  • startActivity (Activity)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Collectors (java.util.stream)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now