org.datanucleus.store.types.sco.queued
Class RemoveCollectionOperation

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

public class RemoveCollectionOperation
extends java.lang.Object
implements QueuedOperation<CollectionStore>

Remove operation for a collection or map.


Constructor Summary
RemoveCollectionOperation(java.lang.Object value, boolean allowCascadeDelete)
          Constructor, specifying whether cascade delete should be allowed.
 
Method Summary
 java.lang.Object getValue()
          Accessor for the value being removed.
 void perform(CollectionStore store, ObjectProvider sm)
          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(java.lang.Object value,
                                 boolean allowCascadeDelete)
Constructor, specifying whether cascade delete should be allowed.

Parameters:
value - The value to remove
allowCascadeDelete - Whether to allow cascade delete
Method Detail

getValue

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

Returns:
Value being removed

perform

public void perform(CollectionStore store,
                    ObjectProvider sm)
Perform the remove(Object) operation on the specified container.

Specified by:
perform in interface QueuedOperation<CollectionStore>
Parameters:
store - The backing store to perform it on
sm - StateManager for the owner of the container


Copyright © 2011. All Rights Reserved.