Interface LeafNode<T>
-
- Type Parameters:
T
- Value type
- All Superinterfaces:
DataContainerChild<YangInstanceIdentifier.NodeIdentifier,T>
,Identifiable<YangInstanceIdentifier.NodeIdentifier>
,NormalizedNode<YangInstanceIdentifier.NodeIdentifier,T>
,ValueNode<YangInstanceIdentifier.NodeIdentifier,T>
public interface LeafNode<T> extends DataContainerChild<YangInstanceIdentifier.NodeIdentifier,T>, ValueNode<YangInstanceIdentifier.NodeIdentifier,T>
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 Modifier and Type Method Description T
getValue()
Returns value of this leaf node.-
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild
getIdentifier
-
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode
getNodeType
-
-
-
-
Method Detail
-
getValue
T getValue()
Returns value of this leaf node.- Specified by:
getValue
in interfaceNormalizedNode<YangInstanceIdentifier.NodeIdentifier,T>
- Specified by:
getValue
in interfaceValueNode<YangInstanceIdentifier.NodeIdentifier,T>
- Returns:
- Returned value of this leaf node. Value SHOULD meet criteria defined by schema.
-
-