Class DatastoreIdentifier
- java.lang.Object
-
- org.opendaylight.yangtools.util.AbstractIdentifier<QName>
-
- org.opendaylight.yangtools.yang.data.api.DatastoreIdentifier
-
- All Implemented Interfaces:
Serializable
,Identifier
,Immutable
,MutationBehaviour<Immutable>
,WritableObject
@Beta @NonNullByDefault public final class DatastoreIdentifier extends AbstractIdentifier<QName> implements WritableObject
Identifier of a RFC8342 (NMDA) datastore. This class is backed by the QName of the datastore, i.e. theidentity
which defines the datastore. This class does not allow creation of identifiers which are defined as abstract, that is "datastore", "conventional" and "dynamic" in the namespace ofietf-datastores
.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatastoreIdentifier
create(QName qname)
static DatastoreIdentifier
of(QName qname)
static DatastoreIdentifier
readFrom(DataInput in)
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 DatastoreIdentifier of(QName qname)
-
create
public static DatastoreIdentifier create(QName qname)
-
readFrom
public static DatastoreIdentifier readFrom(DataInput in) throws IOException
- Throws:
IOException
-
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
-
-