Interface ContextManager.Dissociation

Enclosing class:
ContextManager

public static interface ContextManager.Dissociation
Removes existing parent and child associations from the target context node.

Mutations performed to the parent and child node sets of the target node are also accompanied by the equivalent changes to the reverse relationship in the supplied object's context node. This ensures that parent/child relationships are properly consistent.

  • Method Details

    • fromChild

      Removes the supplied object's context from the child node set of the target context node.
      Parameters:
      child - object whose context node will be dissociated
      Returns:
      this dissociation object
    • fromParent

      ContextManager.Dissociation fromParent(Object parent)
      Removes the supplied object's context from the parent node set of the target context node.
      Parameters:
      parent - object whose context node will be dissociated
      Returns:
      this dissociation object