Class ImmutableMountPointNode
- java.lang.Object
-
- org.opendaylight.yangtools.concepts.AbstractIdentifiable<MountPointIdentifier>
-
- org.opendaylight.yangtools.rcf8528.data.util.ImmutableMountPointNode
-
- All Implemented Interfaces:
Identifiable<MountPointIdentifier>
,Immutable
,MutationBehaviour<Immutable>
,MountPointNode
,DataContainerChild<MountPointIdentifier,Collection<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>>>
,DataContainerNode<MountPointIdentifier>
,MixinNode
,NormalizedNode<MountPointIdentifier,Collection<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>>>
,NormalizedNodeContainer<MountPointIdentifier,YangInstanceIdentifier.PathArgument,DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>>
@Beta public final class ImmutableMountPointNode extends AbstractIdentifiable<MountPointIdentifier> implements MountPointNode, Immutable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MoreObjects.ToStringHelper
addToStringAttributes(MoreObjects.ToStringHelper helper)
Optional<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>>
getChild(YangInstanceIdentifier.PathArgument child)
Returns child node identified by provided key.MountPointContext
getMountPointContext()
Return the underlying mount point context.Collection<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>>
getValue()
Returns iteration of all child nodes.static @NonNull ImmutableMountPointNode
of(@NonNull MountPointIdentifier identifier, @NonNull MountPointContext mountCtx, @NonNull ContainerNode delegate)
-
Methods inherited from class org.opendaylight.yangtools.concepts.AbstractIdentifiable
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.yang.data.api.schema.DataContainerChild
getIdentifier
-
Methods inherited from interface org.opendaylight.yangtools.rfc8528.data.api.MountPointNode
getNodeType
-
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNodeContainer
getIdentifier, size
-
-
-
-
Method Detail
-
of
public static @NonNull ImmutableMountPointNode of(@NonNull MountPointIdentifier identifier, @NonNull MountPointContext mountCtx, @NonNull ContainerNode delegate)
-
getMountPointContext
public MountPointContext getMountPointContext()
Description copied from interface:MountPointNode
Return the underlying mount point context.- Specified by:
getMountPointContext
in interfaceMountPointNode
- Returns:
- Underlying mount point context
-
getValue
public Collection<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> getValue()
Description copied from interface:DataContainerNode
Returns iteration of all child nodes. Order of returned child nodes may be defined by subinterfaces.Implementation Notes: All nodes returned in this iterable, MUST also be accessible via
NormalizedNodeContainer.getChild(PathArgument)
using their associated identifier.- Specified by:
getValue
in interfaceDataContainerNode<MountPointIdentifier>
- Specified by:
getValue
in interfaceNormalizedNode<MountPointIdentifier,Collection<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>>>
- Specified by:
getValue
in interfaceNormalizedNodeContainer<MountPointIdentifier,YangInstanceIdentifier.PathArgument,DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>>
- Returns:
- Iteration of all child nodes
-
getChild
public Optional<DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> getChild(YangInstanceIdentifier.PathArgument child)
Description copied from interface:NormalizedNodeContainer
Returns child node identified by provided key.- Specified by:
getChild
in interfaceNormalizedNodeContainer<MountPointIdentifier,YangInstanceIdentifier.PathArgument,DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>>
- Parameters:
child
- Path argument identifying child node- Returns:
- Optional with child node if child exists.
Optional.empty()
if child does not exist.
-
addToStringAttributes
protected MoreObjects.ToStringHelper addToStringAttributes(MoreObjects.ToStringHelper helper)
- Overrides:
addToStringAttributes
in classAbstractIdentifiable<MountPointIdentifier>
-
-