Class ImmutableMountPointNode
java.lang.Object
org.opendaylight.yangtools.concepts.AbstractIdentifiable<YangInstanceIdentifier.PathArgument,MountPointIdentifier>
org.opendaylight.yangtools.rfc8528.data.util.ImmutableMountPointNode
- All Implemented Interfaces:
Identifiable<YangInstanceIdentifier.PathArgument>
,Immutable
,ItemOrder<ItemOrder.Unordered>
,ItemOrder.Unordered
,PrettyTreeAware
,MountPointNode
,DataContainerChild
,DataContainerNode
,DistinctNodeContainer<YangInstanceIdentifier.PathArgument,
,DataContainerChild> MixinNode
,NormalizedNode
,NormalizedNodeContainer<DataContainerChild>
,OrderingAware
,OrderingAware.System
@Beta
public final class ImmutableMountPointNode
extends AbstractIdentifiable<YangInstanceIdentifier.PathArgument,MountPointIdentifier>
implements MountPointNode, Immutable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.concepts.ItemOrder
ItemOrder.Ordered, ItemOrder.Unordered
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.data.api.schema.OrderingAware
OrderingAware.System, OrderingAware.User
-
Method Summary
Modifier and TypeMethodDescriptionprotected MoreObjects.ToStringHelper
body()
Returns the body of this node.Returns a child node identified by provided key.Return the underlying mount point context.static @NonNull ImmutableMountPointNode
of
(@NonNull MountPointIdentifier identifier, @NonNull MountPointContext mountCtx, @NonNull ContainerNode delegate) Return aPrettyTree
view of this object.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.DataContainerNode
equals, hashCode
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.DistinctNodeContainer
findChildByArg, getChildByArg
Methods inherited from interface org.opendaylight.yangtools.concepts.ItemOrder.Unordered
itemOrder
Methods inherited from interface org.opendaylight.yangtools.rfc8528.data.api.MountPointNode
contract, getIdentifier
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNodeContainer
isEmpty, size
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.OrderingAware.System
ordering
-
Method Details
-
of
public static @NonNull ImmutableMountPointNode of(@NonNull MountPointIdentifier identifier, @NonNull MountPointContext mountCtx, @NonNull ContainerNode delegate) -
getMountPointContext
Description copied from interface:MountPointNode
Return the underlying mount point context.- Specified by:
getMountPointContext
in interfaceMountPointNode
- Returns:
- Underlying mount point context
-
body
Description copied from interface:DistinctNodeContainer
Returns the body of this node. While the return value specifiesObject
, this method's return value has further semantics. The returned object must be a well-published contract, such asString
,Collection<NormalizedNode>
orDOMSource
.Returns iteration of all child nodes. Order of returned child nodes may be defined by subinterfaces.
All nodes returned in this iterable, MUST also be accessible via
DistinctNodeContainer.childByArg(PathArgument)
using their associated identifier.- Specified by:
body
in interfaceDistinctNodeContainer<YangInstanceIdentifier.PathArgument,
DataContainerChild> - Specified by:
body
in interfaceNormalizedNode
- Specified by:
body
in interfaceNormalizedNodeContainer<DataContainerChild>
- Returns:
- Iteration of all child nodes
-
childByArg
Description copied from interface:DistinctNodeContainer
Returns a child node identified by provided key.- Specified by:
childByArg
in interfaceDistinctNodeContainer<YangInstanceIdentifier.PathArgument,
DataContainerChild> - Parameters:
child
- Path argument identifying child node- Returns:
- Matching child node, or null if no matching child exists
-
prettyTree
Description copied from interface:PrettyTreeAware
Return aPrettyTree
view of this object.- Specified by:
prettyTree
in interfacePrettyTreeAware
- Returns:
- A
PrettyTree
.
-
addToStringAttributes
- Overrides:
addToStringAttributes
in classAbstractIdentifiable<YangInstanceIdentifier.PathArgument,
MountPointIdentifier>
-