Class SchemaNodeIdentifier
- java.lang.Object
-
- org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier
-
- All Implemented Interfaces:
Immutable
,MutationBehaviour<Immutable>
- Direct Known Subclasses:
SchemaNodeIdentifier.Absolute
,SchemaNodeIdentifier.Descendant
public abstract class SchemaNodeIdentifier extends Object implements Immutable
Represents unique path to every schema node inside the schema node identifier namespace. This concept is defined in RFC7950.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SchemaNodeIdentifier.Absolute
An absolute schema node identifier.static class
SchemaNodeIdentifier.Descendant
A descendant schema node identifier.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description @NonNull SchemaPath
asSchemaPath()
Create theSchemaPath
equivalent of this identifier.boolean
equals(Object obj)
abstract @NonNull List<QName>
getNodeIdentifiers()
Return the non-empty sequence of node identifiers which constitute this schema node identifier.int
hashCode()
String
toString()
-
-
-
Method Detail
-
getNodeIdentifiers
public abstract @NonNull List<QName> getNodeIdentifiers()
Return the non-empty sequence of node identifiers which constitute this schema node identifier.- Returns:
- Non-empty sequence of node identifiers
-
asSchemaPath
public final @NonNull SchemaPath asSchemaPath()
Create theSchemaPath
equivalent of this identifier.- Returns:
- SchemaPath equivalent.
-
-