|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserCollectionType
A custom type for mapping user-written classes that implement PersistentCollection
PersistentCollection
Method Summary | |
---|---|
boolean |
contains(Object collection,
Object entity)
Optional operation. |
Iterator |
getElementsIterator(Object collection)
Return an iterator over the elements of this collection - the passed collection instance may or may not be a wrapper |
Object |
indexOf(Object collection,
Object entity)
Optional operation. |
Object |
instantiate()
Instantiate an empty instance of the "underlying" collection (not a wrapper) |
PersistentCollection |
instantiate(SessionImplementor session,
CollectionPersister persister)
Instantiate an uninitialized instance of the collection wrapper |
Object |
replaceElements(Object original,
Object target,
CollectionPersister persister,
Object owner,
Map copyCache,
SessionImplementor session)
Replace the elements of a collection with the elements of another collection |
PersistentCollection |
wrap(SessionImplementor session,
Object collection)
Wrap an instance of a collection |
Method Detail |
---|
PersistentCollection instantiate(SessionImplementor session, CollectionPersister persister) throws HibernateException
HibernateException
PersistentCollection wrap(SessionImplementor session, Object collection)
Iterator getElementsIterator(Object collection)
boolean contains(Object collection, Object entity)
Object indexOf(Object collection, Object entity)
Object replaceElements(Object original, Object target, CollectionPersister persister, Object owner, Map copyCache, SessionImplementor session) throws HibernateException
HibernateException
Object instantiate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |