@Beta public interface NormalizedMetadata extends Identifiable<YangInstanceIdentifier.PathArgument>, Immutable
NormalizedNode
. This interface is meant to be used as a companion to
a NormalizedNode instance, hence it does not support iterating over its structure like it is possible with
NormalizedNode.getValue()
. Children may be inquired through getChildren()
.
This model of metadata does not have the RFC7952 restriction on metadata attachment to list
s and
leaf-list
s because NormalizedNode data model has LeafSetNode
, MapNode
and
UnkeyedListNode
to which metadata can be attached.
Modifier and Type | Method and Description |
---|---|
@NonNull Map<QName,Object> |
getAnnotations()
Return the set of annotations defined in this metadata node.
|
default @NonNull Map<YangInstanceIdentifier.PathArgument,NormalizedMetadata> |
getChildren()
Returns child nodes.
|
getIdentifier
@NonNull Map<QName,Object> getAnnotations()
String
s, Number
s and similar. The map must also be effectively-immutable.default @NonNull Map<YangInstanceIdentifier.PathArgument,NormalizedMetadata> getChildren()
Copyright © 2020 OpenDaylight. All rights reserved.