Package org.apache.cayenne.graph
Class ArcDeleteOperation
- java.lang.Object
-
- org.apache.cayenne.graph.NodeDiff
-
- org.apache.cayenne.graph.ArcDeleteOperation
-
- All Implemented Interfaces:
Serializable,Comparable<NodeDiff>,GraphDiff
public class ArcDeleteOperation extends NodeDiff
- Since:
- 1.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ArcDeleteOperation(Object nodeId, Object targetNodeId, Object arcId)ArcDeleteOperation(Object nodeId, Object targetNodeId, Object arcId, 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.ObjectgetArcId()ObjectgetTargetNodeId()voidundo(GraphChangeHandler tracker)Calls appropriate methods on the handler to revert this change.
-
-
-
Method Detail
-
apply
public void apply(GraphChangeHandler tracker)
Description copied from interface:GraphDiffCalls appropriate methods on the handler to "replay" this change.
-
undo
public void undo(GraphChangeHandler tracker)
Description copied from interface:GraphDiffCalls appropriate methods on the handler to revert this change.
-
getArcId
public Object getArcId()
-
getTargetNodeId
public Object getTargetNodeId()
-
-