public abstract class NamingStrategyDelegateAdapter extends Object implements NamingStrategyDelegate, Serializable
NamingStrategyDelegate
implementations to extend.Constructor and Description |
---|
NamingStrategyDelegateAdapter() |
Modifier and Type | Method and Description |
---|---|
String |
determineImplicitPropertyColumnName(String propertyPath)
Determine the name of a property's column when a name is not explicitly configured.
|
String |
determineLogicalCollectionColumnName(String columnName,
String propertyName,
String referencedColumn) |
String |
determineLogicalColumnName(String columnName,
String propertyName) |
String |
toPhysicalColumnName(String columnName)
Alter the column name given in the mapping document
|
String |
toPhysicalJoinKeyColumnName(String joinedColumn,
String joinedTable) |
String |
toPhysicalTableName(String tableName)
Alter the table name given in the mapping document
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
determineImplicitElementCollectionJoinColumnName, determineImplicitElementCollectionTableName, determineImplicitEntityAssociationJoinColumnName, determineImplicitEntityAssociationJoinTableName, determineImplicitPrimaryTableName, determineLogicalElementCollectionTableName, determineLogicalEntityAssociationJoinTableName
public String determineImplicitPropertyColumnName(String propertyPath)
NamingStrategyDelegate
determineImplicitPropertyColumnName
in interface NamingStrategyDelegate
propertyPath
- The property path (not qualified by the entity name)public String toPhysicalTableName(String tableName)
NamingStrategyDelegate
toPhysicalTableName
in interface NamingStrategyDelegate
tableName
- a table namepublic String toPhysicalColumnName(String columnName)
NamingStrategyDelegate
toPhysicalColumnName
in interface NamingStrategyDelegate
columnName
- a column namepublic String toPhysicalJoinKeyColumnName(String joinedColumn, String joinedTable)
toPhysicalJoinKeyColumnName
in interface NamingStrategyDelegate
public String determineLogicalColumnName(String columnName, String propertyName)
determineLogicalColumnName
in interface NamingStrategyDelegate
public String determineLogicalCollectionColumnName(String columnName, String propertyName, String referencedColumn)
determineLogicalCollectionColumnName
in interface NamingStrategyDelegate
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.