org.datanucleus.store.types.queued
Class AddAtOperation

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

public class AddAtOperation
extends Object
implements QueuedOperation

Add operation at a position for a list.


Constructor Summary
AddAtOperation(ObjectProvider op, ListStore store, int index, Object value)
           
 
Method Summary
 ObjectProvider getObjectProvider()
          The object provider that this operation is performed on.
 Store getStore()
          The backing store that this queued operation relates to.
 void perform()
          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(ObjectProvider op,
                      ListStore store,
                      int index,
                      Object value)
Method Detail

perform

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

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.