ModeShape Distribution 3.2.0.Final

org.infinispan.schematic.internal.delta
Class RemoveAtIndexOperation

java.lang.Object
  extended by org.infinispan.schematic.internal.delta.Operation
      extended by org.infinispan.schematic.internal.delta.ArrayOperation
          extended by org.infinispan.schematic.internal.delta.RemoveAtIndexOperation

@SerializeWith(value=RemoveAtIndexOperation.Externalizer.class)
public class RemoveAtIndexOperation
extends ArrayOperation

An atomic array add operation for SchematicValueDelta.

Since:
5.1

Nested Class Summary
static class RemoveAtIndexOperation.Externalizer
           
 
Field Summary
protected  Object actualValue
           
protected  int index
           
 
Fields inherited from class org.infinispan.schematic.internal.delta.Operation
parentPath
 
Constructor Summary
RemoveAtIndexOperation(Path path, int index)
           
 
Method Summary
 RemoveAtIndexOperation clone()
           
 boolean equals(Object obj)
           
 int getIndex()
           
 Object getRemovedValue()
           
 void replay(MutableDocument delegate)
           
 void rollback(MutableDocument delegate)
           
 String toString()
           
 
Methods inherited from class org.infinispan.schematic.internal.delta.ArrayOperation
cloneValues, mutableParent
 
Methods inherited from class org.infinispan.schematic.internal.delta.Operation
cloneValue, equalsIfNotNull, getParentPath, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

index

protected final int index

actualValue

protected transient Object actualValue
Constructor Detail

RemoveAtIndexOperation

public RemoveAtIndexOperation(Path path,
                              int index)
Method Detail

clone

public RemoveAtIndexOperation clone()
Specified by:
clone in class Operation

getIndex

public int getIndex()

getRemovedValue

public Object getRemovedValue()

rollback

public void rollback(MutableDocument delegate)
Specified by:
rollback in class Operation

replay

public void replay(MutableDocument delegate)
Specified by:
replay in class Operation

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

ModeShape Distribution 3.2.0.Final

Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.