public class OriginalNamingStrategy extends AbstractNamingStrategy
OriginalNamingStrategy
preserves the table and column names in the conversionforeignKeysClassName, 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
|
appendSchema, escape, getClassName, getForeignKeysClassName, getForeignKeysVariable, getPackage, getPrimaryKeysClassName, getPrimaryKeysVariable, normalizeColumnName, normalizeJavaName, normalizeSchemaName, normalizeSQLName, normalizeTableName, setForeignKeysClassName, setForeignKeysVariable, setPrimaryKeysClassName, setPrimaryKeysVariable, setReservedSuffix, shouldGenerateClass, shouldGenerateForeignKey
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
Copyright © 2007–2016 Querydsl. All rights reserved.