public abstract class ObjectNameNormalizer extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ObjectNameNormalizer.NamingStrategyHelper
Helper contract for dealing with
NamingStrategy in different situations. |
Constructor and Description |
---|
ObjectNameNormalizer() |
Modifier and Type | Method and Description |
---|---|
protected abstract NamingStrategy |
getNamingStrategy()
Deprecated.
Replaced by
getNamingStrategyDelegator() |
protected abstract NamingStrategyDelegator |
getNamingStrategyDelegator()
Get the current
NamingStrategyDelegator . |
protected abstract boolean |
isUseQuotedIdentifiersGlobally()
Retrieve whether the user requested that all database identifiers be quoted.
|
String |
normalizeDatabaseIdentifier(String explicitName,
ObjectNameNormalizer.NamingStrategyHelper helper)
Performs the actual contract of normalizing a database name.
|
String |
normalizeIdentifierQuoting(String identifier)
Allow normalizing of just the quoting aspect of identifiers.
|
public String normalizeDatabaseIdentifier(String explicitName, ObjectNameNormalizer.NamingStrategyHelper helper)
explicitName
- The name the user explicitly gave for the database object.helper
- The NamingStrategy
helper.public String normalizeIdentifierQuoting(String identifier)
identifier
- The identifier to be quoting-normalized.protected abstract boolean isUseQuotedIdentifiersGlobally()
@Deprecated protected abstract NamingStrategy getNamingStrategy()
getNamingStrategyDelegator()
NamingStrategy
.NamingStrategy
.protected abstract NamingStrategyDelegator getNamingStrategyDelegator()
NamingStrategyDelegator
.NamingStrategyDelegator
.Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.