@Deprecated public class PersistentMapElementHolder extends PersistentIndexedElementHolder
PersistentIndexedElementHolder.IndexedValue
AbstractPersistentCollection.DelayedOperation, AbstractPersistentCollection.IteratorProxy, AbstractPersistentCollection.LazyInitializationWork<T>, AbstractPersistentCollection.ListIteratorProxy, AbstractPersistentCollection.ListProxy, AbstractPersistentCollection.SetProxy
element
UNKNOWN
Constructor and Description |
---|
PersistentMapElementHolder(SessionImplementor session,
CollectionPersister persister,
Serializable key)
Deprecated.
Constructs a PersistentMapElementHolder.
|
PersistentMapElementHolder(SessionImplementor session,
org.dom4j.Element element)
Deprecated.
Constructs a PersistentMapElementHolder.
|
Modifier and Type | Method and Description |
---|---|
Serializable |
disassemble(CollectionPersister persister)
Deprecated.
Disassemble the collection to get it ready for the cache
|
void |
initializeFromCache(CollectionPersister persister,
Serializable disassembled,
Object owner)
Deprecated.
Read the state of the collection from a disassembled cached value
|
beforeInitialize, empty, entries, entryExists, equalsSnapshot, getDeletes, getElement, getIndex, getIndex, getIndexAttributeName, getOrphans, getSnapshot, getSnapshotElement, getValue, isDirectlyAccessible, isSnapshotEmpty, isWrapper, needsInserting, needsUpdating, readFrom, setIndex
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, prepareForPossibleLoadingOutsideTransaction, queuedAdditionIterator, queueOperation, read, readElementByIndex, readElementExistence, readIndexExistence, readSize, setCurrentSession, setDirectlyAccessible, setInitialized, setOwner, setSnapshot, unsetSession, wasInitialized, write
public PersistentMapElementHolder(SessionImplementor session, org.dom4j.Element element)
session
- The sessionelement
- The owning DOM elementpublic PersistentMapElementHolder(SessionImplementor session, CollectionPersister persister, Serializable key)
session
- The sessionpersister
- The collection persisterkey
- The collection key (fk value)public void initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)
PersistentCollection
persister
- The collection persisterdisassembled
- The disassembled cached stateowner
- The collection ownerpublic Serializable disassemble(CollectionPersister persister) throws HibernateException
PersistentCollection
persister
- The collection persisterHibernateException
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.