@Beta @NonNullByDefault public final class MountPointIdentifier extends AbstractIdentifier<QName> implements YangInstanceIdentifier.PathArgument, WritableObject
Modifier and Type | Method and Description |
---|---|
int |
compareTo(@Nullable YangInstanceIdentifier.PathArgument o) |
static MountPointIdentifier |
create(QName qname) |
QName |
getLabel() |
QName |
getNodeType()
If applicable returns unique QName of data node as defined in YANG
Schema.
|
static MountPointIdentifier |
of(QName qname) |
static MountPointIdentifier |
readFrom(DataInput in) |
String |
toRelativeString(@Nullable YangInstanceIdentifier.PathArgument previous)
Return the string representation of this object for use in context
provided by a previous object.
|
void |
writeTo(DataOutput out)
Serialize this object into a
DataOutput as a fixed-format stream. |
equals, getValue, hashCode, toString
public static MountPointIdentifier of(QName qname)
public static MountPointIdentifier create(QName qname)
public static MountPointIdentifier readFrom(DataInput in) throws IOException
IOException
public QName getLabel()
public void writeTo(DataOutput out) throws IOException
WritableObject
DataOutput
as a fixed-format stream.writeTo
in interface WritableObject
out
- Data outputIOException
- if an I/O error occurspublic int compareTo(@Nullable YangInstanceIdentifier.PathArgument o)
compareTo
in interface Comparable<YangInstanceIdentifier.PathArgument>
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 String toRelativeString(@Nullable 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 argumentCopyright © 2020 OpenDaylight. All rights reserved.