com.mysema.query.sql
Class AbstractNamingStrategy
java.lang.Object
com.mysema.query.sql.AbstractNamingStrategy
- All Implemented Interfaces:
- NamingStrategy
- Direct Known Subclasses:
- DefaultNamingStrategy, OriginalNamingStrategy
public abstract class AbstractNamingStrategy
- extends Object
- implements NamingStrategy
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
foreignKeysClassName
protected String foreignKeysClassName
foreignKeysVariable
protected String foreignKeysVariable
primaryKeysClassName
protected String primaryKeysClassName
primaryKeysVariable
protected String primaryKeysVariable
reservedSuffix
protected String reservedSuffix
AbstractNamingStrategy
public AbstractNamingStrategy()
appendSchema
public String appendSchema(String packageName,
String schemaName)
- Description copied from interface:
NamingStrategy
- Normalizes and appends the given schema name to the package name
- Specified by:
appendSchema
in interface NamingStrategy
- Returns:
getForeignKeysClassName
public String getForeignKeysClassName()
- Description copied from interface:
NamingStrategy
- Get the class name for the foreign keys inner class
- Specified by:
getForeignKeysClassName
in interface NamingStrategy
- Returns:
getForeignKeysVariable
public String getForeignKeysVariable(EntityType entityType)
- Description copied from interface:
NamingStrategy
- Get the field name for the foreign keys class instance
- Specified by:
getForeignKeysVariable
in interface NamingStrategy
- Returns:
getPrimaryKeysClassName
public String getPrimaryKeysClassName()
- Description copied from interface:
NamingStrategy
- Get the class name for the primary keys inner class
- Specified by:
getPrimaryKeysClassName
in interface NamingStrategy
- Returns:
getPrimaryKeysVariable
public String getPrimaryKeysVariable(EntityType entityType)
- Description copied from interface:
NamingStrategy
- Get the field name for the primary keys class instance
- Specified by:
getPrimaryKeysVariable
in interface NamingStrategy
- Returns:
setForeignKeysClassName
public void setForeignKeysClassName(String foreignKeysClassName)
setForeignKeysVariable
public void setForeignKeysVariable(String foreignKeysVariable)
setPrimaryKeysClassName
public void setPrimaryKeysClassName(String primaryKeysClassName)
setPrimaryKeysVariable
public void setPrimaryKeysVariable(String primaryKeysVariable)
setReservedSuffix
public void setReservedSuffix(String reservedSuffix)
Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.