public class OriginalNamingStrategy extends AbstractNamingStrategy
foreignKeysClassName, foreignKeysVariable, primaryKeysClassName, primaryKeysVariable, reservedSuffix| Constructor and Description |
|---|
OriginalNamingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName(String tableName)
Convert the given tableName to a simple class name
|
String |
getDefaultAlias(EntityType entityType)
Get the default alias for the given EntityType
|
String |
getDefaultVariableName(EntityType entityType)
Get the default variable name for the given EntityType
|
String |
getPropertyName(String columnName,
EntityType entityType)
Convert the given column name to a property name
|
String |
getPropertyNameForForeignKey(String foreignKeyName,
EntityType entityType)
Convert the given foreign key name to a foreign key property name
|
String |
getPropertyNameForInverseForeignKey(String foreignKeyName,
EntityType entityType)
Convert the given foreign key name to a foreign key property name
|
String |
getPropertyNameForPrimaryKey(String primaryKeyName,
EntityType model)
Convert the given primary key name to a primary key property name
|
String |
normalizeColumnName(String columnName)
Convert the given column name and provide the opportunity to add quoted identifiers
|
String |
normalizeSchemaName(String schemaName)
Convert the given schema name and provide the opportunity to add quoted identifiers
|
String |
normalizeTableName(String tableName)
Convert the given table name and provide the opportunity to add quoted identifiers
|
appendSchema, escape, getForeignKeysClassName, getForeignKeysVariable, getPrimaryKeysClassName, getPrimaryKeysVariable, setForeignKeysClassName, setForeignKeysVariable, setPrimaryKeysClassName, setPrimaryKeysVariable, setReservedSuffixpublic String getClassName(String tableName)
NamingStrategypublic String getDefaultAlias(EntityType entityType)
NamingStrategypublic String getDefaultVariableName(EntityType entityType)
NamingStrategypublic String getPropertyName(String columnName, EntityType entityType)
NamingStrategypublic String getPropertyNameForForeignKey(String foreignKeyName, EntityType entityType)
NamingStrategypublic String getPropertyNameForInverseForeignKey(String foreignKeyName, EntityType entityType)
NamingStrategypublic String getPropertyNameForPrimaryKey(String primaryKeyName, EntityType model)
NamingStrategypublic String normalizeColumnName(String columnName)
NamingStrategypublic String normalizeTableName(String tableName)
NamingStrategypublic String normalizeSchemaName(String schemaName)
NamingStrategyCopyright © 2007–2014 Mysema Ltd. All rights reserved.