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

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

Best Java code snippets using com.orange.ngsi.model.QueryContext.getEntityIdList (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.modelQueryContextgetEntityIdList

Popular methods of QueryContext

  • getRestriction

Popular in Java

  • Making http requests using okhttp
  • getExternalFilesDir (Context)
  • addToBackStack (FragmentTransaction)
  • compareTo (BigDecimal)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • 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