Interface LeafNode<T>
-
- Type Parameters:
T
- Value type
- All Superinterfaces:
DataContainerChild
,Identifiable<YangInstanceIdentifier.PathArgument>
,NormalizedNode
,PrettyTreeAware
,ValueNode<T>
public interface LeafNode<T> extends ValueNode<T>, DataContainerChild
Leaf node with multiplicity 0..1.Leaf node has a value, but no child nodes in the data tree, schema for leaf node and its value is described by
LeafSchemaNode
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Class<LeafNode>
contract()
Return the contract governing thisNormalizedNode
instance.YangInstanceIdentifier.NodeIdentifier
getIdentifier()
Return this objects Identifier.-
Methods inherited from interface org.opendaylight.yangtools.concepts.PrettyTreeAware
prettyTree
-
-
-
-
Method Detail
-
contract
default Class<LeafNode> 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<T>
- Specified by:
getIdentifier
in interfaceNormalizedNode
- Returns:
- Object's identifier, must not be null.
-
-