Class SchemaNodeIdentifier.Relative
- java.lang.Object
-
- org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier
-
- org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier.Relative
-
- All Implemented Interfaces:
Immutable
,MutationBehaviour<Immutable>
- Enclosing class:
- SchemaNodeIdentifier
public static final class SchemaNodeIdentifier.Relative extends SchemaNodeIdentifier
A relative schema node identifier.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier
SchemaNodeIdentifier.Absolute, SchemaNodeIdentifier.Relative
-
-
Field Summary
-
Fields inherited from class org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier
ROOT, SAME
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemaNodeIdentifier.Relative
createChild(QName element)
Create a child path based on concatenation of this path and an additional path element.boolean
isAbsolute()
Describes whether schema node identifier is|isn't absolute.-
Methods inherited from class org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier
addToStringAttributes, asSchemaPath, create, create, createChild, createChild, createChild, equals, getLastComponent, getParent, getPathFromRoot, getPathTowardsRoot, hashCode, toString
-
-
-
-
Method Detail
-
isAbsolute
public boolean isAbsolute()
Description copied from class:SchemaNodeIdentifier
Describes whether schema node identifier is|isn't absolute.- Specified by:
isAbsolute
in classSchemaNodeIdentifier
- Returns:
- boolean value which is
true
if schema path is absolute.
-
createChild
public SchemaNodeIdentifier.Relative createChild(QName element)
Description copied from class:SchemaNodeIdentifier
Create a child path based on concatenation of this path and an additional path element.- Specified by:
createChild
in classSchemaNodeIdentifier
- Parameters:
element
- Next SchemaPath element- Returns:
- A new child path
-
-