Package org.hibernate.collection.spi
Class AbstractPersistentCollection.AbstractValueDelayedOperation
- java.lang.Object
-
- org.hibernate.collection.spi.AbstractPersistentCollection.AbstractValueDelayedOperation
-
- All Implemented Interfaces:
AbstractPersistentCollection.DelayedOperation<E>
,AbstractPersistentCollection.ValueDelayedOperation<E>
- Direct Known Subclasses:
PersistentList.SimpleAdd
- Enclosing class:
- AbstractPersistentCollection<E>
protected abstract class AbstractPersistentCollection.AbstractValueDelayedOperation extends Object implements AbstractPersistentCollection.ValueDelayedOperation<E>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractValueDelayedOperation(E addedValue, E orphan)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description E
getAddedInstance()
E
getOrphan()
protected E
getReplacement(Type type, Object current, Map<Object,Object> copyCache)
void
replace(CollectionPersister persister, Map<Object,Object> copyCache)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.collection.spi.AbstractPersistentCollection.DelayedOperation
operate
-
-
-
-
Method Detail
-
replace
public void replace(CollectionPersister persister, Map<Object,Object> copyCache)
- Specified by:
replace
in interfaceAbstractPersistentCollection.ValueDelayedOperation<E>
-
getReplacement
protected final E getReplacement(Type type, Object current, Map<Object,Object> copyCache)
-
getAddedInstance
public final E getAddedInstance()
- Specified by:
getAddedInstance
in interfaceAbstractPersistentCollection.DelayedOperation<E>
-
getOrphan
public final E getOrphan()
- Specified by:
getOrphan
in interfaceAbstractPersistentCollection.DelayedOperation<E>
-
-