Interface LeafSetEntryNode<T>
-
- Type Parameters:
T
- Value type
- All Superinterfaces:
Identifiable<YangInstanceIdentifier.PathArgument>
,NormalizedNode
,PrettyTreeAware
,ValueNode<T>
public interface LeafSetEntryNode<T> extends 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 byLeafListSchemaNode
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Class<LeafSetEntryNode>
contract()
Return the contract governing thisNormalizedNode
instance.YangInstanceIdentifier.NodeWithValue<T>
getIdentifier()
Return this objects Identifier.-
Methods inherited from interface org.opendaylight.yangtools.concepts.PrettyTreeAware
prettyTree
-
-
-
-
Method Detail
-
contract
default Class<LeafSetEntryNode> 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.NodeWithValue<T> getIdentifier()
Return this objects Identifier.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 interfaceIdentifiable<T>
- Specified by:
getIdentifier
in interfaceNormalizedNode
- Returns:
- Object's identifier, must not be null.
-
-