public abstract class ObjectNameNormalizer extends Object
Constructor and Description |
---|
ObjectNameNormalizer() |
Modifier and Type | Method and Description |
---|---|
String |
applyGlobalQuoting(String text) |
protected Database |
database() |
Identifier |
determineLogicalName(String explicitName,
NamingStrategyHelper namingStrategyHelper)
Determine the logical name give a (potentially
null /empty) explicit name. |
protected abstract MetadataBuildingContext |
getBuildingContext()
Access the contextual information related to the current process of building metadata.
|
Identifier |
normalizeIdentifierQuoting(Identifier identifier) |
Identifier |
normalizeIdentifierQuoting(String identifierText)
Normalizes the quoting of identifiers.
|
String |
normalizeIdentifierQuotingAsString(String identifierText)
Normalizes the quoting of identifiers.
|
String |
toDatabaseIdentifierText(String identifierText) |
public Identifier normalizeIdentifierQuoting(String identifierText)
identifierText
- The identifier to be quoting-normalized.protected Database database()
public Identifier normalizeIdentifierQuoting(Identifier identifier)
public String normalizeIdentifierQuotingAsString(String identifierText)
org.hibernate.mapping
identifierText
- The identifier to be quoting-normalized.public Identifier determineLogicalName(String explicitName, NamingStrategyHelper namingStrategyHelper)
null
/empty) explicit name.explicitName
- The explicit, user-supplied namenamingStrategyHelper
- The naming strategy helper.protected abstract MetadataBuildingContext getBuildingContext()
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.