org.hibernate.collection

Class PersistentMapElementHolder

Implemented Interfaces:
Serializable, PersistentCollection

public class PersistentMapElementHolder
extends PersistentIndexedElementHolder

Author:
Gavin King

Nested Class Summary

Nested classes/interfaces inherited from class org.hibernate.collection.PersistentIndexedElementHolder

PersistentIndexedElementHolder.IndexedValue

Nested classes/interfaces inherited from class org.hibernate.collection.AbstractPersistentCollection

AbstractPersistentCollection.DelayedOperation

Field Summary

Fields inherited from class org.hibernate.collection.PersistentIndexedElementHolder

element

Fields inherited from class org.hibernate.collection.AbstractPersistentCollection

UNKNOWN

Constructor Summary

PersistentMapElementHolder(SessionImplementor session, Element element)
PersistentMapElementHolder(SessionImplementor session, CollectionPersister persister, Serializable key)

Method Summary

Serializable
disassemble(CollectionPersister persister)
void
initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)

Methods inherited from class org.hibernate.collection.PersistentIndexedElementHolder

beforeInitialize, empty, entries, entryExists, equalsSnapshot, getDeletes, getElement, getIndex, getIndex, getIndexAttributeName, getOrphans, getSnapshot, getSnapshotElement, getValue, isDirectlyAccessible, isSnapshotEmpty, isWrapper, needsInserting, needsUpdating, readFrom, setIndex

Methods inherited from class org.hibernate.collection.AbstractPersistentCollection

afterInitialize, afterRowInsert, beginRead, clearDirty, dirty, empty, endRead, forceInitialization, getCachedSize, getIdentifier, getKey, getOrphans, getOrphans, getOwner, getQueuedOrphans, getRole, getSession, getSnapshot, getStoredSnapshot, getValue, hasQueuedOperations, initialize, isClearQueueEnabled, isDirectlyAccessible, isDirty, isOperationQueueEnabled, isPutQueueEnabled, isRowUpdatePossible, isUnreferenced, needsRecreate, performQueuedOperations, postAction, preInsert, queueOperation, queuedAdditionIterator, read, readElementByIndex, readElementExistence, readIndexExistence, readSize, setCurrentSession, setDirectlyAccessible, setInitialized, setOwner, setSnapshot, unsetSession, wasInitialized, write

Constructor Details

PersistentMapElementHolder

public PersistentMapElementHolder(SessionImplementor session,
                                  Element element)

PersistentMapElementHolder

public PersistentMapElementHolder(SessionImplementor session,
                                  CollectionPersister persister,
                                  Serializable key)
            throws HibernateException

Method Details

disassemble

public Serializable disassemble(CollectionPersister persister)
            throws HibernateException
Specified by:
disassemble in interface PersistentCollection

initializeFromCache

public void initializeFromCache(CollectionPersister persister,
                                Serializable disassembled,
                                Object owner)
            throws HibernateException
Specified by:
initializeFromCache in interface PersistentCollection