public class PutOperation extends Operation
| Modifier and Type | Field and Description |
|---|---|
protected String |
fieldName |
protected Object |
newValue |
protected Object |
oldValue |
parentPath| Constructor and Description |
|---|
PutOperation(Path parentPath,
String fieldName,
Object oldValue,
Object newValue) |
| Modifier and Type | Method and Description |
|---|---|
PutOperation |
clone() |
boolean |
equals(Object obj) |
String |
getFieldName() |
Object |
getNewValue() |
Object |
getOldValue() |
int |
hashCode() |
void |
replay(MutableDocument delegate) |
void |
rollback(MutableDocument delegate) |
String |
toString() |
cloneValue, equalsIfNotNull, getParentPath, mutableParentpublic PutOperation(Path parentPath, String fieldName, Object oldValue, Object newValue)
public PutOperation clone()
public Object getNewValue()
public Object getOldValue()
public String getFieldName()
public void rollback(MutableDocument delegate)
public void replay(MutableDocument delegate)
Copyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.