org.infinispan.schematic.internal.delta
Class PutOperation
java.lang.Object
org.infinispan.schematic.internal.delta.Operation
org.infinispan.schematic.internal.delta.PutOperation
@SerializeWith(value=PutOperation.Externalizer.class)
public class PutOperation
- extends Operation
An atomic put operation for SchematicValueDelta.
- Author:
- (various)
fieldName
protected final String fieldName
oldValue
protected final Object oldValue
newValue
protected final Object newValue
PutOperation
public PutOperation(Path parentPath,
String fieldName,
Object oldValue,
Object newValue)
clone
public PutOperation clone()
- Specified by:
clone
in class Operation
getNewValue
public Object getNewValue()
getOldValue
public Object getOldValue()
getFieldName
public String getFieldName()
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
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.