Interface ChoiceNode
-
- All Superinterfaces:
DataContainerChild
,DataContainerNode
,DistinctNodeContainer<YangInstanceIdentifier.PathArgument,DataContainerChild>
,Identifiable<YangInstanceIdentifier.PathArgument>
,ItemOrder<ItemOrder.Unordered>
,ItemOrder.Unordered
,MixinNode
,NormalizedNode
,NormalizedNodeContainer<DataContainerChild>
,OrderingAware
,OrderingAware.System
,PrettyTreeAware
public interface ChoiceNode extends MixinNode, DataContainerNode, DataContainerChild
Node representing data instance ofchoice
.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 viaChoiceSchemaNode.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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Class<ChoiceNode>
contract()
Return the contract governing thisNormalizedNode
instance.YangInstanceIdentifier.NodeIdentifier
getIdentifier()
Return this objects Identifier.-
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
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.NormalizedNodeContainer
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 Detail
-
contract
default Class<ChoiceNode> contract()
Description copied from interface:NormalizedNode
Return the contract governing thisNormalizedNode
instance.- Specified by:
contract
in interfaceNormalizedNode
- Returns:
- A class identifying the NormalizedNode contract.
-
getIdentifier
YangInstanceIdentifier.NodeIdentifier getIdentifier()
Description copied from interface:Identifiable
Return this objects Identifier.- Specified by:
getIdentifier
in interfaceIdentifiable<YangInstanceIdentifier.PathArgument>
- Specified by:
getIdentifier
in interfaceNormalizedNode
- Returns:
- Object's identifier, must not be null.
-
-