@SerializeWith(value=AddValueOperation.Externalizer.class) public class AddValueOperation extends ArrayOperation
Modifier and Type | Class and Description |
---|---|
static class |
AddValueOperation.Externalizer |
Modifier and Type | Field and Description |
---|---|
protected int |
actualIndex |
protected static int |
APPEND_INDEX |
protected int |
index |
protected Object |
value |
parentPath
Constructor and Description |
---|
AddValueOperation(Path path,
Object value) |
AddValueOperation(Path path,
Object value,
int index) |
Modifier and Type | Method and Description |
---|---|
AddValueOperation |
clone() |
boolean |
equals(Object obj) |
int |
getActualIndex() |
int |
getIndex() |
Object |
getValue() |
void |
replay(MutableDocument delegate) |
void |
rollback(MutableDocument delegate) |
String |
toString() |
cloneValues, mutableParent
cloneValue, equalsIfNotNull, getParentPath, hashCode
protected static final int APPEND_INDEX
protected final Object value
protected final int index
protected transient int actualIndex
public AddValueOperation clone()
public Object getValue()
public int getIndex()
public int getActualIndex()
public void rollback(MutableDocument delegate)
public void replay(MutableDocument delegate)
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.