Package org.hibernate.collection
Class PersistentMapElementHolder
java.lang.Object
org.hibernate.collection.AbstractPersistentCollection
org.hibernate.collection.PersistentIndexedElementHolder
org.hibernate.collection.PersistentMapElementHolder
- All Implemented Interfaces:
Serializable,PersistentCollection
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hibernate.collection.PersistentIndexedElementHolder
PersistentIndexedElementHolder.IndexedValueNested classes/interfaces inherited from class org.hibernate.collection.AbstractPersistentCollection
AbstractPersistentCollection.DelayedOperation -
Field Summary
Fields inherited from class org.hibernate.collection.PersistentIndexedElementHolder
elementFields inherited from class org.hibernate.collection.AbstractPersistentCollection
UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionPersistentMapElementHolder(SessionImplementor session, org.dom4j.Element element) PersistentMapElementHolder(SessionImplementor session, CollectionPersister persister, Serializable key) -
Method Summary
Modifier and TypeMethodDescriptiondisassemble(CollectionPersister persister) Disassemble the collection, ready for the cachevoidinitializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner) Read the state of the collection from a disassembled cached valueMethods 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, setIndexMethods inherited from class org.hibernate.collection.AbstractPersistentCollection
afterInitialize, afterRowInsert, beginRead, clearDirty, dirty, endRead, forceInitialization, getCachedSize, getIdentifier, getKey, getOrphans, getOwner, getQueuedOrphans, getRole, getSession, getSnapshot, getStoredSnapshot, hasQueuedOperations, initialize, isClearQueueEnabled, isDirty, isOperationQueueEnabled, isPutQueueEnabled, isRowUpdatePossible, isUnreferenced, needsRecreate, performQueuedOperations, postAction, preInsert, queuedAdditionIterator, queueOperation, read, readElementByIndex, readElementExistence, readIndexExistence, readSize, setCurrentSession, setDirectlyAccessible, setInitialized, setOwner, setSnapshot, unsetSession, wasInitialized, write
-
Constructor Details
-
PersistentMapElementHolder
-
PersistentMapElementHolder
public PersistentMapElementHolder(SessionImplementor session, CollectionPersister persister, Serializable key) throws HibernateException - Throws:
HibernateException
-
-
Method Details
-
initializeFromCache
public void initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner) throws HibernateException Description copied from interface:PersistentCollectionRead the state of the collection from a disassembled cached value- Throws:
HibernateException
-
disassemble
Description copied from interface:PersistentCollectionDisassemble the collection, ready for the cache- Throws:
HibernateException
-