Class NodeIdChangeOperation
java.lang.Object
org.apache.cayenne.graph.NodeDiff
org.apache.cayenne.graph.NodeIdChangeOperation
- All Implemented Interfaces:
Comparable<NodeDiff>, GraphDiff
A GraphDiff representing a change in node ID.
- Since:
- 1.2
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNodeIdChangeOperation(ObjectId id, ObjectId newId) NodeIdChangeOperation(ObjectId id, ObjectId newId, int diffId) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(GraphChangeHandler tracker) Calls appropriate methods on the handler to "replay" this change.voidundo(GraphChangeHandler tracker) Calls appropriate methods on the handler to revert this change.
-
Field Details
-
newId
-
-
Constructor Details
-
NodeIdChangeOperation
-
NodeIdChangeOperation
-
-
Method Details
-
apply
-
undo
-