|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NamingStrategy
NamingStrategy defines a conversion strategy from table to class and column to property names
| Method Summary | |
|---|---|
String |
getClassName(String namePrefix,
String tableName)
Convert the given tableName to a simple class name with the given name prefix |
String |
getDefaultAlias(String namePrefix,
EntityType entityType)
Get the default alias for the given EntityType |
String |
getDefaultVariableName(String namePrefix,
EntityType entityType)
Get the default variable name for the given EntityType |
String |
getPropertyName(String columnName,
String namePrefix,
EntityType entityType)
Convert the given column name to a property name |
String |
normalizeColumnName(String columnName)
Convert the given column 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 |
| Method Detail |
|---|
String getDefaultVariableName(String namePrefix,
EntityType entityType)
entityType -
String getDefaultAlias(String namePrefix,
EntityType entityType)
namePrefix - entityType -
String getClassName(String namePrefix,
String tableName)
namePrefix - tableName -
String getPropertyName(String columnName,
String namePrefix,
EntityType entityType)
columnName - entityType -
String normalizeTableName(String tableName)
tableName -
String normalizeColumnName(String columnName)
columnName -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||