| Modifier and Type | Field and Description |
|---|---|
| protected Object | |
| private transient Class | |
| private static final Logger | |
| private transient List |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | beforeInitialize(CollectionPersister
The underlying collection persister. persister, int The anticipated size of the collection after initilization is complete. anticipatedSize)Implements org. |
| public void | beginRead()
Overrides org. Implements org. |
| public Serializable | disassemble(CollectionPersister persister)
Implements org. |
| public Iterator | |
| public boolean | empty()
Implements abstract org. Implements org. |
| public boolean | endRead()
Overrides org. Implements org. |
| public Iterator | entries(CollectionPersister persister)
Implements org. |
| public boolean | entryExists(Object entry, int i)
Implements org. |
| public boolean | equalsSnapshot(CollectionPersister persister)
Implements org. |
| public Object | |
| public Iterator | getDeletes(CollectionPersister persister, boolean indexIsFormula)
Implements org. |
| public Object | getElement(Object entry)
Implements org. |
| public Object | getIndex(Object entry, int i, CollectionPersister
it was more elegant before we added this... persister)Implements org. |
| public Collection | getOrphans(Serializable snapshot, String entityName)
Implements abstract org. Implements org. |
| public Serializable | getSnapshot(CollectionPersister persister)
Implements org. |
| public Object | getSnapshotElement(Object entry, int i)
Implements org. |
| public Object | getValue()
Overrides org. Implements org. |
| public void | initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)
Implements org. |
| public boolean | isDirectlyAccessible()
Overrides org. Implements org. |
| public boolean | isSnapshotEmpty(Serializable snapshot)
Implements org. |
| public boolean | isWrapper(Object collection)
Implements org. |
| public boolean | needsInserting(Object entry, int i, Type elemType)
Implements org. |
| public boolean | needsUpdating(Object entry, int i, Type elemType)
Implements org. |
| public Object | readFrom(ResultSet rs, CollectionPersister persister, CollectionAliases descriptor, Object owner)
Implements org. |
| array | back to summary |
|---|---|
| protected Object array | |
| elementClass | back to summary |
|---|---|
| private transient Class<T> elementClass | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| tempList | back to summary |
|---|---|
| private transient List<E> tempList | |
| PersistentArrayHolder | back to summary |
|---|---|
| public PersistentArrayHolder(SessionImplementor session, Object array) | |
| PersistentArrayHolder | back to summary |
|---|---|
| public PersistentArrayHolder(SessionImplementor session, CollectionPersister persister) throws HibernateException | |
| beforeInitialize | back to summary |
|---|---|
| public void beforeInitialize(CollectionPersister persister, int anticipatedSize) Implements org. Doc from org. Called before any elements are read into the collection, allowing appropriate initializations to occur.
| |
| beginRead | back to summary |
|---|---|
| public void beginRead() Overrides org. Implements org. Doc from org. Called just before reading any rows from the JDBC result set | |
| disassemble | back to summary |
|---|---|
| public Serializable disassemble(CollectionPersister persister) throws HibernateException Implements org. Doc from org. Disassemble the collection, ready for the cache | |
| elements | back to summary |
|---|---|
| public Iterator | |
| empty | back to summary |
|---|---|
| public boolean empty() Implements abstract org. Implements org. Doc from org. Is the initialized collection empty? | |
| endRead | back to summary |
|---|---|
| public boolean endRead() Overrides org. Implements org. Doc from org. Called after reading all rows from the JDBC result set | |
| entries | back to summary |
|---|---|
| public Iterator Implements org. Doc from org. Iterate all collection entries, during update of the database | |
| entryExists | back to summary |
|---|---|
| public boolean entryExists(Object entry, int i) Implements org. Doc from org. Does an element exist at this entry in the collection? | |
| equalsSnapshot | back to summary |
|---|---|
| public boolean equalsSnapshot(CollectionPersister persister) throws HibernateException Implements org. Doc from org. Does the current state exactly match the snapshot? | |
| getArray | back to summary |
|---|---|
| public Object getArray() | |
| getDeletes | back to summary |
|---|---|
| public Iterator Implements org. Doc from org. Get all the elements that need deleting | |
| getElement | back to summary |
|---|---|
| public Object getElement(Object entry) Implements org. Doc from org. Get the value of the given collection entry | |
| getIndex | back to summary |
|---|---|
| public Object getIndex(Object entry, int i, CollectionPersister persister) Implements org. Doc from org. Get the index of the given collection entry
| |
| getOrphans | back to summary |
|---|---|
| public Collection Implements abstract org. Implements org. Doc from org. get all "orphaned" elements | |
| getSnapshot | back to summary |
|---|---|
| public Serializable getSnapshot(CollectionPersister persister) throws HibernateException Implements org. Doc from org. Return a new snapshot of the current state of the collection | |
| getSnapshotElement | back to summary |
|---|---|
| public Object getSnapshotElement(Object entry, int i) Implements org. Doc from org. Get the snapshot value of the given collection entry | |
| getValue | back to summary |
|---|---|
| public Object getValue() Overrides org. Implements org. Doc from org. return the user-visible collection (or array) instance | |
| initializeFromCache | back to summary |
|---|---|
| public void initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner) throws HibernateException Implements org. Doc from org. Read the state of the collection from a disassembled cached value | |
| isDirectlyAccessible | back to summary |
|---|---|
| public boolean isDirectlyAccessible() Overrides org. Implements org. Doc from org. Could the application possibly have a direct reference to the underlying collection implementation? | |
| isSnapshotEmpty | back to summary |
|---|---|
| public boolean isSnapshotEmpty(Serializable snapshot) Implements org. Doc from org. Is the snapshot empty? | |
| isWrapper | back to summary |
|---|---|
| public boolean isWrapper(Object collection) Implements org. Doc from org. Is this the wrapper for the given underlying collection instance? | |
| needsInserting | back to summary |
|---|---|
| public boolean needsInserting(Object entry, int i, Type elemType) throws HibernateException Implements org. Doc from org. Do we need to insert this element? | |
| needsUpdating | back to summary |
|---|---|
| public boolean needsUpdating(Object entry, int i, Type elemType) throws HibernateException Implements org. Doc from org. Do we need to update this element? | |
| readFrom | back to summary |
|---|---|
| public Object readFrom(ResultSet rs, CollectionPersister persister, CollectionAliases descriptor, Object owner) throws HibernateException, SQLException Implements org. Doc from org. Read a row from the JDBC result set | |