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
public class ArcCreateOperation extends NodeDiff
- Since:
- 1.2
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected ObjectarcIdprotected ObjecttargetNodeId -
Constructor Summary
Constructors Constructor Description ArcCreateOperation(Object nodeId, Object targetNodeId, Object arcId)ArcCreateOperation(Object nodeId, Object targetNodeId, Object arcId, int diffId) -
Method Summary
Modifier and Type Method Description voidapply(GraphChangeHandler tracker)Calls appropriate methods on the handler to "replay" this change.ObjectgetArcId()ObjectgetTargetNodeId()voidundo(GraphChangeHandler tracker)Calls appropriate methods on the handler to revert this change.
-
Field Details
-
targetNodeId
-
arcId
-
-
Constructor Details
-
ArcCreateOperation
-
ArcCreateOperation
-
-
Method Details