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.
|
com.google.common.base.Optional<NormalizedNode<?,?>> |
getDataAfter()
Return the after-image of data corresponding to the node.
|
com.google.common.base.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 identifier)
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 identifier)
identifier
- Identifier of child node@Nonnull ModificationType getModificationType()
@Nonnull com.google.common.base.Optional<NormalizedNode<?,?>> getDataAfter()
@Nonnull com.google.common.base.Optional<NormalizedNode<?,?>> getDataBefore()
Copyright © 2018 OpenDaylight. All rights reserved.