public static final class YangInstanceIdentifier.AugmentationIdentifier extends Object implements YangInstanceIdentifier.PathArgument
AugmentationNode
node in particular subtree.
Augmentation is uniquely identified by set of all possible child nodes.
This is possible
to identify instance of augmentation,
since RFC6020 states that augment
that augment
statement must not add multiple nodes from same namespace
/ module to the target node.
Constructor and Description |
---|
AugmentationIdentifier(Set<QName> childNames)
Construct new augmentation identifier using supplied set of possible
child nodes.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(YangInstanceIdentifier.PathArgument o) |
boolean |
equals(Object obj) |
QName |
getNodeType()
If applicable returns unique QName of data node as defined in YANG
Schema.
|
Set<QName> |
getPossibleChildNames()
Returns set of all possible child nodes.
|
int |
hashCode() |
String |
toRelativeString(YangInstanceIdentifier.PathArgument previous)
Return the string representation of this object for use in context
provided by a previous object.
|
String |
toString() |
public QName getNodeType()
YangInstanceIdentifier.PathArgument
This method may return null, if the corresponding schema node, does not have QName associated, such as in cases of augmentations.
getNodeType
in interface YangInstanceIdentifier.PathArgument
public Set<QName> getPossibleChildNames()
public String toRelativeString(YangInstanceIdentifier.PathArgument previous)
YangInstanceIdentifier.PathArgument
YangInstanceIdentifier.toString()
, but implementations are encourage to
reuse any context already emitted by the previous object.toRelativeString
in interface YangInstanceIdentifier.PathArgument
previous
- Previous path argumentpublic int compareTo(@Nonnull YangInstanceIdentifier.PathArgument o)
compareTo
in interface Comparable<YangInstanceIdentifier.PathArgument>
Copyright © 2019 OpenDaylight. All rights reserved.