Class DatastoreIdentifier
java.lang.Object
org.opendaylight.yangtools.util.AbstractIdentifier<QName>
org.opendaylight.yangtools.yang.data.api.DatastoreIdentifier
- All Implemented Interfaces:
Serializable
,Identifier
,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.
the
identity
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 of ietf-datastores
.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic DatastoreIdentifier
static DatastoreIdentifier
static DatastoreIdentifier
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
-
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
-