Interface ValueNode<K extends YangInstanceIdentifier.PathArgument,V>
-
- Type Parameters:
K
- Local identifier of nodeV
- Value of node
- All Superinterfaces:
Identifiable<K>
,NormalizedNode<K,V>
- All Known Subinterfaces:
LeafNode<T>
,LeafSetEntryNode<T>
public interface ValueNode<K extends YangInstanceIdentifier.PathArgument,V> extends NormalizedNode<K,V>
Interface holding the common trait ofLeafSetEntryNode
andLeafNode
, which both hold a value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description V
getValue()
Returns value of held by this node.-
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode
getIdentifier, getNodeType
-
-
-
-
Method Detail
-
getValue
V getValue()
Returns value of held by this node. Implementation note Invocation ofgetValue()
must provide the same value as value inNormalizedNode.getIdentifier()
.true == this.getIdentifier().getValue().equals(this.getValue())
.- Specified by:
getValue
in interfaceNormalizedNode<K extends YangInstanceIdentifier.PathArgument,V>
- Returns:
- Returned value of this node. Value SHOULD meet criteria defined by schema.
-
-