org.datanucleus.store.types.queued
Class RemoveCollectionOperation

java.lang.Object
  extended by org.datanucleus.store.types.queued.RemoveCollectionOperation
All Implemented Interfaces:
QueuedOperation

public class RemoveCollectionOperation
extends Object
implements QueuedOperation

Remove operation for a collection.


Constructor Summary
RemoveCollectionOperation(ObjectProvider op, CollectionStore store, Object value, boolean allowCascadeDelete)
           
 
Method Summary
 ObjectProvider getObjectProvider()
          The object provider that this operation is performed on.
 Store getStore()
          The backing store that this queued operation relates to.
 Object getValue()
          Accessor for the value being removed.
 void perform()
          Perform the remove(Object) operation on the specified container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveCollectionOperation

public RemoveCollectionOperation(ObjectProvider op,
                                 CollectionStore store,
                                 Object value,
                                 boolean allowCascadeDelete)
Method Detail

getValue

public Object getValue()
Accessor for the value being removed.

Returns:
Value being removed

perform

public void perform()
Perform the remove(Object) operation on the specified container.

Specified by:
perform in interface QueuedOperation

getStore

public Store getStore()
Description copied from interface: QueuedOperation
The backing store that this queued operation relates to.

Specified by:
getStore in interface QueuedOperation
Returns:
The backing store

getObjectProvider

public ObjectProvider getObjectProvider()
Description copied from interface: QueuedOperation
The object provider that this operation is performed on.

Specified by:
getObjectProvider in interface QueuedOperation
Returns:
ObjectProvider


Copyright © 2013. All Rights Reserved.