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
public class NodeIdChangeOperation extends NodeDiff
A GraphDiff representing a change in node ID.- Since:
- 1.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeIdChangeOperation(Object nodeId, Object newNodeId)NodeIdChangeOperation(Object nodeId, Object newNodeId, int diffId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(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 Detail
-
newNodeId
protected Object newNodeId
-
-
Method Detail
-
apply
public void apply(GraphChangeHandler tracker)
Description copied from interface:GraphDiffCalls appropriate methods on the handler to "replay" this change.
-
-