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
,MutationBehaviour<Immutable>
,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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MoreObjects.ToStringHelper
addToStringAttributes(MoreObjects.ToStringHelper helper)
Collection<DataContainerChild>
body()
Returns the body of this node.DataContainerChild
childByArg(YangInstanceIdentifier.PathArgument child)
Returns a child node identified by provided key.MountPointContext
getMountPointContext()
Return the underlying mount point context.static @NonNull ImmutableMountPointNode
of(@NonNull MountPointIdentifier identifier, @NonNull MountPointContext mountCtx, @NonNull ContainerNode delegate)
PrettyTree
prettyTree()
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
-
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 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
-
body
public Collection<DataContainerChild> 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
public DataContainerChild childByArg(YangInstanceIdentifier.PathArgument child)
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
public PrettyTree prettyTree()
Description copied from interface:PrettyTreeAware
Return aPrettyTree
view of this object.- Specified by:
prettyTree
in interfacePrettyTreeAware
- Returns:
- A
PrettyTree
.
-
addToStringAttributes
protected MoreObjects.ToStringHelper addToStringAttributes(MoreObjects.ToStringHelper helper)
- Overrides:
addToStringAttributes
in classAbstractIdentifiable<YangInstanceIdentifier.PathArgument,MountPointIdentifier>
-
-