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

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

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

Javadoc

Created by pborscia on 11/08/2015.

Most used methods

  • getEntityIdList
  • getRestriction

Popular in Java

  • Finding current android device location
  • getContentResolver (Context)
  • setRequestProperty (URLConnection)
  • requestLocationUpdates (LocationManager)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JTable (javax.swing)
  • Top plugins for Android Studio
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