Package org.apache.cayenne.graph
Class NodeIdChangeOperation
java.lang.Object
org.apache.cayenne.graph.NodeDiff
org.apache.cayenne.graph.NodeIdChangeOperation
- All Implemented Interfaces:
Serializable
,Comparable<NodeDiff>
,GraphDiff
A GraphDiff representing a change in node ID.
- Since:
- 1.2
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionNodeIdChangeOperation
(Object nodeId, Object newNodeId) NodeIdChangeOperation
(Object nodeId, Object newNodeId, int diffId) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(GraphChangeHandler tracker) Calls appropriate methods on the handler to "replay" this change.void
undo
(GraphChangeHandler tracker) Calls appropriate methods on the handler to revert this change.
-
Field Details
-
newNodeId
-
-
Constructor Details
-
NodeIdChangeOperation
-
NodeIdChangeOperation
-
-
Method Details