Package org.apache.cayenne.graph
Class ArcCreateOperation
java.lang.Object
org.apache.cayenne.graph.NodeDiff
org.apache.cayenne.graph.ArcCreateOperation
- All Implemented Interfaces:
Serializable
,Comparable<NodeDiff>
,GraphDiff
- Since:
- 1.2
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionArcCreateOperation
(Object nodeId, Object targetNodeId, ArcId arcId) ArcCreateOperation
(Object nodeId, Object targetNodeId, ArcId arcId, int diffId) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(GraphChangeHandler tracker) Calls appropriate methods on the handler to "replay" this change.getArcId()
void
undo
(GraphChangeHandler tracker) Calls appropriate methods on the handler to revert this change.
-
Field Details
-
targetNodeId
-
arcId
-
-
Constructor Details
-
ArcCreateOperation
-
ArcCreateOperation
-
-
Method Details