Package org.terracotta.context
Interface ContextManager.Dissociation
-
- Enclosing class:
- ContextManager
public static interface ContextManager.DissociationRemoves 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContextManager.DissociationfromChild(java.lang.Object child)Removes the supplied object's context from the child node set of the target context node.ContextManager.DissociationfromParent(java.lang.Object parent)Removes the supplied object's context from the parent node set of the target context node.
-
-
-
Method Detail
-
fromChild
ContextManager.Dissociation fromChild(java.lang.Object child)
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(java.lang.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
-
-