Package | Description |
---|---|
org.apache.openjpa.jdbc.identifier | |
org.apache.openjpa.jdbc.sql |
OpenJPA-JDBC SQL Abstraction
|
org.apache.openjpa.lib.identifier |
Modifier and Type | Class and Description |
---|---|
class |
ColumnDefIdentifierRule
Default rule for column definition.
|
class |
DBIdentifierRule
The default DBIdentifier rule.
|
Modifier and Type | Method and Description |
---|---|
IdentifierRule |
DefaultIdentifierConfiguration.getDefaultIdentifierRule() |
<T> IdentifierRule |
DefaultIdentifierConfiguration.getIdentifierRule(T t) |
Modifier and Type | Method and Description |
---|---|
Map<String,IdentifierRule> |
DefaultIdentifierConfiguration.getIdentifierRules() |
Modifier and Type | Method and Description |
---|---|
IdentifierRule |
DBDictionary.getDefaultIdentifierRule() |
<T> IdentifierRule |
DBDictionary.getIdentifierRule(T t) |
Modifier and Type | Method and Description |
---|---|
Map<String,IdentifierRule> |
DBDictionary.getIdentifierRules() |
Modifier and Type | Method and Description |
---|---|
IdentifierRule |
IdentifierConfiguration.getDefaultIdentifierRule()
Gets the default naming rule
|
<T> IdentifierRule |
IdentifierConfiguration.getIdentifierRule(T t)
Returns a naming rule or null if the rule is
not found.
|
Modifier and Type | Method and Description |
---|---|
<T> Map<T,IdentifierRule> |
IdentifierConfiguration.getIdentifierRules()
Returns all naming rules
|
Modifier and Type | Method and Description |
---|---|
String |
IdentifierUtilImpl.appendNames(IdentifierRule rule,
String name1,
String name2) |
String |
IdentifierUtil.appendNames(IdentifierRule rule,
String name1,
String name2)
Append the names together while maintaining delimiters.
|
boolean |
IdentifierUtilImpl.canSplit(IdentifierRule rule,
String name) |
boolean |
IdentifierUtil.canSplit(IdentifierRule rule,
String name)
Determines whether a name can be split into multiple components.
|
boolean |
IdentifierUtilImpl.canSplit(IdentifierRule rule,
String name,
String delim) |
boolean |
IdentifierUtil.canSplit(IdentifierRule rule,
String name,
String delim)
Determines whether a name can be split into multiple components, taking
into account the specified delimiter.
|
String |
IdentifierUtilImpl.combineNames(IdentifierConfiguration config,
IdentifierRule rule,
IdentifierRule[] rules,
String[] names) |
String |
IdentifierUtilImpl.combineNames(IdentifierConfiguration config,
IdentifierRule rule,
IdentifierRule[] rules,
String[] names) |
String |
IdentifierUtilImpl.combineNames(IdentifierConfiguration config,
IdentifierRule namingRule,
String[] names) |
String |
IdentifierUtilImpl.combineNames(IdentifierConfiguration config,
IdentifierRule rule,
String name1,
String name2) |
String |
IdentifierUtilImpl.combineNames(IdentifierRule rule,
IdentifierRule[] rules,
String[] names) |
String |
IdentifierUtilImpl.combineNames(IdentifierRule rule,
IdentifierRule[] rules,
String[] names) |
String |
IdentifierUtil.combineNames(IdentifierRule rule,
IdentifierRule[] rules,
String[] names)
Combines names using delimiting rules and appropriate separators
|
String |
IdentifierUtil.combineNames(IdentifierRule rule,
IdentifierRule[] rules,
String[] names)
Combines names using delimiting rules and appropriate separators
|
String |
IdentifierUtilImpl.combineNames(IdentifierRule rule,
String[] names) |
String |
IdentifierUtil.combineNames(IdentifierRule rule,
String[] names)
Combines names using the specified delimiting rule and appropriate separators
|
String |
IdentifierUtilImpl.combineNames(IdentifierRule rule,
String name1,
String name2) |
String |
IdentifierUtil.combineNames(IdentifierRule rule,
String name1,
String name2)
Combines two names using delimiting rules and appropriate separators
|
String |
IdentifierUtilImpl.delimit(IdentifierConfiguration config,
IdentifierRule rule,
String name) |
String |
IdentifierUtilImpl.delimit(IdentifierConfiguration config,
IdentifierRule rule,
String name,
boolean force) |
String |
IdentifierUtilImpl.delimit(IdentifierRule rule,
String name) |
String |
IdentifierUtil.delimit(IdentifierRule rule,
String name)
Delimit the name if it requires delimiters
|
String |
IdentifierUtilImpl.delimit(IdentifierRule rule,
String name,
boolean force) |
String |
IdentifierUtil.delimit(IdentifierRule rule,
String name,
boolean force)
Delimit the string with the option to force delimiting.
|
boolean |
IdentifierUtilImpl.isDelimited(IdentifierConfiguration config,
IdentifierRule rule,
String name) |
boolean |
IdentifierUtilImpl.isDelimited(IdentifierRule rule,
String name) |
boolean |
IdentifierUtil.isDelimited(IdentifierRule rule,
String name)
Determines whether a name is delimited.
|
boolean |
IdentifierUtilImpl.isReservedWord(IdentifierRule rule,
String name)
Returns whether a name is considered a reserved word.
|
boolean |
IdentifierUtil.isReservedWord(IdentifierRule rule,
String name)
Returns whether a name is considered a reserved word
|
String |
IdentifierUtilImpl.joinNames(IdentifierConfiguration config,
IdentifierRule rule,
String[] names,
String delimiter)
Join names using a single naming rule and specified delimiter
|
String |
IdentifierUtilImpl.joinNames(IdentifierRule[] rules,
String[] names)
Joins multiple names together using the standard delimiting rules
ex.
|
String |
IdentifierUtil.joinNames(IdentifierRule[] rules,
String[] names)
Joins several names with different naming rules into a single string
using appropriate delimiters and separators
|
String |
IdentifierUtilImpl.joinNames(IdentifierRule rule,
String[] names) |
String |
IdentifierUtil.joinNames(IdentifierRule rule,
String[] names)
Joins several names with different naming rules into a single string
using appropriate delimiters and separators
|
String |
IdentifierUtilImpl.joinNames(IdentifierRule rule,
String[] names,
String delimiter) |
String |
IdentifierUtil.joinNames(IdentifierRule rule,
String[] names,
String delimiter)
Joins several names with different naming rules into a single string
using the specified delimiter
|
String |
IdentifierUtilImpl.removeDelimiters(IdentifierConfiguration config,
IdentifierRule rule,
String name) |
protected String |
IdentifierUtilImpl.removeDelimiters(IdentifierConfiguration config,
IdentifierRule rule,
String name,
String leading,
String trailing) |
String |
IdentifierUtilImpl.removeDelimiters(IdentifierRule rule,
String name) |
String |
IdentifierUtil.removeDelimiters(IdentifierRule rule,
String name)
Remove delimiters from a delimited name
|
String |
IdentifierUtilImpl.removeHungarianNotation(IdentifierRule rule,
String name) |
String |
IdentifierUtil.removeHungarianNotation(IdentifierRule rule,
String name)
Removes Hungarian notation from the specified string.
|
boolean |
IdentifierUtilImpl.requiresDelimiters(IdentifierConfiguration config,
IdentifierRule rule,
String name) |
boolean |
IdentifierUtilImpl.requiresDelimiters(IdentifierRule rule,
String name) |
boolean |
IdentifierUtil.requiresDelimiters(IdentifierRule rule,
String name)
Determines whether a name requires delimiters based upon:
The SQL-92 Reference definition of a valid unquoted name
The naming rule specified
|
String[] |
IdentifierUtilImpl.splitName(IdentifierConfiguration config,
IdentifierRule nrule,
String name) |
String[] |
IdentifierUtilImpl.splitName(IdentifierRule nrule,
String name) |
String[] |
IdentifierUtil.splitName(IdentifierRule rule,
String name)
Splits a combined name name using the provided naming rule
|
String[] |
IdentifierUtilImpl.splitName(IdentifierRule nrule,
String name,
String nameDelim)
Splits names using single naming rule and appropriate separators
|
String[] |
IdentifierUtil.splitName(IdentifierRule rule,
String name,
String delimiter)
Splits a combined name name using the provided naming rule and
delimiter.
|
String |
IdentifierUtilImpl.truncateName(IdentifierRule namingRule,
String name,
int length) |
String |
IdentifierUtil.truncateName(IdentifierRule rule,
String name,
int length)
Truncates a name while maintaining delimiters.
|
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.