站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

PersistentMapElementHolder (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.collection
Class PersistentMapElementHolder

java.lang.Object
  extended byorg.hibernate.collection.AbstractPersistentCollection
      extended byorg.hibernate.collection.PersistentIndexedElementHolder
          extended byorg.hibernate.collection.PersistentMapElementHolder
All Implemented Interfaces:
PersistentCollection, Serializable

public class PersistentMapElementHolder
extends PersistentIndexedElementHolder

Author:
Gavin King
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.hibernate.collection.PersistentIndexedElementHolder
PersistentIndexedElementHolder.IndexedValue
 
Nested classes 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, CollectionPersister persister, Serializable key)
           
PersistentMapElementHolder(SessionImplementor session, org.dom4j.Element element)
           
 
Method Summary
 Serializable disassemble(CollectionPersister persister)
          Disassemble the collection, ready for the cache
 void initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)
          Read the state of the collection from a disassembled cached value
 
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, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistentMapElementHolder

public PersistentMapElementHolder(SessionImplementor session,
                                  org.dom4j.Element element)

PersistentMapElementHolder

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

initializeFromCache

public void initializeFromCache(CollectionPersister persister,
                                Serializable disassembled,
                                Object owner)
                         throws HibernateException
Description copied from interface: PersistentCollection
Read the state of the collection from a disassembled cached value

Throws:
HibernateException

disassemble

public Serializable disassemble(CollectionPersister persister)
                         throws HibernateException
Description copied from interface: PersistentCollection
Disassemble the collection, ready for the cache

Throws:
HibernateException