Class YangInstanceIdentifier.NodeIdentifier
java.lang.Object
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier
- All Implemented Interfaces:
Serializable
,Comparable<YangInstanceIdentifier.PathArgument>
,Identifier
,Immutable
- Enclosing class:
YangInstanceIdentifier
public static final class YangInstanceIdentifier.NodeIdentifier
extends YangInstanceIdentifier.PathArgument
Simple path argument identifying a
ContainerNode
or
LeafNode
leaf in particular subtree.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull YangInstanceIdentifier.NodeIdentifier
Return a NodeIdentifier for a particular QName.Methods inherited from class org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument
compareTo, equals, getNodeType, hashCode, hashCodeImpl, toRelativeString, toString
-
Constructor Details
-
NodeIdentifier
-
-
Method Details
-
create
Return a NodeIdentifier for a particular QName. Unlike the constructor, this factory method uses a global instance cache, resulting in object reuse for equal inputs.- Parameters:
node
- Node's QName- Returns:
- A
YangInstanceIdentifier.NodeIdentifier
-