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, ArcId arcId)
ArcDeleteOperation(Object nodeId, Object targetNodeId, ArcId arcId, int diffId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(GraphChangeHandler tracker)
Calls appropriate methods on the handler to "replay" this change.Object
getArcId()
Object
getTargetNodeId()
void
undo(GraphChangeHandler tracker)
Calls appropriate methods on the handler to revert this change.
-
-
-
Method Detail
-
apply
public void apply(GraphChangeHandler tracker)
Description copied from interface:GraphDiff
Calls appropriate methods on the handler to "replay" this change.
-
undo
public void undo(GraphChangeHandler tracker)
Description copied from interface:GraphDiff
Calls appropriate methods on the handler to revert this change.
-
getArcId
public Object getArcId()
-
getTargetNodeId
public Object getTargetNodeId()
-
-