|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A collection role that may be queried or loaded by outer join.
Method Summary | |
String[] |
getElementColumnNames()
Get the names of the collection element columns (or the primary key columns in the case of a one-to-many association) |
String[] |
getElementColumnNames(String alias)
Get the names of the collection element columns (or the primary key columns in the case of a one-to-many association), aliased by the given table alias |
EntityPersister |
getElementPersister()
Get the persister of the element class, if this is a collection of entities (optional operation). |
FetchMode |
getFetchMode()
Should we load this collection role by outerjoining? |
String[] |
getIndexColumnNames()
Get the names of the collection index columns if this is an indexed collection (optional operation) |
String[] |
getIndexColumnNames(String alias)
Get the names of the collection index columns if this is an indexed collection (optional operation), aliased by the given table alias |
String[] |
getIndexFormulas()
Get the index formulas if this is an indexed collection (optional operation) |
String |
getManyToManyOrderByString(String alias)
Get the order-by to be applied at the target table of a many to many |
String |
getSQLOrderByString(String alias)
Get the order by SQL |
boolean |
hasWhere()
Does this collection role have a where clause filter? |
String |
selectFragment(String alias,
String columnSuffix)
Generate a list of collection index and element columns |
Methods inherited from interface org.hibernate.persister.entity.PropertyMapping |
getType, toColumns, toColumns, toType |
Methods inherited from interface org.hibernate.persister.entity.Joinable |
consumesCollectionAlias, consumesEntityAlias, filterFragment, fromJoinFragment, getKeyColumnNames, getName, getTableName, isCollection, oneToManyFilterFragment, selectFragment, whereJoinFragment |
Method Detail |
public String selectFragment(String alias, String columnSuffix)
public String[] getIndexColumnNames()
public String[] getIndexFormulas()
public String[] getIndexColumnNames(String alias)
public String[] getElementColumnNames(String alias)
public String[] getElementColumnNames()
public String getSQLOrderByString(String alias)
public String getManyToManyOrderByString(String alias)
alias
- The alias for the many-to-many target table
public boolean hasWhere()
public EntityPersister getElementPersister()
public FetchMode getFetchMode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |