|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysema.query.sql.DefaultNamingStrategy
public class DefaultNamingStrategy
DefaultNamingStrategy is the default implementation of the NamingStrategy interface
| Constructor Summary | |
|---|---|
DefaultNamingStrategy()
|
|
| 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 |
protected String |
toCamelCase(String str)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultNamingStrategy()
| Method Detail |
|---|
public String getClassName(String namePrefix,
String tableName)
NamingStrategy
getClassName in interface NamingStrategy
public String getPropertyName(String columnName,
String namePrefix,
EntityType entityType)
NamingStrategy
getPropertyName in interface NamingStrategyprotected String toCamelCase(String str)
public String getDefaultVariableName(String namePrefix,
EntityType entityType)
NamingStrategy
getDefaultVariableName in interface NamingStrategy
public String getDefaultAlias(String namePrefix,
EntityType entityType)
NamingStrategy
getDefaultAlias in interface NamingStrategypublic String normalizeColumnName(String columnName)
NamingStrategy
normalizeColumnName in interface NamingStrategypublic String normalizeTableName(String tableName)
NamingStrategy
normalizeTableName in interface NamingStrategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||