|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mysema.query.sql.codegen.AbstractNamingStrategy
public abstract class AbstractNamingStrategy
AbstractNamingStrategy is an abstract base class for NamingStrategy implementations
Field Summary | |
---|---|
protected String |
foreignKeysClassName
|
protected String |
foreignKeysVariable
|
protected String |
primaryKeysClassName
|
protected String |
primaryKeysVariable
|
protected String |
reservedSuffix
|
Constructor Summary | |
---|---|
AbstractNamingStrategy()
|
Method Summary | |
---|---|
String |
appendSchema(String packageName,
String schemaName)
Normalizes and appends the given schema name to the package name |
String |
getForeignKeysClassName()
Get the class name for the foreign keys inner class |
String |
getForeignKeysVariable(EntityType entityType)
Get the field name for the foreign keys class instance |
String |
getPrimaryKeysClassName()
Get the class name for the primary keys inner class |
String |
getPrimaryKeysVariable(EntityType entityType)
Get the field name for the primary keys class instance |
void |
setForeignKeysClassName(String foreignKeysClassName)
|
void |
setForeignKeysVariable(String foreignKeysVariable)
|
void |
setPrimaryKeysClassName(String primaryKeysClassName)
|
void |
setPrimaryKeysVariable(String primaryKeysVariable)
|
void |
setReservedSuffix(String reservedSuffix)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.mysema.query.sql.codegen.NamingStrategy |
---|
getClassName, getDefaultAlias, getDefaultVariableName, getPropertyName, getPropertyNameForForeignKey, getPropertyNameForInverseForeignKey, getPropertyNameForPrimaryKey, normalizeColumnName, normalizeSchemaName, normalizeTableName |
Field Detail |
---|
protected String foreignKeysClassName
protected String foreignKeysVariable
protected String primaryKeysClassName
protected String primaryKeysVariable
protected String reservedSuffix
Constructor Detail |
---|
public AbstractNamingStrategy()
Method Detail |
---|
public String appendSchema(String packageName, String schemaName)
NamingStrategy
appendSchema
in interface NamingStrategy
public String getForeignKeysClassName()
NamingStrategy
getForeignKeysClassName
in interface NamingStrategy
public String getForeignKeysVariable(EntityType entityType)
NamingStrategy
getForeignKeysVariable
in interface NamingStrategy
public String getPrimaryKeysClassName()
NamingStrategy
getPrimaryKeysClassName
in interface NamingStrategy
public String getPrimaryKeysVariable(EntityType entityType)
NamingStrategy
getPrimaryKeysVariable
in interface NamingStrategy
public void setForeignKeysClassName(String foreignKeysClassName)
public void setForeignKeysVariable(String foreignKeysVariable)
public void setPrimaryKeysClassName(String primaryKeysClassName)
public void setPrimaryKeysVariable(String primaryKeysVariable)
public void setReservedSuffix(String reservedSuffix)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |