public class ObservableListType extends Object implements org.hibernate.usertype.UserCollectionType
| Constructor and Description |
|---|
ObservableListType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Object collection,
Object entity) |
Iterator |
getElementsIterator(Object collection) |
Object |
indexOf(Object collection,
Object entity) |
Object |
instantiate(int anticipatedSize)
Return the basic wrapped instance.
|
org.hibernate.collection.PersistentCollection |
instantiate(org.hibernate.engine.SessionImplementor session,
org.hibernate.persister.collection.CollectionPersister persister) |
Object |
replaceElements(Object original,
Object target,
org.hibernate.persister.collection.CollectionPersister persister,
Object owner,
Map copyCache,
org.hibernate.engine.SessionImplementor session) |
org.hibernate.collection.PersistentCollection |
wrap(org.hibernate.engine.SessionImplementor session,
Object collection) |
public Object instantiate(int anticipatedSize)
instantiate in interface org.hibernate.usertype.UserCollectionTypeUserCollectionType.instantiate(int)public org.hibernate.collection.PersistentCollection instantiate(org.hibernate.engine.SessionImplementor session,
org.hibernate.persister.collection.CollectionPersister persister)
throws org.hibernate.HibernateException
instantiate in interface org.hibernate.usertype.UserCollectionTypeorg.hibernate.HibernateExceptionpublic org.hibernate.collection.PersistentCollection wrap(org.hibernate.engine.SessionImplementor session,
Object collection)
wrap in interface org.hibernate.usertype.UserCollectionTypepublic Iterator getElementsIterator(Object collection)
getElementsIterator in interface org.hibernate.usertype.UserCollectionTypepublic boolean contains(Object collection, Object entity)
contains in interface org.hibernate.usertype.UserCollectionTypepublic Object indexOf(Object collection, Object entity)
indexOf in interface org.hibernate.usertype.UserCollectionTypepublic Object replaceElements(Object original, Object target, org.hibernate.persister.collection.CollectionPersister persister, Object owner, Map copyCache, org.hibernate.engine.SessionImplementor session) throws org.hibernate.HibernateException
replaceElements in interface org.hibernate.usertype.UserCollectionTypeorg.hibernate.HibernateExceptionCopyright © 2017 etc.to. All rights reserved.