Tabnine Logo
ResourceBinding.getResourceName
Code IndexAdd Tabnine to your IDE (free)

How to use
getResourceName
method
in
ca.uhn.fhir.rest.server.ResourceBinding

Best Java code snippets using ca.uhn.fhir.rest.server.ResourceBinding.getResourceName (Showing top 12 results out of 315)

origin: jamesagnew/hapi-fhir

@Override
public boolean equals(Object o) {
  if (!(o instanceof ResourceBinding))
    return false;
  return resourceName.equals(((ResourceBinding) o).getResourceName());
}
origin: jamesagnew/hapi-fhir

private Map<String, List<BaseMethodBinding<?>>> collectMethodBindings() {
  Map<String, List<BaseMethodBinding<?>>> resourceToMethods = new TreeMap<>();
  for (ResourceBinding next : getServerConfiguration().getResourceBindings()) {
    String resourceName = next.getResourceName();
    for (BaseMethodBinding<?> nextMethodBinding : next.getMethodBindings()) {
      if (resourceToMethods.containsKey(resourceName) == false) {
        resourceToMethods.put(resourceName, new ArrayList<>());
      }
      resourceToMethods.get(resourceName).add(nextMethodBinding);
    }
  }
  for (BaseMethodBinding<?> nextMethodBinding : getServerConfiguration().getServerBindings()) {
    String resourceName = "";
    if (resourceToMethods.containsKey(resourceName) == false) {
      resourceToMethods.put(resourceName, new ArrayList<>());
    }
    resourceToMethods.get(resourceName).add(nextMethodBinding);
  }
  return resourceToMethods;
}
origin: jamesagnew/hapi-fhir

private Map<String, List<BaseMethodBinding<?>>> collectMethodBindings() {
 Map<String, List<BaseMethodBinding<?>>> resourceToMethods = new TreeMap<String, List<BaseMethodBinding<?>>>();
 for (ResourceBinding next : getServerConfiguration().getResourceBindings()) {
  String resourceName = next.getResourceName();
  for (BaseMethodBinding<?> nextMethodBinding : next.getMethodBindings()) {
   if (resourceToMethods.containsKey(resourceName) == false) {
    resourceToMethods.put(resourceName, new ArrayList<BaseMethodBinding<?>>());
   }
   resourceToMethods.get(resourceName).add(nextMethodBinding);
  }
 }
 for (BaseMethodBinding<?> nextMethodBinding : getServerConfiguration().getServerBindings()) {
  String resourceName = "";
  if (resourceToMethods.containsKey(resourceName) == false) {
   resourceToMethods.put(resourceName, new ArrayList<>());
  }
  resourceToMethods.get(resourceName).add(nextMethodBinding);
 }
 return resourceToMethods;
}
origin: jamesagnew/hapi-fhir

private Map<String, List<BaseMethodBinding<?>>> collectMethodBindings() {
 Map<String, List<BaseMethodBinding<?>>> resourceToMethods = new TreeMap<String, List<BaseMethodBinding<?>>>();
 for (ResourceBinding next : getServerConfiguration().getResourceBindings()) {
  String resourceName = next.getResourceName();
  for (BaseMethodBinding<?> nextMethodBinding : next.getMethodBindings()) {
   if (resourceToMethods.containsKey(resourceName) == false) {
    resourceToMethods.put(resourceName, new ArrayList<BaseMethodBinding<?>>());
   }
   resourceToMethods.get(resourceName).add(nextMethodBinding);
  }
 }
 for (BaseMethodBinding<?> nextMethodBinding : getServerConfiguration().getServerBindings()) {
  String resourceName = "";
  if (resourceToMethods.containsKey(resourceName) == false) {
   resourceToMethods.put(resourceName, new ArrayList<BaseMethodBinding<?>>());
  }
  resourceToMethods.get(resourceName).add(nextMethodBinding);
 }
 return resourceToMethods;
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu

  @Override
  public int compare(ResourceBinding theArg0, ResourceBinding theArg1) {
    return theArg0.getResourceName().compareToIgnoreCase(theArg1.getResourceName());
  }
});
origin: ca.uhn.hapi.fhir/hapi-fhir-server

