Class ImmutableNormalizedMetadata
- java.lang.Object
-
- org.opendaylight.yangtools.concepts.AbstractIdentifiable<YangInstanceIdentifier.PathArgument>
-
- org.opendaylight.yangtools.rfc7952.data.util.ImmutableNormalizedMetadata
-
- All Implemented Interfaces:
Identifiable<YangInstanceIdentifier.PathArgument>
,Immutable
,MutationBehaviour<Immutable>
,NormalizedMetadata
@Beta public class ImmutableNormalizedMetadata extends AbstractIdentifiable<YangInstanceIdentifier.PathArgument> implements NormalizedMetadata
Immutable implementation ofNormalizedMetadata
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImmutableNormalizedMetadata.Builder
Builder
ofImmutableNormalizedMetadata
instances.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NonNull ImmutableNormalizedMetadata.Builder
builder()
Return a newImmutableNormalizedMetadata.Builder
.ImmutableMap<QName,Object>
getAnnotations()
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 Detail
-
builder
public static final @NonNull ImmutableNormalizedMetadata.Builder builder()
Return a newImmutableNormalizedMetadata.Builder
.- Returns:
- A new Builder.
-
getAnnotations
public final ImmutableMap<QName,Object> 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.
-
-