congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
IdentifierUtilImpl.convert
Code IndexAdd Tabnine to your IDE (free)

How to use
convert
method
in
org.apache.openjpa.lib.identifier.IdentifierUtilImpl

Best Java code snippets using org.apache.openjpa.lib.identifier.IdentifierUtilImpl.convert (Showing top 6 results out of 315)

origin: org.apache.openejb.patch/openjpa

public String combineFull(IdentifierConfiguration config, String rule, String fullName) {
  if (!needsConversion(config)) {
    return fullName;
  }
  // Split
  String[] names = splitName(config, rule, fullName);
  // Convert
  for (int i = 0; i < names.length; i++) {
    names[i] = convert(config, rule, names[i]);
  }
  // Join
  return joinNames(config, config.getIdentifierRule(rule), names, config.getIdentifierDelimiter());
}    
origin: org.apache.openjpa/openjpa-lib

public String combineFull(IdentifierConfiguration config, String rule, String fullName) {
  if (!needsConversion(config)) {
    return fullName;
  }
  // Split
  String[] names = splitName(config, rule, fullName);
  // Convert
  for (int i = 0; i < names.length; i++) {
    names[i] = convert(config, rule, names[i]);
  }
  // Join
  return joinNames(config, config.getIdentifierRule(rule), names, config.getIdentifierDelimiter());
}    
origin: org.apache.openjpa/openjpa-all

public String combineFull(IdentifierConfiguration config, String rule, String fullName) {
  if (!needsConversion(config)) {
    return fullName;
  }
  // Split
  String[] names = splitName(config, rule, fullName);
  // Convert
  for (int i = 0; i < names.length; i++) {
    names[i] = convert(config, rule, names[i]);
  }
  // Join
  return joinNames(config, config.getIdentifierRule(rule), names, config.getIdentifierDelimiter());
}    
origin: org.apache.openejb.patch/openjpa

public String convertFull(IdentifierConfiguration config, String rule, String fullName) {
  if (!needsConversion(config)) {
    return fullName;
  }
  // Split
  String[] names = splitName(config, rule, fullName);
  // Convert
  for (int i = 0; i < names.length; i++) {
    names[i] = convert(config, rule, names[i]);
  }
  // If a single part name, return it.
  if (names.length == 1) {
    return names[0];
  }
  // Join if multiple names
  return joinNames(getIdentifierConfiguration(), config.getIdentifierRule(rule), names, 
    getIdentifierConfiguration().getIdentifierDelimiter());
}    
origin: org.apache.openjpa/openjpa-all

public String convertFull(IdentifierConfiguration config, String rule, String fullName) {
  if (!needsConversion(config)) {
    return fullName;
  }
  // Split
  String[] names = splitName(config, rule, fullName);
  // Convert
  for (int i = 0; i < names.length; i++) {
    names[i] = convert(config, rule, names[i]);
  }
  // If a single part name, return it.
  if (names.length == 1) {
    return names[0];
  }
  // Join if multiple names
  return joinNames(getIdentifierConfiguration(), config.getIdentifierRule(rule), names, 
    getIdentifierConfiguration().getIdentifierDelimiter());
}    
origin: org.apache.openjpa/openjpa-lib

public String convertFull(IdentifierConfiguration config, String rule, String fullName) {
  if (!needsConversion(config)) {
    return fullName;
  }
  // Split
  String[] names = splitName(config, rule, fullName);
  // Convert
  for (int i = 0; i < names.length; i++) {
    names[i] = convert(config, rule, names[i]);
  }
  // If a single part name, return it.
  if (names.length == 1) {
    return names[0];
  }
  // Join if multiple names
  return joinNames(getIdentifierConfiguration(), config.getIdentifierRule(rule), names, 
    getIdentifierConfiguration().getIdentifierDelimiter());
}    
org.apache.openjpa.lib.identifierIdentifierUtilImplconvert

Popular methods of IdentifierUtilImpl

  • appendNames
  • canSplit
  • combineNames
  • delimit
  • getIdentifierConfiguration
  • getNamingRule
  • getNamingRules
  • isDelimited
  • isReservedWord
    Returns whether a name is considered a reserved word.
  • joinNames
    Joins multiple names together using the standard delimiting rules ex. ( {"s", "t", "c"} --> "s"."t".
  • needsConversion
  • removeDelimiters
  • needsConversion,
  • removeDelimiters,
  • removeHungarianNotation,
  • requiresDelimiters,
  • splitName,
  • splitNameCharDelimiters,
  • truncateName

Popular in Java

  • Reactive rest calls using spring rest template
  • getApplicationContext (Context)
  • putExtra (Intent)
  • getExternalFilesDir (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • 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
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Top Sublime Text plugins
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