org.hibernate.collection.internal
Class PersistentMapElementHolder

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

Deprecated. To be removed in 5. Removed as part of removing the notion of DOM entity-mode. See Jira issues HHH-7782 and HHH-7783 for more information.

@Deprecated
public class PersistentMapElementHolder
extends PersistentIndexedElementHolder

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.hibernate.collection.internal.PersistentIndexedElementHolder
PersistentIndexedElementHolder.IndexedValue
 
Nested classes/interfaces inherited from class org.hibernate.collection.internal.AbstractPersistentCollection
AbstractPersistentCollection.DelayedOperation, AbstractPersistentCollection.IteratorProxy, AbstractPersistentCollection.LazyInitializationWork<T>, AbstractPersistentCollection.ListIteratorProxy, AbstractPersistentCollection.ListProxy, AbstractPersistentCollection.SetProxy
 
Field Summary
 
Fields inherited from class org.hibernate.collection.internal.PersistentIndexedElementHolder
element
 
Fields inherited from class org.hibernate.collection.internal.AbstractPersistentCollection
UNKNOWN
 
Constructor Summary
PersistentMapElementHolder(SessionImplementor session, CollectionPersister persister, Serializable key)
          Deprecated.  
PersistentMapElementHolder(SessionImplementor session, org.dom4j.Element element)
          Deprecated.  
 
Method Summary
 Serializable disassemble(CollectionPersister persister)
          Deprecated. Disassemble the collection, ready for the cache
 void initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)
          Deprecated. Read the state of the collection from a disassembled cached value
 
Methods inherited from class org.hibernate.collection.internal.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.internal.AbstractPersistentCollection
afterInitialize, afterRowInsert, beginRead, clearDirty, dirty, endRead, forceInitialization, getCachedSize, getIdentifier, getKey, getOrphans, getOwner, getQueuedOrphans, getRole, getSession, getSnapshot, getStoredSnapshot, hasQueuedOperations, identityRemove, initialize, isClearQueueEnabled, isDirty, isOperationQueueEnabled, isPutQueueEnabled, isRowUpdatePossible, isUnreferenced, needsRecreate, performQueuedOperations, postAction, preInsert, prepareForPossibleSpecialSpecjInitialization, 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)
Deprecated. 

PersistentMapElementHolder

public PersistentMapElementHolder(SessionImplementor session,
                                  CollectionPersister persister,
                                  Serializable key)
                           throws HibernateException
Deprecated. 
Throws:
HibernateException
Method Detail

initializeFromCache

public void initializeFromCache(CollectionPersister persister,
                                Serializable disassembled,
                                Object owner)
                         throws HibernateException
Deprecated. 
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
Deprecated. 
Description copied from interface: PersistentCollection
Disassemble the collection, ready for the cache

Throws:
HibernateException


Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.