Class MountPointIdentifier
java.lang.Object
org.opendaylight.yangtools.util.AbstractIdentifier<QName>
org.opendaylight.yangtools.rfc8528.data.api.MountPointIdentifier
- All Implemented Interfaces:
Serializable
,Comparable<YangInstanceIdentifier.PathArgument>
,Identifier
,Immutable
,WritableObject
,YangInstanceIdentifier.PathArgument
@Beta
@NonNullByDefault
public final class MountPointIdentifier
extends AbstractIdentifier<QName>
implements YangInstanceIdentifier.PathArgument, WritableObject
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(@Nullable YangInstanceIdentifier.PathArgument o) static MountPointIdentifier
getLabel()
Returns unique QName of data node as defined in YANG Schema, if available.static MountPointIdentifier
static MountPointIdentifier
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 aDataOutput
as a fixed-format stream.Methods inherited from class org.opendaylight.yangtools.util.AbstractIdentifier
equals, getValue, hashCode, toString
-
Method Details
-
of
-
create
-
readFrom
- Throws:
IOException
-
getLabel
-
writeTo
Description copied from interface:WritableObject
Serialize this object into aDataOutput
as a fixed-format stream.- Specified by:
writeTo
in interfaceWritableObject
- Parameters:
out
- Data output- Throws:
IOException
- if an I/O error occurs
-
compareTo
- Specified by:
compareTo
in interfaceComparable<YangInstanceIdentifier.PathArgument>
-
getNodeType
Description copied from interface:YangInstanceIdentifier.PathArgument
Returns unique QName of data node as defined in YANG Schema, if available.- Specified by:
getNodeType
in interfaceYangInstanceIdentifier.PathArgument
- Returns:
- Node type
-
toRelativeString
Description copied from interface:YangInstanceIdentifier.PathArgument
Return the string representation of this object for use in context provided by a previous object. This method can be implemented in terms ofYangInstanceIdentifier.toString()
, but implementations are encourage to reuse any context already emitted by the previous object.- Specified by:
toRelativeString
in interfaceYangInstanceIdentifier.PathArgument
- Parameters:
previous
- Previous path argument- Returns:
- String representation
-