Interface LeafSetEntryNode<T>
- Type Parameters:
T
- Value type
- All Superinterfaces:
NormalizedData
,NormalizedNode
,PrettyTreeAware
,ValueNode<T>
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
.-
Method Summary
Modifier and TypeMethodDescriptiondefault Class<LeafSetEntryNode>
contract()
Return the contract governing thisNormalizedData
instance.default YangInstanceIdentifier.NodeWithValue<T>
Deprecated, for removal: This API element is subject to removal in a future version.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.
-
getIdentifier
@Deprecated(since="11.0.0", forRemoval=true) default YangInstanceIdentifier.NodeWithValue<T> getIdentifier()Deprecated, for removal: This API element is subject to removal in a future version.Return the name of this node.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:
getIdentifier
in interfaceNormalizedNode
- Returns:
- Name of this node.
-