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

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

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

Add operation for a collection.


Constructor Summary
AddOperation(java.lang.Object value)
          Constructor.
 
Method Summary
 java.lang.Object getValue()
          Accessor for the value being added.
 void perform(CollectionStore store, ObjectProvider sm)
          Perform the add(Object) operation to the backing store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddOperation

public AddOperation(java.lang.Object value)
Constructor.

Parameters:
value - The value to add
Method Detail

getValue

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

Returns:
Value being added

perform

public void perform(CollectionStore store,
                    ObjectProvider sm)
Perform the add(Object) operation to the backing store.

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


Copyright © 2011. All Rights Reserved.