Package org.apache.cayenne.access
Class ObjectDiff
java.lang.Object
org.apache.cayenne.graph.NodeDiff
org.apache.cayenne.access.ObjectDiff
- All Implemented Interfaces:
- Serializable,- Comparable<NodeDiff>,- GraphDiff
A dynamic GraphDiff that represents a delta between object simple properties
 at diff creation time and its current state.
- See Also:
- 
Field Summary
- 
Method SummaryModifier and TypeMethodDescriptionvoidapply(GraphChangeHandler handler) Calls appropriate methods on the handler to "replay" this change.getArcSnapshotValue(String propertyName) getCurrentArcSnapshotValue(String propertyName) getSnapshotValue(String propertyName) booleanisNoop()Checks whether at least a single property is modified.voidundo(GraphChangeHandler handler) Calls appropriate methods on the handler to revert this change.
- 
Method Details- 
getSnapshotValue
- 
getArcSnapshotValue
- 
getCurrentArcSnapshotValue- Since:
- 4.2
 
- 
isNooppublic boolean isNoop()Checks whether at least a single property is modified.
- 
undoDescription copied from interface:GraphDiffCalls appropriate methods on the handler to revert this change.
- 
applyDescription copied from interface:GraphDiffCalls appropriate methods on the handler to "replay" this change.
 
-