Codota Logo
IdentifierRule.getReservedWords
Code IndexAdd Codota to your IDE (free)

How to use
getReservedWords
method
in
org.apache.openjpa.lib.identifier.IdentifierRule

Best Java code snippets using org.apache.openjpa.lib.identifier.IdentifierRule.getReservedWords (Showing top 3 results out of 315)

  • Common ways to obtain IdentifierRule
private void myMethod () {
IdentifierRule i =
  • Codota IconIdentifierConfiguration identifierConfiguration;Object t;identifierConfiguration.getIdentifierRule(t)
  • Codota IconIdentifierConfiguration identifierConfiguration;identifierConfiguration.getIdentifierRule(rules[i])
  • Codota IconIdentifierUtilImpl identifierUtilImpl;Object t;identifierUtilImpl.getIdentifierConfiguration().getIdentifierRule(t)
  • Smart code suggestions by Codota
}
origin: org.apache.openjpa/openjpa-all

/**
 * Returns whether a name is considered a reserved word.
 */
public boolean isReservedWord(IdentifierRule rule, String name) {
  if (rule == null) {
    throw new IllegalArgumentException("Naming rule is null!");
  }
  if (rule.getReservedWords() == null) {
    return false;
  }
  if (!isDelimited(rule, name)) {
    name = name.toUpperCase(Locale.ENGLISH);
  }
  return rule.getReservedWords().contains(name);
}
origin: org.apache.openejb.patch/openjpa

/**
 * Returns whether a name is considered a reserved word.
 */
public boolean isReservedWord(IdentifierRule rule, String name) {
  if (rule == null) {
    throw new IllegalArgumentException("Naming rule is null!");
  }
  if (rule.getReservedWords() == null) {
    return false;
  }
  if (!isDelimited(rule, name)) {
    name = name.toUpperCase();
  }
  return rule.getReservedWords().contains(name);
}
origin: org.apache.openjpa/openjpa-lib

/**
 * Returns whether a name is considered a reserved word.
 */
public boolean isReservedWord(IdentifierRule rule, String name) {
  if (rule == null) {
    throw new IllegalArgumentException("Naming rule is null!");
  }
  if (rule.getReservedWords() == null) {
    return false;
  }
  if (!isDelimited(rule, name)) {
    name = name.toUpperCase(Locale.ENGLISH);
  }
  return rule.getReservedWords().contains(name);
}
org.apache.openjpa.lib.identifierIdentifierRulegetReservedWords

Popular methods of IdentifierRule

  • getMaxLength
  • getName
  • getCanDelimit
  • getDelimitReservedWords
  • getMustDelimit
  • getSpecialCharacters
  • isMustBeginWithLetter
  • isOnlyLettersDigitsUnderscores
  • isReservedWord
  • requiresDelimiters
    SQL identifier rules: 1) Can be up to 128 characters long 2) Must begin with a letter 3) Can contain

Popular in Java

  • Updating database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • notifyDataSetChanged (ArrayAdapter)
  • getContentResolver (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now