public class ExtendedNamingStrategy extends DefaultNamingStrategy
It looks for patterns like this .*_<forward>_<inverse> and uses the forward part for the foreign key name and inverse for the inverse foreign key name.
foreignKeysClassName, foreignKeysVariable, primaryKeysClassName, primaryKeysVariable, reservedSuffix| Constructor and Description | 
|---|
| ExtendedNamingStrategy() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getPropertyNameForForeignKey(String fkName,
                            EntityType entityType)Convert the given foreign key name to a foreign key property name | 
| String | getPropertyNameForInverseForeignKey(String fkName,
                                   EntityType entityType)Convert the given foreign key name to a foreign key property name | 
getClassName, getDefaultAlias, getDefaultVariableName, getForeignKeysVariable, getPrimaryKeysVariable, getPropertyName, getPropertyNameForPrimaryKey, normalizePropertyName, toCamelCaseappendSchema, escape, getForeignKeysClassName, getPrimaryKeysClassName, normalizeColumnName, normalizeSchemaName, normalizeTableName, setForeignKeysClassName, setForeignKeysVariable, setPrimaryKeysClassName, setPrimaryKeysVariable, setReservedSuffixpublic String getPropertyNameForForeignKey(String fkName, EntityType entityType)
NamingStrategygetPropertyNameForForeignKey in interface NamingStrategygetPropertyNameForForeignKey in class DefaultNamingStrategypublic String getPropertyNameForInverseForeignKey(String fkName, EntityType entityType)
NamingStrategygetPropertyNameForInverseForeignKey in interface NamingStrategygetPropertyNameForInverseForeignKey in class DefaultNamingStrategyCopyright © 2007–2015 Querydsl. All rights reserved.