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

How to use
HasParam
in
ca.uhn.fhir.rest.param

Best Java code snippets using ca.uhn.fhir.rest.param.HasParam (Showing top 8 results out of 315)

origin: jamesagnew/hapi-fhir

@CoverageIgnore
@Override
HasParam newInstance() {
  return new HasParam();
}
origin: jamesagnew/hapi-fhir

@Override
void doSetValueAsQueryToken(FhirContext theContext, String theParamName, String theQualifier, String theValue) {
  String qualifier = defaultString(theQualifier);
  if (!qualifier.startsWith(":")) {
    throwInvalidSyntaxException(Constants.PARAM_HAS + qualifier);
  }
  int colonIndex0 = qualifier.indexOf(':', 1);
  validateColon(qualifier, colonIndex0);
  int colonIndex1 = qualifier.indexOf(':', colonIndex0 + 1);
  validateColon(qualifier, colonIndex1);
  
  myTargetResourceType = qualifier.substring(1, colonIndex0);
  myOwningFieldName = qualifier.substring(colonIndex0 + 1, colonIndex1);
  myParameterName = qualifier.substring(colonIndex1 + 1);
  myParameterValue = theValue;
}
origin: jamesagnew/hapi-fhir

  valueBuilder.append(',');
valueBuilder.append(UrlUtil.escapeUrlParam(next.getValueAsQueryToken(myContext)));
targetResourceType = next.getTargetResourceType();
owningParameter = next.getOwningFieldName();
parameterName = next.getParameterName();
origin: jamesagnew/hapi-fhir

private static void validateColon(String theParameterName, int colonIndex) {
  if (colonIndex == -1) {
    throwInvalidSyntaxException(theParameterName);
  }
}
origin: ca.uhn.hapi.fhir/hapi-fhir-jpaserver-base

  valueBuilder.append(',');
valueBuilder.append(UrlUtil.escapeUrlParam(next.getValueAsQueryToken(myContext)));
targetResourceType = next.getTargetResourceType();
owningParameter = next.getOwningFieldName();
parameterName = next.getParameterName();
origin: ca.uhn.hapi.fhir/hapi-fhir-base

private static void validateColon(String theParameterName, int colonIndex) {
  if (colonIndex == -1) {
    throwInvalidSyntaxException(theParameterName);
  }
}
origin: ca.uhn.hapi.fhir/hapi-fhir-base

@Override
void doSetValueAsQueryToken(FhirContext theContext, String theParamName, String theQualifier, String theValue) {
  String qualifier = defaultString(theQualifier);
  if (!qualifier.startsWith(":")) {
    throwInvalidSyntaxException(Constants.PARAM_HAS + qualifier);
  }
  int colonIndex0 = qualifier.indexOf(':', 1);
  validateColon(qualifier, colonIndex0);
  int colonIndex1 = qualifier.indexOf(':', colonIndex0 + 1);
  validateColon(qualifier, colonIndex1);
  
  myTargetResourceType = qualifier.substring(1, colonIndex0);
  myOwningFieldName = qualifier.substring(colonIndex0 + 1, colonIndex1);
  myParameterName = qualifier.substring(colonIndex1 + 1);
  myParameterValue = theValue;
}
origin: ca.uhn.hapi.fhir/hapi-fhir-base

@CoverageIgnore
@Override
HasParam newInstance() {
  return new HasParam();
}
ca.uhn.fhir.rest.paramHasParam

Javadoc

Implementation of the _has method parameter

Most used methods

  • <init>
  • getOwningFieldName
  • getParameterName
  • getTargetResourceType
  • getValueAsQueryToken
  • throwInvalidSyntaxException
  • validateColon

Popular in Java

  • Reading from database using SQL prepared statement
  • runOnUiThread (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • getSupportFragmentManager (FragmentActivity)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • CodeWhisperer alternatives
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