@Override
public boolean equals(Object o) {
  if (!(o instanceof ResourceBinding))
    return false;
  return resourceName.equals(((ResourceBinding) o).getResourceName());
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu2

private Map<String, List<BaseMethodBinding<?>>> collectMethodBindings() {
  Map<String, List<BaseMethodBinding<?>>> resourceToMethods = new TreeMap<String, List<BaseMethodBinding<?>>>();
  for (ResourceBinding next : getServerConfiguration().getResourceBindings()) {
    String resourceName = next.getResourceName();
    for (BaseMethodBinding<?> nextMethodBinding : next.getMethodBindings()) {
      if (resourceToMethods.containsKey(resourceName) == false) {
        resourceToMethods.put(resourceName, new ArrayList<BaseMethodBinding<?>>());
      }
      resourceToMethods.get(resourceName).add(nextMethodBinding);
    }
  }
  for (BaseMethodBinding<?> nextMethodBinding : getServerConfiguration().getServerBindings()) {
    String resourceName = "";
    if (resourceToMethods.containsKey(resourceName) == false) {
      resourceToMethods.put(resourceName, new ArrayList<BaseMethodBinding<?>>());
    }
    resourceToMethods.get(resourceName).add(nextMethodBinding);
  }
  return resourceToMethods;
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu3

private Map<String, List<BaseMethodBinding<?>>> collectMethodBindings() {
 Map<String, List<BaseMethodBinding<?>>> resourceToMethods = new TreeMap<String, List<BaseMethodBinding<?>>>();
 for (ResourceBinding next : getServerConfiguration().getResourceBindings()) {
  String resourceName = next.getResourceName();
  for (BaseMethodBinding<?> nextMethodBinding : next.getMethodBindings()) {
   if (resourceToMethods.containsKey(resourceName) == false) {
    resourceToMethods.put(resourceName, new ArrayList<BaseMethodBinding<?>>());
   }
   resourceToMethods.get(resourceName).add(nextMethodBinding);
  }
 }
 for (BaseMethodBinding<?> nextMethodBinding : getServerConfiguration().getServerBindings()) {
  String resourceName = "";
  if (resourceToMethods.containsKey(resourceName) == false) {
   resourceToMethods.put(resourceName, new ArrayList<>());
  }
  resourceToMethods.get(resourceName).add(nextMethodBinding);
 }
 return resourceToMethods;
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu2.1

private Map<String, List<BaseMethodBinding<?>>> collectMethodBindings() {
  Map<String, List<BaseMethodBinding<?>>> resourceToMethods = new TreeMap<>();
  for (ResourceBinding next : getServerConfiguration().getResourceBindings()) {
    String resourceName = next.getResourceName();
    for (BaseMethodBinding<?> nextMethodBinding : next.getMethodBindings()) {
      if (resourceToMethods.containsKey(resourceName) == false) {
        resourceToMethods.put(resourceName, new ArrayList<>());
      }
      resourceToMethods.get(resourceName).add(nextMethodBinding);
    }
  }
  for (BaseMethodBinding<?> nextMethodBinding : getServerConfiguration().getServerBindings()) {
    String resourceName = "";
    if (resourceToMethods.containsKey(resourceName) == false) {
      resourceToMethods.put(resourceName, new ArrayList<>());
    }
    resourceToMethods.get(resourceName).add(nextMethodBinding);
  }
  return resourceToMethods;
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-hl7org-dstu2

private Map<String, List<BaseMethodBinding<?>>> collectMethodBindings() {
 Map<String, List<BaseMethodBinding<?>>> resourceToMethods = new TreeMap<String, List<BaseMethodBinding<?>>>();
 for (ResourceBinding next : getServerConfiguration().getResourceBindings()) {
  String resourceName = next.getResourceName();
  for (BaseMethodBinding<?> nextMethodBinding : next.getMethodBindings()) {
   if (resourceToMethods.containsKey(resourceName) == false) {
    resourceToMethods.put(resourceName, new ArrayList<BaseMethodBinding<?>>());
   }
   resourceToMethods.get(resourceName).add(nextMethodBinding);
  }
 }
 for (BaseMethodBinding<?> nextMethodBinding : getServerConfiguration().getServerBindings()) {
  String resourceName = "";
  if (resourceToMethods.containsKey(resourceName) == false) {
   resourceToMethods.put(resourceName, new ArrayList<BaseMethodBinding<?>>());
  }
  resourceToMethods.get(resourceName).add(nextMethodBinding);
 }
 return resourceToMethods;
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-r4

private Map<String, List<BaseMethodBinding<?>>> collectMethodBindings() {
 Map<String, List<BaseMethodBinding<?>>> resourceToMethods = new TreeMap<String, List<BaseMethodBinding<?>>>();
 for (ResourceBinding next : getServerConfiguration().getResourceBindings()) {
  String resourceName = next.getResourceName();
  for (BaseMethodBinding<?> nextMethodBinding : next.getMethodBindings()) {
   if (resourceToMethods.containsKey(resourceName) == false) {
    resourceToMethods.put(resourceName, new ArrayList<BaseMethodBinding<?>>());
   }
   resourceToMethods.get(resourceName).add(nextMethodBinding);
  }
 }
 for (BaseMethodBinding<?> nextMethodBinding : getServerConfiguration().getServerBindings()) {
  String resourceName = "";
  if (resourceToMethods.containsKey(resourceName) == false) {
   resourceToMethods.put(resourceName, new ArrayList<>());
  }
  resourceToMethods.get(resourceName).add(nextMethodBinding);
 }
 return resourceToMethods;
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu

RestResource resource = rest.addResource();
String resourceName = next.getResourceName();
RuntimeResourceDefinition def = myServerConfiguration.getFhirContext().getResourceDefinition(resourceName);
resource.getType().setValue(def.getName());
ca.uhn.fhir.rest.serverResourceBindinggetResourceName

Popular methods of ResourceBinding

  • getMethodBindings
  • <init>
  • addMethod
  • setResourceName
  • getMethod

Popular in Java

  • Reactive rest calls using spring rest template
  • setRequestProperty (URLConnection)
  • getSupportFragmentManager (FragmentActivity)
  • getContentResolver (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Permission (java.security)
    Legacy security code; do not use.
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • 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