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
  • Field Details

    • targetNodeId

      protected Object targetNodeId
    • arcId

      protected Object arcId
  • Constructor Details

    • ArcDeleteOperation

      public ArcDeleteOperation​(Object nodeId, Object targetNodeId, Object arcId)
    • ArcDeleteOperation

      public ArcDeleteOperation​(Object nodeId, Object targetNodeId, Object arcId, int diffId)
  • Method Details

    • apply

      public void apply​(GraphChangeHandler tracker)
      Description copied from interface: GraphDiff
      Calls appropriate methods on the handler to "replay" this change.
      Specified by:
      apply in interface GraphDiff
      Specified by:
      apply in class NodeDiff
    • undo

      public void undo​(GraphChangeHandler tracker)
      Description copied from interface: GraphDiff
      Calls appropriate methods on the handler to revert this change.
      Specified by:
      undo in interface GraphDiff
      Specified by:
      undo in class NodeDiff
    • getArcId

      public Object getArcId()
    • getTargetNodeId

      public Object getTargetNodeId()