|
||||||||||
| 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)
Convert the given column name to a property name |
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 NamingStrategypublic String getPropertyName(String columnName)
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 NamingStrategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||