- java.lang.Object
-
- org.datanucleus.flush.UpdateMemberOperation
-
-
Constructor Summary
Constructors Constructor Description UpdateMemberOperation(DNStateManager sm, int fieldNum, Object newVal, Object oldVal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractMemberMetaData
getMemberMetaData()
Accessor for the metadata for the member that this operation is for.Object
getNewValue()
Object
getOldValue()
DNStateManager
getStateManager()
Accessor for StateManager of the object that this operation is performed on.void
perform()
Method to perform the operation.String
toString()
-
-
-
Constructor Detail
-
UpdateMemberOperation
public UpdateMemberOperation(DNStateManager sm, int fieldNum, Object newVal, Object oldVal)
-
-
Method Detail
-
getNewValue
public Object getNewValue()
-
getOldValue
public Object getOldValue()
-
getMemberMetaData
public AbstractMemberMetaData getMemberMetaData()
Accessor for the metadata for the member that this operation is for.- Returns:
- The member metadata
-
getStateManager
public DNStateManager getStateManager()
Description copied from interface:Operation
Accessor for StateManager of the object that this operation is performed on.- Specified by:
getStateManager
in interfaceOperation
- Returns:
- StateManager
-
perform
public void perform()
Description copied from interface:Operation
Method to perform the operation.
-
-