Top Fields Constructors Methods
org.hibernate.collection

public Class PersistentMapElementHolder

extends PersistentIndexedElementHolder
Class Inheritance
Imports
java.io.Serializable, java.util.List, org.dom4j.Element, org.hibernate.HibernateException, org.hibernate.engine.SessionImplementor, org.hibernate.persister.collection.CollectionPersister, org.hibernate.type.Type, .XmlRepresentableType

Author
Gavin King

Field Summary

Inherited from org.hibernate.collection.PersistentIndexedElementHolder:
element

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public Serializable
disassemble(CollectionPersister persister)

Implements org.hibernate.collection.PersistentCollection.disassemble.

Disassemble the collection, ready for the cache
public void
initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)

Implements org.hibernate.collection.PersistentCollection.initializeFromCache.

Read the state of the collection from a disassembled cached value
Inherited from org.hibernate.collection.PersistentIndexedElementHolder:
beforeInitializeemptyentriesentryExistsequalsSnapshotgetDeletesgetElementgetIndexgetIndexgetIndexAttributeNamegetOrphansgetSnapshotgetSnapshotElementgetValueisDirectlyAccessibleisSnapshotEmptyisWrapperneedsInsertingneedsUpdatingreadFromsetIndex

Constructor Detail

PersistentMapElementHolderback to summary
public PersistentMapElementHolder(SessionImplementor session, Element element)
PersistentMapElementHolderback to summary
public PersistentMapElementHolder(SessionImplementor session, CollectionPersister persister, Serializable key) throws HibernateException

Method Detail

disassembleback to summary
public Serializable disassemble(CollectionPersister persister) throws HibernateException

Implements org.hibernate.collection.PersistentCollection.disassemble.

Doc from org.hibernate.collection.PersistentCollection.disassemble.

Disassemble the collection, ready for the cache

initializeFromCacheback to summary
public void initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner) throws HibernateException

Implements org.hibernate.collection.PersistentCollection.initializeFromCache.

Doc from org.hibernate.collection.PersistentCollection.initializeFromCache.

Read the state of the collection from a disassembled cached value