Package org.apache.cayenne.graph
Class NodePropertyChangeOperation
java.lang.Object
org.apache.cayenne.graph.NodeDiff
org.apache.cayenne.graph.NodePropertyChangeOperation
- All Implemented Interfaces:
- Serializable,- Comparable<NodeDiff>,- GraphDiff
- Since:
- 1.2
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionNodePropertyChangeOperation(Object nodeId, String property, Object oldValue, Object newValue) NodePropertyChangeOperation(Object nodeId, String property, Object oldValue, Object newValue, int diffId) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidapply(GraphChangeHandler tracker) Calls appropriate methods on the handler to "replay" this change.booleanisNoop()Returns true if both old and new value are equal.voidundo(GraphChangeHandler tracker) Calls appropriate methods on the handler to revert this change.
- 
Field Details- 
property
- 
oldValue
- 
newValue
 
- 
- 
Constructor Details- 
NodePropertyChangeOperation
- 
NodePropertyChangeOperation
 
- 
- 
Method Details- 
getProperty- Since:
- 3.0
 
- 
isNooppublic boolean isNoop()Returns true if both old and new value are equal.
- 
applyDescription copied from interface:GraphDiffCalls appropriate methods on the handler to "replay" this change.
- 
undoDescription copied from interface:GraphDiffCalls appropriate methods on the handler to revert this change.
 
-