public abstract class ObjectNameNormalizer extends Object
Constructor and Description |
---|
ObjectNameNormalizer() |
Modifier and Type | Method and Description |
---|---|
String |
applyGlobalQuoting(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(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.public String applyGlobalQuoting(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 © 2017 JBoss by Red Hat. All rights reserved.