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

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

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

origin: 52North/SOS

protected List<String> addChildObservableProperties(List<String> observedProperties) {
  Set<String> allObservedProperties = Sets.newHashSet(observedProperties);
  if (isIncludeChildObservableProperties()) {
    for (String observedProperty : observedProperties) {
      if (getCache().isCompositePhenomenon(observedProperty)) {
        allObservedProperties.addAll(getCache().getObservablePropertiesForCompositePhenomenon(observedProperty));
      }
    }
  }
  return Lists.newArrayList(allObservedProperties);
}
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);
  }
}
origin: org.n52.sensorweb.sos/core-v20

protected void checkForCompositeObservableProperty(AbstractPhenomenon observableProperty, Set<String> offerings,
    Enum<?> parameterName) throws InvalidParameterValueException {
  String observablePropertyIdentifier = observableProperty.getIdentifier();
  if (hasObservations(observablePropertyIdentifier, offerings)
      && observableProperty.isComposite() != getCache().isCompositePhenomenon(observablePropertyIdentifier)
      && checkComponentsIfInserted(((OmCompositePhenomenon) observableProperty).getPhenomenonComponents())) {
    throw new InvalidParameterValueException(parameterName, observablePropertyIdentifier);
  }
}
origin: 52North/SOS

protected void checkForCompositeObservableProperty(AbstractPhenomenon observableProperty, Set<String> offerings,
    Enum<?> parameterName) throws InvalidParameterValueException {
  String observablePropertyIdentifier = observableProperty.getIdentifier();
  if (hasObservations(observablePropertyIdentifier, offerings)
      && observableProperty.isComposite() != getCache().isCompositePhenomenon(observablePropertyIdentifier)
      && checkComponentsIfInserted(((OmCompositePhenomenon) observableProperty).getPhenomenonComponents())) {
    throw new InvalidParameterValueException(parameterName, observablePropertyIdentifier);
  }
}
org.n52.sos.cacheSosContentCacheisCompositePhenomenon

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

  • Start an intent from android
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setScale (BigDecimal)
  • scheduleAtFixedRate (Timer)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • 21 Best Atom Packages for 2021
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