public interface DataTreeCandidateNode
DataTreeCandidate
. The nodes are organized in tree hierarchy, reflecting
the modification from which this candidate was created. The node itself exposes the before- and after-image
of the tree restricted to the modified nodes.Modifier and Type | Method and Description |
---|---|
Collection<DataTreeCandidateNode> |
getChildNodes()
Get an unmodifiable collection of modified child nodes.
|
Optional<NormalizedNode<?,?>> |
getDataAfter()
Return the after-image of data corresponding to the node.
|
Optional<NormalizedNode<?,?>> |
getDataBefore()
Return the before-image of data corresponding to the node.
|
YangInstanceIdentifier.PathArgument |
getIdentifier()
Get the node identifier.
|
ModificationType |
getModificationType()
Return the type of modification this node is undergoing.
|
DataTreeCandidateNode |
getModifiedChild(YangInstanceIdentifier.PathArgument childIdentifier)
Returns modified child or null if child was not modified
/ does not exists.
|
@Nonnull YangInstanceIdentifier.PathArgument getIdentifier()
@Nonnull Collection<DataTreeCandidateNode> getChildNodes()
@Nullable DataTreeCandidateNode getModifiedChild(YangInstanceIdentifier.PathArgument childIdentifier)
childIdentifier
- Identifier of child node@Nonnull ModificationType getModificationType()
@Nonnull Optional<NormalizedNode<?,?>> getDataAfter()
@Nonnull Optional<NormalizedNode<?,?>> getDataBefore()
Copyright © 2019 OpenDaylight. All rights reserved.