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

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

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

origin: 52North/SOS

  private Set<String> checkForPublished(Set<String> ids) {
    Set<String> obsProps = new HashSet<>();
    for (String id : ids) {
      if (getCache().getPublishedObservableProperties().contains(id)) {
        obsProps.add(id);
      }
    }
    return obsProps;
  }
}
origin: 52North/SOS

  @VisibleForTesting
  String[] getObservablePropertiesForProcedure(String identifier) {
    SortedSet<String> props = new TreeSet<>();
    Set<String> obsProps = getCache().getObservablePropertiesForProcedure(identifier);
    for (String obsProp : obsProps) {
      if (getCache().getPublishedObservableProperties().contains(obsProp)) {
        props.add(obsProp);
      }
    }
    return props.toArray(new String[props.size()]);
  }
}
origin: org.n52.sensorweb.sos/hibernate-common

  @VisibleForTesting
  String[] getObservablePropertiesForProcedure(String identifier) {
    SortedSet<String> props = new TreeSet<>();
    Set<String> obsProps = getCache().getObservablePropertiesForProcedure(identifier);
    for (String obsProp : obsProps) {
      if (getCache().getPublishedObservableProperties().contains(obsProp)) {
        props.add(obsProp);
      }
    }
    return props.toArray(new String[props.size()]);
  }
}
origin: 52North/SOS

protected OwsDomain getPublishedObservablePropertyParameter(String service, String version) {
  return getObservablePropertyParameter(service, version, getCache().getPublishedObservableProperties());
}
origin: 52North/SOS

private void addObservableProperties(Set<String> keywords) {
  for (String obsProp : getCache()
      .getObservablePropertiesForProcedure(getIdentifier())) {
    if (getCache().getPublishedObservableProperties().contains(obsProp)) {
      keywords.add(obsProp);
    }
  }
}
origin: 52North/SOS

protected void checkObservedProperty(String observedProperty, String parameterName, boolean insertion)
    throws OwsExceptionReport {
  if (observedProperty == null || observedProperty.isEmpty()) {
    throw new MissingParameterValueException(parameterName);
  }
  if (insertion) {
    if (!getCache().hasObservableProperty(observedProperty)) {
      throw new InvalidParameterValueException(parameterName, observedProperty);
    }
  } else if (isIncludeChildObservableProperties()) {
    if (getCache().isCompositePhenomenon(observedProperty) ||
      !(getCache().isCompositePhenomenonComponent(observedProperty) ||
       getCache().hasObservableProperty(observedProperty))) {
      throw new InvalidParameterValueException(parameterName, observedProperty);
    }
  } else if (!getCache().getPublishedObservableProperties().contains(observedProperty)) {
    throw new InvalidParameterValueException(parameterName, observedProperty);
  }
}
org.n52.sos.cacheSosContentCachegetPublishedObservableProperties

Popular methods of SosContentCache

  • getOfferings
  • getObservableProperties
  • getFeatureOfInterestTypes
  • getObservationTypes
  • getProceduresForOffering
  • hasObservableProperty
  • hasOffering
  • getAllowedObservationTypesForOffering
  • getChildProcedures
  • getEpsgCodes
  • getOfferingsForProcedure
  • getProcedures
  • getOfferingsForProcedure,
  • getProcedures,
  • getPublishedOfferings,
  • hasResultTemplate,
  • getAllObservationTypesForOffering,
  • getCompositePhenomenonsForOffering,
  • getEnvelopeForOffering,
  • getFeaturesOfInterest,
  • getFeaturesOfInterestForOffering

Popular in Java

  • Creating JSON documents from java classes using gson
  • getContentResolver (Context)
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (Timer)
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top plugins for WebStorm
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