Class ArcDeleteOperation
java.lang.Object
org.apache.cayenne.graph.NodeDiff
org.apache.cayenne.graph.ArcDeleteOperation
- All Implemented Interfaces:
Serializable, Comparable<NodeDiff>, GraphDiff
- Since:
- 1.2
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionArcDeleteOperation(Object nodeId, Object targetNodeId, ArcId arcId) ArcDeleteOperation(Object nodeId, Object targetNodeId, ArcId arcId, int diffId) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(GraphChangeHandler tracker) Calls appropriate methods on the handler to "replay" this change.getArcId()voidundo(GraphChangeHandler tracker) Calls appropriate methods on the handler to revert this change.Methods inherited from class NodeDiff
compareTo, getDiffId, getNodeId, isNoop, setDiffIdModifier and TypeMethodDescriptionintImplements a Comparable interface method to compare based on diffId property.intReturns an id of this diff that can be used for various purposes, such as identifying the order of the diff in a sequence.booleanisNoop()Returns true if this diff is simply a placeholder and does not perform any actual operation.voidsetDiffId(int diffId) Sets an id of this diff that can be used for various purposes, such as identifying the order of the diff in a sequence.
-
Field Details
-
targetNodeId
-
arcId
-
-
Constructor Details
-
ArcDeleteOperation
-
ArcDeleteOperation
-
-
Method Details
-
apply
-
undo
-
getArcId
-
getTargetNodeId
-