public abstract class ObjectNameNormalizer
extends java.lang.Object
| Constructor and Description |
|---|
ObjectNameNormalizer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
applyGlobalQuoting(java.lang.String text)
Intended only for use in handling quoting requirements for
column-definition
as defined by Column.columnDefinition(),
JoinColumn.columnDefinition(), etc. |
protected Database |
database() |
Identifier |
determineLogicalName(java.lang.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(java.lang.String identifierText)
Normalizes the quoting of identifiers.
|
java.lang.String |
normalizeIdentifierQuotingAsString(java.lang.String identifierText)
Normalizes the quoting of identifiers.
|
java.lang.String |
toDatabaseIdentifierText(java.lang.String identifierText) |
public Identifier normalizeIdentifierQuoting(java.lang.String identifierText)
identifierText - The identifier to be quoting-normalized.protected Database database()
public Identifier normalizeIdentifierQuoting(Identifier identifier)
public java.lang.String normalizeIdentifierQuotingAsString(java.lang.String identifierText)
org.hibernate.mappingidentifierText - The identifier to be quoting-normalized.public java.lang.String toDatabaseIdentifierText(java.lang.String identifierText)
public Identifier determineLogicalName(java.lang.String explicitName, NamingStrategyHelper namingStrategyHelper)
null/empty) explicit name.explicitName - The explicit, user-supplied namenamingStrategyHelper - The naming strategy helper.public java.lang.String applyGlobalQuoting(java.lang.String text)
column-definition
as defined by Column.columnDefinition(),
JoinColumn.columnDefinition(), etc. This method should not
be called in any other scenario.text - The specified column definitionprotected abstract MetadataBuildingContext getBuildingContext()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.