org.hibernate.usertype.UserCollectionType |
A custom type for mapping user-written classes that implement PersistentCollection
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Optional operation.
| |||||||||||
Return an iterator over the elements of this collection - the passed collection
instance may or may not be a wrapper
| |||||||||||
Optional operation.
| |||||||||||
Instantiate an empty instance of the "underlying" collection (not a wrapper),
but with the given anticipated size (i.e.
| |||||||||||
Instantiate an uninitialized instance of the collection wrapper
| |||||||||||
Replace the elements of a collection with the elements of another collection
| |||||||||||
Wrap an instance of a collection
|
Optional operation. Does the collection contain the entity instance?
Return an iterator over the elements of this collection - the passed collection instance may or may not be a wrapper
Optional operation. Return the index of the entity in the collection.
Instantiate an empty instance of the "underlying" collection (not a wrapper), but with the given anticipated size (i.e. accounting for initial size and perhaps load factor).
anticipatedSize | The anticipated size of the instaniated collection after we are done populating it. Note, may be negative to indicate that we not yet know anything about the anticipated size (i.e., when initializing from a result set row by row). |
---|
Instantiate an uninitialized instance of the collection wrapper
HibernateException |
---|
Replace the elements of a collection with the elements of another collection
HibernateException |
---|
Wrap an instance of a collection