Methods Summary |
---|
public java.lang.String | classToTableName(java.lang.String className)Return a table name for an entity class
|
public java.lang.String | collectionTableName(java.lang.String ownerEntity, java.lang.String ownerEntityTable, java.lang.String associatedEntity, java.lang.String associatedEntityTable, java.lang.String propertyName)Return a collection table name ie an association having a join table
|
public java.lang.String | columnName(java.lang.String columnName)Alter the column name given in the mapping document
|
public java.lang.String | foreignKeyColumnName(java.lang.String propertyName, java.lang.String propertyEntityName, java.lang.String propertyTableName, java.lang.String referencedColumnName)Return the foreign key column name for the given parameters
|
public java.lang.String | joinKeyColumnName(java.lang.String joinedColumn, java.lang.String joinedTable)Return the join key column name ie a FK column used in a JOINED strategy or for a secondary table
|
public java.lang.String | logicalCollectionColumnName(java.lang.String columnName, java.lang.String propertyName, java.lang.String referencedColumn)Returns the logical foreign key column name used to refer to this column in the mapping metadata
|
public java.lang.String | logicalCollectionTableName(java.lang.String tableName, java.lang.String ownerEntityTable, java.lang.String associatedEntityTable, java.lang.String propertyName)Returns the logical collection table name used to refer to a table in the mapping metadata
|
public java.lang.String | logicalColumnName(java.lang.String columnName, java.lang.String propertyName)Return the logical column name used to refer to a column in the metadata
(like index, unique constraints etc)
A full bijection is required between logicalNames and physical ones
logicalName have to be case insersitively unique for a given table
|
public java.lang.String | propertyToColumnName(java.lang.String propertyName)Return a column name for a property path expression
|
public java.lang.String | tableName(java.lang.String tableName)Alter the table name given in the mapping document
|