Interface ChoiceNode
- All Superinterfaces:
DataContainer
,DataContainerChild
,DataContainerNode
,DistinctContainer<YangInstanceIdentifier.NodeIdentifier,
,DataContainerChild> DistinctNodeContainer<YangInstanceIdentifier.NodeIdentifier,
,DataContainerChild> ItemOrder<ItemOrder.Unordered>
,ItemOrder.Unordered
,MixinNode
,NormalizedContainer<DataContainerChild>
,NormalizedData
,NormalizedNode
,NormalizedNodeContainer<DataContainerChild>
,OrderingAware
,OrderingAware.System
,PrettyTreeAware
Node representing data instance of
choice
.
Choice node is instance of one of possible alternatives, from which only one is allowed to exist at one time in particular context of parent node.
YANG Model and schema for choice is described by instance of
ChoiceSchemaNode
.
Valid alternatives of subtree are described by instances of
CaseSchemaNode
, which are retrieved via
ChoiceSchemaNode.getCases()
.
-
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 TypeMethodDescriptiondefault Class<ChoiceNode>
contract()
Return the contract governing thisNormalizedData
instance.Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.DataContainer
equals, hashCode
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
body, childByArg, findChildByArg, getChildByArg
Methods inherited from interface org.opendaylight.yangtools.concepts.ItemOrder.Unordered
itemOrder
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedContainer
isEmpty, size
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.OrderingAware.System
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 interfaceNormalizedData
- Specified by:
contract
in interfaceNormalizedNode
- Returns:
- A class identifying the NormalizedData contract.
-