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

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

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

origin: 52North/SOS

protected void checkFeatureOfInterestIdentifier(String featureOfInterest, String parameterName)
    throws OwsExceptionReport {
  if (featureOfInterest == null || featureOfInterest.isEmpty()) {
    throw new MissingParameterValueException(parameterName);
  }
  if (getCache().getPublishedFeatureOfInterest().contains(featureOfInterest)) {
    return;
  }
  if (getCache().hasRelatedFeature(featureOfInterest) && getCache().isRelatedFeatureSampled(featureOfInterest)) {
    return;
  }
  throw new InvalidParameterValueException(parameterName, featureOfInterest);
}
origin: 52North/SOS

private void checkFeatureOfInterestAndRelatedFeatureIdentifier(List<String> featureIdentifiers,
    String parameterName) throws OwsExceptionReport {
  if (featureIdentifiers != null) {
    CompositeOwsException exceptions = new CompositeOwsException();
    for (String featureOfInterest : featureIdentifiers) {
      try {
        if (!getCache().hasRelatedFeature(featureOfInterest)) {
          checkFeatureOfInterestIdentifier(featureOfInterest, parameterName);
        }
      } catch (OwsExceptionReport e) {
        exceptions.add(e);
      }
    }
    exceptions.throwIfNotEmpty();
  }
}
origin: org.n52.sensorweb.sos/enhanced-v20

private void checkFeatureOfInterestAndRelatedFeatureIdentifier(List<String> featureIdentifiers,
    String parameterName) throws OwsExceptionReport {
  if (featureIdentifiers != null) {
    CompositeOwsException exceptions = new CompositeOwsException();
    for (String featureOfInterest : featureIdentifiers) {
      try {
        if (!getCache().hasRelatedFeature(featureOfInterest)) {
          checkFeatureOfInterestIdentifier(featureOfInterest, parameterName);
        }
      } catch (OwsExceptionReport e) {
        exceptions.add(e);
      }
    }
    exceptions.throwIfNotEmpty();
  }
}
org.n52.sos.cacheSosContentCachehasRelatedFeature

Javadoc

Checks whether the specified related feature exists.

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 post requests using okhttp
  • findViewById (Activity)
  • setContentView (Activity)
  • setScale (BigDecimal)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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