|
ModeShape Distribution 3.0.0.Alpha4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.schematic.internal.delta.Operation
org.infinispan.schematic.internal.delta.PutOperation
public class PutOperation
An atomic put operation for SchematicValueDelta.
Nested Class Summary | |
---|---|
static class |
PutOperation.Externalizer
|
Field Summary | |
---|---|
protected String |
fieldName
|
protected Object |
newValue
|
protected Object |
oldValue
|
Fields inherited from class org.infinispan.schematic.internal.delta.Operation |
---|
parentPath |
Constructor Summary | |
---|---|
PutOperation(Path parentPath,
String fieldName,
Object oldValue,
Object newValue)
|
Method Summary | |
---|---|
String |
getFieldName()
|
Object |
getNewValue()
|
Object |
getOldValue()
|
void |
replay(MutableDocument delegate)
|
void |
rollback(MutableDocument delegate)
|
String |
toString()
|
Methods inherited from class org.infinispan.schematic.internal.delta.Operation |
---|
getParentPath, mutableParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final String fieldName
protected final Object oldValue
protected final Object newValue
Constructor Detail |
---|
public PutOperation(Path parentPath, String fieldName, Object oldValue, Object newValue)
Method Detail |
---|
public Object getNewValue()
public Object getOldValue()
public String getFieldName()
public void rollback(MutableDocument delegate)
rollback
in class Operation
public void replay(MutableDocument delegate)
replay
in class Operation
public String toString()
toString
in class Object
|
ModeShape Distribution 3.0.0.Alpha4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |