|
|||||||||||
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 | |
int |
enableJoinedFetch()
Should we load this collection role by outerjoining? |
String[] |
getElementColumnNames()
Get the names of the collection element columns (or the primary key columns in the case of a one-to-many association) |
ClassPersister |
getElementPersister()
Get the persister of the element class, if this is a collection of entities (optional operation). |
String[] |
getIndexColumnNames()
Get the names of the collection index columnsm if this is an indexed collection (optional operation) |
String[] |
getKeyColumnNames()
Get the names of the collection key columns |
String |
getSQLOrderByString(String alias)
Get the order by SQL |
String |
getSQLWhereString(String alias)
Get the extra where clause filter SQL |
boolean |
hasWhere()
Does this collection role have a where clause filter? |
String |
selectFragment(String alias)
Generate a list of collection index and element columns |
Methods inherited from interface net.sf.hibernate.persister.PropertyMapping |
getType, toColumns, toType |
Methods inherited from interface net.sf.hibernate.persister.Joinable |
consumesAlias, fromJoinFragment, getJoinKeyColumnNames, getName, getTableName, isCollection, isManyToMany, selectFragment, whereJoinFragment |
Methods inherited from interface net.sf.hibernate.collection.CollectionPersister |
deleteRows, getCache, getCollectionMetadata, getCollectionSpace, getCollectionType, getElementClass, getElementType, getIdentifierGenerator, getIdentifierType, getIndexType, getKeyType, getOwnerClass, getRole, hasCache, hasIndex, hasOrdering, hasOrphanDelete, initialize, insertRows, isArray, isInverse, isLazy, isOneToMany, isPrimitiveArray, readElement, readIdentifier, readIndex, readKey, recreate, remove, updateRows, writeElement, writeIdentifier, writeIndex, writeKey |
Method Detail |
public String selectFragment(String alias)
public String[] getIndexColumnNames()
public String[] getElementColumnNames()
public String[] getKeyColumnNames()
public String getSQLWhereString(String alias)
public String getSQLOrderByString(String alias)
public boolean hasWhere()
public ClassPersister getElementPersister()
public int enableJoinedFetch()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |