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
,MutationBehaviour<Immutable>
,WritableObject
,YangInstanceIdentifier.PathArgument
@Beta @NonNullByDefault public final class MountPointIdentifier extends AbstractIdentifier<QName> implements YangInstanceIdentifier.PathArgument, WritableObject
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(@Nullable YangInstanceIdentifier.PathArgument o)
static MountPointIdentifier
create(QName qname)
QName
getLabel()
QName
getNodeType()
Returns unique QName of data node as defined in YANG Schema, if available.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 aDataOutput
as a fixed-format stream.-
Methods inherited from class org.opendaylight.yangtools.util.AbstractIdentifier
equals, getValue, hashCode, toString
-
-
-
-
Method Detail
-
of
public static MountPointIdentifier of(QName qname)
-
create
public static MountPointIdentifier create(QName qname)
-
readFrom
public static MountPointIdentifier readFrom(DataInput in) throws IOException
- Throws:
IOException
-
getLabel
public QName getLabel()
-
writeTo
public void writeTo(DataOutput out) throws IOException
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
public int compareTo(@Nullable YangInstanceIdentifier.PathArgument o)
- Specified by:
compareTo
in interfaceComparable<YangInstanceIdentifier.PathArgument>
-
getNodeType
public QName 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
public String toRelativeString(@Nullable YangInstanceIdentifier.PathArgument previous)
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
-
-