| Modifier and Type | Field and Description |
|---|---|
| protected Map | |
| private Collection | |
| protected List |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PersistentIdentifierBag(SharedSessionContractImplementor
The session session)Constructs a PersistentIdentifierBag. |
| public | PersistentIdentifierBag(SessionImplementor
The session session)
Deprecated
Constructs a PersistentIdentifierBag.
PersistentIdentifierBag(SharedSessionContractImplementor) should be used instead.
|
| public | PersistentIdentifierBag(SharedSessionContractImplementor
The session session, Collection<E> The base elements coll)Constructs a PersistentIdentifierBag. |
| public | PersistentIdentifierBag(SessionImplementor
The session session, Collection<E> The base elements coll)
Deprecated
Constructs a PersistentIdentifierBag.
PersistentIdentifierBag(SharedSessionContractImplementor, Collection) should be used instead.
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | add(Object
element to be appended to this list o)Implements java. |
| public void | add(int
index at which the specified element is to be inserted index, Object element to be inserted element)Implements java. |
| public boolean | addAll(int
index at which to insert the first element from the
specified collection index, Collection<E> collection containing elements to be added to this list c)Implements java. |
| public boolean | addAll(Collection<E>
collection containing elements to be added to this list c)Implements java. |
| public void | afterRowInsert(CollectionPersister
The collection persister persister, Object The collection element just inserted entry, int The element position/index i)Overrides org. Implements org. |
| private void | |
| public void | beforeInitialize(CollectionPersister
The underlying collection persister. persister, int The anticipated size of the collection after initialization is complete. anticipatedSize)Implements org. |
| private void | |
| public void | clear()
Implements java. |
| public boolean | contains(Object
element whose presence in this list is to be tested o)Implements java. true if this list contains the specified element.
|
| public boolean | containsAll(Collection<E>
collection to be checked for containment in this list c)Implements java. true if this list contains all of the elements of the
specified collection.
|
| public Serializable | disassemble(CollectionPersister
The collection persister persister)Implements org. |
| public boolean | empty()
Implements abstract org. Implements org. |
| public Iterator | entries(CollectionPersister
The collection persister. persister)Implements org. |
| public boolean | entryExists(Object
The object to check if it exists as a collection element entry, int Unused i)Implements org. |
| public boolean | equalsSnapshot(CollectionPersister
The collection persister persister)Implements org. |
| public Object | get(int
index of the element to return index)Implements java. |
| public Iterator | getDeletes(CollectionPersister
The collection persister persister, boolean For indexed collections, tells whether the index is a formula (calculated value) mapping indexIsFormula)Implements org. |
| public Object | getElement(Object
The object instance for which to get the collection element instance. entry)Implements org. |
| public Object | getIdentifier(Object
The collection entry/element entry, int The assumed identifier (?) i)Overrides org. Implements org. |
| public Object | getIndex(Object
The collection entry/element entry, int The assumed index i, CollectionPersister it was more elegant before we added this... persister)Implements org. |
| public Collection | getOrphans(Serializable
The snapshot state snapshot, String The name of the entity that are the elements of the collection entityName)Implements abstract org. Implements org. |
| public Serializable | getSnapshot(CollectionPersister
The collection persister persister)Implements org. |
| public Object | getSnapshotElement(Object
The entry entry, int The index i)Implements org. |
| public int | indexOf(Object
element to search for o)Implements java. |
| public void | initializeFromCache(CollectionPersister
The collection persister persister, Serializable The disassembled cached state disassembled, Object The collection owner owner)Implements org. |
| public boolean | isDirectlyProvidedCollection(Object
The collection collection)Overrides default org. collection provided directly to this PersistentCollection
(i.e., provided as an argument to a constructor)?
|
| public boolean | |
| public boolean | isSnapshotEmpty(Serializable
The snapshot to check snapshot)Implements org. |
| public boolean | isWrapper(Object
The collection to check whether this is wrapping it collection)Implements org. |
| public Iterator | iterator()
Implements java. |
| public int | lastIndexOf(Object
element to search for o)Implements java. |
| public ListIterator | listIterator()
Implements java. |
| public ListIterator | listIterator(int
index of the first element to be returned from the
list iterator (by a call to index)next)Implements java. |
| public boolean | needsInserting(Object
The collection element to check entry, int The index (for indexed collections) i, Type The type for the element elemType)Implements org. |
| public boolean | needsUpdating(Object
The collection element to check entry, int The index (for indexed collections) i, Type The type for the element elemType)Implements org. |
| public void | preInsert(CollectionPersister
The collection persister persister)Overrides org. Implements org. |
| public Object | readFrom(ResultSet
The JDBC ResultSet rs, CollectionPersister The collection role persister, CollectionAliases The aliases used for the columns making up the collection descriptor, Object The collection owner owner)Implements org. |
| public boolean | remove(Object
element to be removed from this list, if present o)Implements java. |
| public Object | remove(int
the index of the element to be removed index)Implements java. |
| public boolean | removeAll(Collection<E>
collection containing elements to be removed from this list c)Implements java. |
| public boolean | retainAll(Collection<E>
collection containing elements to be retained in this list c)Implements java. |
| public Object | set(int
index of the element to replace index, Object element to be stored at the specified position element)Implements java. |
| public int | |
| public List | subList(int
low endpoint (inclusive) of the subList fromIndex, int high endpoint (exclusive) of the subList toIndex)Implements java. fromIndex, inclusive, and toIndex, exclusive.
|
| public Object[] | toArray()
Implements java. |
| public Object[] | toArray(Object[]
the array into which the elements of this list are to
be stored, if it is big enough; otherwise, a new array of the
same runtime type is allocated for this purpose. a)Implements java. |