Class ImmutableNormalizedMetadata
java.lang.Object
org.opendaylight.yangtools.concepts.AbstractIdentifiable<T,T>
org.opendaylight.yangtools.concepts.AbstractSimpleIdentifiable<YangInstanceIdentifier.PathArgument>
org.opendaylight.yangtools.rfc7952.data.util.ImmutableNormalizedMetadata
- All Implemented Interfaces:
Identifiable<YangInstanceIdentifier.PathArgument>
,Immutable
,NormalizedMetadata
@Beta
public class ImmutableNormalizedMetadata
extends AbstractSimpleIdentifiable<YangInstanceIdentifier.PathArgument>
implements NormalizedMetadata
Immutable implementation of
NormalizedMetadata
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A Builder ofImmutableNormalizedMetadata
instances. -
Method Summary
Modifier and TypeMethodDescriptionstatic final @NonNull ImmutableNormalizedMetadata.Builder
builder()
Return a newImmutableNormalizedMetadata.Builder
.final ImmutableMap<QName,
Object> Return the set of annotations defined in this metadata node.Methods inherited from class org.opendaylight.yangtools.concepts.AbstractIdentifiable
addToStringAttributes, getIdentifier, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opendaylight.yangtools.concepts.Identifiable
getIdentifier
Methods inherited from interface org.opendaylight.yangtools.rfc7952.data.api.NormalizedMetadata
getChildren
-
Method Details
-
builder
Return a newImmutableNormalizedMetadata.Builder
.- Returns:
- A new Builder.
-
getAnnotations
Description copied from interface:NormalizedMetadata
Return the set of annotations defined in this metadata node. Values are expected to be effectively-immutable scalar types, likeString
s,Number
s and similar. The map must also be effectively-immutable.- Specified by:
getAnnotations
in interfaceNormalizedMetadata
- Returns:
- The set of annotations attached to the corresponding data node.
-