Interface UserMapNode
-
- All Superinterfaces:
DataContainerChild
,DistinctNodeContainer<YangInstanceIdentifier.NodeIdentifierWithPredicates,MapEntryNode>
,Identifiable<YangInstanceIdentifier.PathArgument>
,ItemOrder<ItemOrder.Ordered>
,ItemOrder.Ordered
,MapNode
,MixinNode
,NormalizedNode
,NormalizedNodeContainer<MapEntryNode>
,OrderedNodeContainer<MapEntryNode>
,OrderingAware
,OrderingAware.User
,PrettyTreeAware
- All Known Implementing Classes:
ImmutableUserMapNodeBuilder.ImmutableUserMapNode
public interface UserMapNode extends MapNode, OrderedNodeContainer<MapEntryNode>
MapNode
which additionally preserves user-supplied ordering. This node represents a data instance of alist
withordered-by user;
substatement and akey
definition.
-
-
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 Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Map<YangInstanceIdentifier.NodeIdentifierWithPredicates,MapEntryNode>
asMap()
Return aMap
view of this node.default Class<UserMapNode>
contract()
Return the contract governing thisNormalizedNode
instance.-
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.DistinctNodeContainer
childByArg, findChildByArg
-
Methods inherited from interface org.opendaylight.yangtools.concepts.ItemOrder.Ordered
itemOrder
-
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.MapNode
body, getIdentifier, isEmpty, size
-
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.OrderedNodeContainer
childAt, equals, getIdentifier, hashCode
-
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.OrderingAware.User
ordering
-
Methods inherited from interface org.opendaylight.yangtools.concepts.PrettyTreeAware
prettyTree
-
-
-
-
Method Detail
-
contract
default Class<UserMapNode> contract()
Description copied from interface:NormalizedNode
Return the contract governing thisNormalizedNode
instance.- Specified by:
contract
in interfaceMapNode
- Specified by:
contract
in interfaceNormalizedNode
- Returns:
- A class identifying the NormalizedNode contract.
-
asMap
Map<YangInstanceIdentifier.NodeIdentifierWithPredicates,MapEntryNode> asMap()
Return aMap
view of this node. Note that the iteration order of the returned is map is not defined in this interface.The implementation is required to define a user-visible iteration order, which must match
OrderedNodeContainer.childAt(int)
.
-
-