Interface LeafSetEntryNode<T>
- Type Parameters:
T
- Value type
- All Superinterfaces:
NormalizedData
,NormalizedNode
,PrettyTreeAware
,ValueNode<T>
- All Known Implementing Classes:
AbstractLeafSetEntryNode
,ImmutableLeafSetEntryNode
Leaf node with multiplicity 0...n. Leaf node has a value, but no child nodes in the data tree, schema for leaf node
and its value is described by
LeafListSchemaNode
.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode
NormalizedNode.BuilderFactory
-
Method Summary
Modifier and TypeMethodDescriptiondefault Class
<LeafSetEntryNode> contract()
Return the contract governing thisNormalizedData
instance.name()
Return the name of this data.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.
-
name
Return the name of this data.Implementation note Invocation of
YangInstanceIdentifier.NodeWithValue.getValue()
on returned instance ofYangInstanceIdentifier.NodeWithValue
must return the same value as invocation of#body()
, such as following condition is always met:true == this.getIdentifier().getValue().equals(this.body())
.- Specified by:
name
in interfaceNormalizedData
- Specified by:
name
in interfaceNormalizedNode
- Returns:
- Name of this data.
-