Tabnine Logo
QueryContext.getRestriction
Code IndexAdd Tabnine to your IDE (free)

How to use
getRestriction
method
in
com.orange.ngsi.model.QueryContext

Best Java code snippets using com.orange.ngsi.model.QueryContext.getRestriction (Showing top 2 results out of 315)

origin: com.orange.fiware/ngsi-server

public void checkQueryContext(QueryContext queryContext) throws MissingRequestParameterException {
  if (nullOrEmpty(queryContext.getEntityIdList())) {
    throw new MissingRequestParameterException("entities", "List<EntityId>");
  }
  for(EntityId entityId : queryContext.getEntityIdList()) {
    checkEntityId(entityId);
  }
  if (queryContext.getRestriction() != null) {
    if (nullOrEmpty(queryContext.getRestriction().getAttributeExpression())) {
      throw new MissingRequestParameterException("attributeExpression", "string");
    }
  }
}
public void checkAppendContextElement(AppendContextElement appendContextElement) throws MissingRequestParameterException {
origin: com.orange.cepheus/cepheus-ngsi

public void checkQueryContext(QueryContext queryContext) throws MissingRequestParameterException {
  if (nullOrEmpty(queryContext.getEntityIdList())) {
    throw new MissingRequestParameterException("entities", "List<EntityId>");
  }
  for(EntityId entityId : queryContext.getEntityIdList()) {
    checkEntityId(entityId);
  }
  if (queryContext.getRestriction() != null) {
    if (nullOrEmpty(queryContext.getRestriction().getAttributeExpression())) {
      throw new MissingRequestParameterException("attributeExpression", "string");
    }
  }
}
public void checkAppendContextElement(AppendContextElement appendContextElement) throws MissingRequestParameterException {
com.orange.ngsi.modelQueryContextgetRestriction

Popular methods of QueryContext

  • getEntityIdList

Popular in Java

  • Reading from database using SQL prepared statement
  • getContentResolver (Context)
  • startActivity (Activity)
  • getApplicationContext (Context)
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • JButton (javax.swing)
  • From CI to AI: The AI layer in your organization
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