Tabnine Logo
ContextItems.getItemNames
Code IndexAdd Tabnine to your IDE (free)

How to use
getItemNames
method
in
org.carewebframework.api.context.ContextItems

Best Java code snippets using org.carewebframework.api.context.ContextItems.getItemNames (Showing top 2 results out of 315)

origin: org.carewebframework/org.carewebframework.api

/**
 * Returns true if the CCOW context contains context settings pertaining to the named subject.
 * 
 * @param subject Name of the CCOW subject
 * @return True if settings for the specified subject were found.
 */
private boolean hasSubject(String subject) {
  boolean result = false;
  String s = subject + ".";
  int c = s.length();
  
  for (String propName : contextItems.getItemNames()) {
    result = s.equalsIgnoreCase(propName.substring(0, c));
    
    if (result) {
      break;
    }
  }
  
  return result;
}

origin: org.carewebframework/org.carewebframework.api.core

/**
 * Returns true if the CCOW context contains context settings pertaining to the named subject.
 *
 * @param subject Name of the CCOW subject
 * @return True if settings for the specified subject were found.
 */
private boolean hasSubject(String subject) {
  boolean result = false;
  String s = subject + ".";
  int c = s.length();
  for (String propName : contextItems.getItemNames()) {
    result = s.equalsIgnoreCase(propName.substring(0, c));
    if (result) {
      break;
    }
  }
  return result;
}
org.carewebframework.api.contextContextItemsgetItemNames

Javadoc

Returns a set of all item names.

Popular methods of ContextItems

  • setItem
    Sets a context item value, qualified with the specified suffix.
  • <init>
  • addItems
    Adds context items to this set.
  • clear
    Clear all context items and the index.
  • getItem
    Retrieves a context item qualified by a suffix.
  • getSuffixes
    Returns a map consisting of suffixes of context items that match the specified prefix.
  • lookupItemName
    Performs a case-insensitive lookup of the item name in the index.
  • normalizePrefix
    Normalizes a prefix by appending a "." if necessary and converting to lower case.
  • toString
    Serializes the context item set to a string.

Popular in Java

  • Updating database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • requestLocationUpdates (LocationManager)
  • setRequestProperty (URLConnection)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • 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