public class JPANamingFactory extends AbstractNamingFactory
clr, namingCase, nucCtx, quoteString, wordSeparator| Constructor and Description |
|---|
JPANamingFactory(NucleusContext nucCtx) |
| Modifier and Type | Method and Description |
|---|---|
String |
getColumnName(AbstractClassMetaData cmd,
ColumnType type)
Method to return the name of the column for the specified class (version, datastore-id, discriminator etc).
|
String |
getColumnName(AbstractMemberMetaData mmd,
ColumnType type,
int position)
Method to return the name of the column for the position of the specified field.
|
String |
getTableName(AbstractMemberMetaData mmd)
Method to return the name of the (join) table for the specified field.
|
getColumnName, getMaximumLengthForComponent, getNameInRequiredCase, getTableName, prepareColumnNameForUse, setMaximumLength, setNamingCase, setQuoteString, setWordSeparator, truncatepublic JPANamingFactory(NucleusContext nucCtx)
public String getTableName(AbstractMemberMetaData mmd)
NamingFactorymmd - Metadata for the field/property needing a join tablepublic String getColumnName(AbstractClassMetaData cmd, ColumnType type)
NamingFactorycmd - Metadata for the classtype - Column typepublic String getColumnName(AbstractMemberMetaData mmd, ColumnType type, int position)
NamingFactorymmd - Metadata for the fieldtype - Type of columnposition - Position of the columnCopyright © 2013. All Rights Reserved.