|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mysema.query.sql.codegen.AbstractNamingStrategy
com.mysema.query.sql.codegen.OriginalNamingStrategy
public class OriginalNamingStrategy
OriginalNamingStrategy preserves the table and column names in the conversion
Field Summary |
---|
Fields inherited from class com.mysema.query.sql.codegen.AbstractNamingStrategy |
---|
foreignKeysClassName, foreignKeysVariable, primaryKeysClassName, primaryKeysVariable, reservedSuffix |
Constructor Summary | |
---|---|
OriginalNamingStrategy()
|
Method Summary | |
---|---|
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 |
Methods inherited from class com.mysema.query.sql.codegen.AbstractNamingStrategy |
---|
appendSchema, getForeignKeysClassName, getForeignKeysVariable, getPrimaryKeysClassName, getPrimaryKeysVariable, setForeignKeysClassName, setForeignKeysVariable, setPrimaryKeysClassName, setPrimaryKeysVariable, setReservedSuffix |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OriginalNamingStrategy()
Method Detail |
---|
public String getClassName(String tableName)
NamingStrategy
public String getDefaultAlias(EntityType entityType)
NamingStrategy
public String getDefaultVariableName(EntityType entityType)
NamingStrategy
public String getPropertyName(String columnName, EntityType entityType)
NamingStrategy
public String getPropertyNameForForeignKey(String foreignKeyName, EntityType entityType)
NamingStrategy
public String getPropertyNameForInverseForeignKey(String foreignKeyName, EntityType entityType)
NamingStrategy
public String getPropertyNameForPrimaryKey(String primaryKeyName, EntityType model)
NamingStrategy
public String normalizeColumnName(String columnName)
NamingStrategy
public String normalizeTableName(String tableName)
NamingStrategy
public String normalizeSchemaName(String schemaName)
NamingStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |