public static interface ContextManager.Association
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.
Modifier and Type | Method and Description |
---|---|
ContextManager.Association |
withChild(Object child)
Adds the supplied object's context node as a child of the target context
node.
|
ContextManager.Association |
withParent(Object parent)
Adds the supplied object's context node as a parent of the target context
node.
|
ContextManager.Association withChild(Object child)
child
- object whose context node will be associatedContextManager.Association withParent(Object parent)
parent
- object whose context node will be associatedCopyright © 2017. All rights reserved.