I
- Node Identifier typeK
- Child Node Identifier typeV
- Child Node typepublic interface NormalizedNodeContainer<I extends YangInstanceIdentifier.PathArgument,K extends YangInstanceIdentifier.PathArgument,V extends NormalizedNode<? extends K,?>> extends NormalizedNode<I,Collection<V>>
NormalizedNode
s as its valzue.
NormalizedNodeContainer does not have a value, but it has a child nodes. Definition of possible and valid child nodes is introduced in subclasses of this interface.
This interface should not be used directly, but rather use of of derived subinterfaces
such as DataContainerNode
, MapNode
, LeafSetNode
.
Modifier and Type | Method and Description |
---|---|
Optional<V> |
getChild(K child)
Returns child node identified by provided key.
|
I |
getIdentifier()
Locally unique identifier of the node.
|
Collection<V> |
getValue()
Returns immutable iteration of child nodes of this node.
|
getNodeType
I getIdentifier()
NormalizedNode
getIdentifier
in interface Identifiable<I extends YangInstanceIdentifier.PathArgument>
getIdentifier
in interface NormalizedNode<I extends YangInstanceIdentifier.PathArgument,Collection<V extends NormalizedNode<? extends K,?>>>
Collection<V> getValue()
getValue
in interface NormalizedNode<I extends YangInstanceIdentifier.PathArgument,Collection<V extends NormalizedNode<? extends K,?>>>
Optional<V> getChild(K child)
child
- Path argument identifying child nodeOptional.empty()
if child does not exists.Copyright © 2019 OpenDaylight. All rights reserved.