public interface MutableTreeNode extends StoreTreeNode<TreeNode>
seal()
-ed,
any interactions with it will result in undefined behavior.Modifier and Type | Method and Description |
---|---|
void |
addChild(TreeNode child)
Add a new child node.
|
void |
removeChild(YangInstanceIdentifier.PathArgument id)
Remove a child node.
|
TreeNode |
seal()
Finish node modification and return a read-only view of this node.
|
void |
setData(NormalizedNode<?,?> data)
Set the data component of the node.
|
void |
setSubtreeVersion(Version subtreeVersion)
Set the new subtree version.
|
getChild
void setData(NormalizedNode<?,?> data)
data
- New data component, may not be null.void setSubtreeVersion(Version subtreeVersion)
subtreeVersion
- New subtree version.void addChild(TreeNode child)
child
- New child node.void removeChild(YangInstanceIdentifier.PathArgument id)
id
- Child identificator.TreeNode seal()
Copyright © 2018 OpenDaylight. All rights reserved.