PersistentCollection
| Modifier and Type | Class and Description |
|---|---|
| protected static interface | |
| pack-priv class | |
| pack-priv class | |
| pack-priv class | |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private transient boolean | |
| private boolean | |
| private boolean | |
| private transient boolean | |
| private Serializable | |
| private transient List | |
| private Object | |
| private String | |
| private transient SessionImplementor | |
| private Serializable | |
| protected static final Object |
| Access | Constructor and Description |
|---|---|
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | afterInitialize()
Implements org. |
| public void | afterRowInsert(CollectionPersister persister, Object entry, int i)
Implements org. |
| public void | beginRead()
Implements org. |
| public final void | clearDirty()
Implements org. |
| public final void | |
| public abstract boolean | empty()
Redeclares org. |
| public boolean | endRead()
Implements org. |
| public final void | forceInitialization()
Implements org. |
| protected int | |
| public Object | getIdentifier(Object entry, int i)
Implements org. |
| public final Serializable | getKey()
Implements org. |
| public abstract Collection | getOrphans(Serializable snapshot, String entityName)
Redeclares org. |
| protected static Collection | getOrphans(Collection<E> oldElements, Collection<E> currentElements, String entityName, SessionImplementor session)
Given a collection of entity instances that used to belong to the collection, and a collection of instances that currently belong, return a collection of orphans |
| public Object | |
| public final Collection | getQueuedOrphans(String entityName)
Implements org. |
| public final String | getRole()
Implements org. |
| public final SessionImplementor | |
| protected final Serializable | |
| public final Serializable | getStoredSnapshot()
Implements org. |
| public Object | getValue()
Implements org. |
| public final boolean | hasQueuedOperations()
Implements org. |
| pack-priv static void | |
| protected final void | initialize(boolean
currently obsolete writing)Initialize the collection, if possible, wrapping any exceptions in a runtime exception |
| protected boolean | |
| private final boolean | |
| public boolean | isDirectlyAccessible()
Implements org. |
| public final boolean | |
| private boolean | |
| private boolean | isInverseCollectionNoOrphanDelete()
Is this the "inverse" end of a bidirectional association with no orphan delete enabled? |
| private boolean | isInverseOneToManyOrNoOrphanDelete()
Is this the "inverse" end of a bidirectional one-to-many, or of a collection with no orphan delete? |
| protected boolean | |
| protected boolean | |
| public boolean | |
| public final boolean | isUnreferenced()
Implements org. |
| public boolean | needsRecreate(CollectionPersister persister)
Implements org. |
| protected final void | performQueuedOperations()
After reading all existing elements from the database, add the queued elements to the underlying collection. |
| public void | postAction()
Implements org. |
| public void | preInsert(CollectionPersister persister)
Implements org. |
| public final Iterator | queuedAdditionIterator()
Implements org. |
| protected final void | |
| protected final void | |
| protected Object | |
| protected Boolean | |
| protected Boolean | |
| protected boolean | |
| public final boolean | Returns: false if the collection was already associated with the sessionImplements org. |
| protected final void | |
| protected final void | |
| public void | setOwner(Object owner)
Implements org. |
| public void | setSnapshot(Serializable key, String role, Serializable snapshot)
Implements org. |
| private void | |
| private void | |
| public final boolean | Returns: true if this was currently associated with the given sessionImplements org. |
| public final boolean | wasInitialized()
Implements org. |
| protected final void |