Interface UserMapNode
- All Superinterfaces:
DataContainerChild
,DistinctContainer<YangInstanceIdentifier.NodeIdentifierWithPredicates,
,MapEntryNode> DistinctNodeContainer<YangInstanceIdentifier.NodeIdentifierWithPredicates,
,MapEntryNode> ItemOrder<ItemOrder.Ordered>
,ItemOrder.Ordered
,MapNode
,MixinNode
,NormalizedContainer<MapEntryNode>
,NormalizedData
,NormalizedNode
,NormalizedNodeContainer<MapEntryNode>
,OrderedContainer<MapEntryNode>
,OrderedNodeContainer<MapEntryNode>
,OrderingAware
,OrderingAware.User
,PrettyTreeAware
- All Known Implementing Classes:
ImmutableUserMapNodeBuilder.ImmutableUserMapNode
MapNode
which additionally preserves user-supplied ordering. This node represents a data instance of
a list
with ordered-by user;
substatement and a key
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
Modifier and TypeMethodDescriptionasMap()
Return aMap
view of this node.default Class<UserMapNode>
contract()
Return the contract governing thisNormalizedData
instance.Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild
getIdentifier, name
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.DistinctContainer
childByArg, findChildByArg, getChildByArg
Methods inherited from interface org.opendaylight.yangtools.concepts.ItemOrder.Ordered
itemOrder
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.MapNode
body, isEmpty, size
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.OrderedContainer
childAt, equals, 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 Details
-
contract
Description copied from interface:NormalizedData
Return the contract governing thisNormalizedData
instance.- Specified by:
contract
in interfaceMapNode
- Specified by:
contract
in interfaceNormalizedData
- Specified by:
contract
in interfaceNormalizedNode
- Returns:
- A class identifying the NormalizedData contract.
-
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
OrderedContainer.childAt(int)
.
-