org.datanucleus.sco.queued
Class AddAtOperation

java.lang.Object
  extended by org.datanucleus.sco.queued.AddAtOperation
All Implemented Interfaces:
QueuedOperation

public class AddAtOperation
extends java.lang.Object
implements QueuedOperation

Add operation at a position for a list.


Constructor Summary
AddAtOperation(int index, java.lang.Object value)
          Constructor.
 
Method Summary
 void perform(Store store, StateManager sm)
          Perform the add(int, Object) operation on the specified list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddAtOperation

public AddAtOperation(int index,
                      java.lang.Object value)
Constructor.

Parameters:
index - The index to add it at
value - The value to add
Method Detail

perform

public void perform(Store store,
                    StateManager sm)
Perform the add(int, Object) operation on the specified list.

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


Copyright © 2009. All Rights Reserved.