Class DOMDataTreeIdentifier
- java.lang.Object
-
- org.opendaylight.controller.md.sal.dom.api.DOMDataTreeIdentifier
-
- All Implemented Interfaces:
Serializable,Comparable<DOMDataTreeIdentifier>,org.opendaylight.yangtools.concepts.Immutable,org.opendaylight.yangtools.concepts.MutationBehaviour<org.opendaylight.yangtools.concepts.Immutable>,org.opendaylight.yangtools.concepts.Path<DOMDataTreeIdentifier>
@Deprecated(forRemoval=true) public final class DOMDataTreeIdentifier extends Object implements org.opendaylight.yangtools.concepts.Immutable, org.opendaylight.yangtools.concepts.Path<DOMDataTreeIdentifier>, Serializable, Comparable<DOMDataTreeIdentifier>
Deprecated, for removal: This API element is subject to removal in a future version.UseDOMDataTreeIdentifierinstead.A unique identifier for a particular subtree. It is composed of the logical data store type and the instance identifier of the root node.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DOMDataTreeIdentifier(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType datastoreType, org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier rootIdentifier)Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intcompareTo(DOMDataTreeIdentifier obj)Deprecated, for removal: This API element is subject to removal in a future version.booleancontains(DOMDataTreeIdentifier other)Deprecated, for removal: This API element is subject to removal in a future version.booleanequals(Object obj)Deprecated, for removal: This API element is subject to removal in a future version.static DOMDataTreeIdentifierfromMdsal(org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier mdsal)Deprecated, for removal: This API element is subject to removal in a future version.Return a counterpart to an MD-SAL data tree identifier.@NonNull org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreTypegetDatastoreType()Deprecated, for removal: This API element is subject to removal in a future version.Return the logical data store type.@NonNull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifiergetRootIdentifier()Deprecated, for removal: This API element is subject to removal in a future version.Return theYangInstanceIdentifierof the root node.inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifiertoMdsal()Deprecated, for removal: This API element is subject to removal in a future version.Return MD-SAL counterpart of this object.StringtoString()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Constructor Detail
-
DOMDataTreeIdentifier
public DOMDataTreeIdentifier(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType datastoreType, org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier rootIdentifier)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
fromMdsal
public static DOMDataTreeIdentifier fromMdsal(org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier mdsal)
Deprecated, for removal: This API element is subject to removal in a future version.Return a counterpart to an MD-SAL data tree identifier.- Returns:
- Controller data tree identifier.
-
toMdsal
public org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier toMdsal()
Deprecated, for removal: This API element is subject to removal in a future version.Return MD-SAL counterpart of this object.- Returns:
- MD-SAL data tree identifier.
-
getDatastoreType
public @NonNull org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType getDatastoreType()
Deprecated, for removal: This API element is subject to removal in a future version.Return the logical data store type.- Returns:
- Logical data store type. Guaranteed to be non-null.
-
getRootIdentifier
public @NonNull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier getRootIdentifier()
Deprecated, for removal: This API element is subject to removal in a future version.Return theYangInstanceIdentifierof the root node.- Returns:
- Instance identifier corresponding to the root node.
-
contains
public boolean contains(DOMDataTreeIdentifier other)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
containsin interfaceorg.opendaylight.yangtools.concepts.Path<DOMDataTreeIdentifier>
-
hashCode
public int hashCode()
Deprecated, for removal: This API element is subject to removal in a future version.
-
equals
public boolean equals(Object obj)
Deprecated, for removal: This API element is subject to removal in a future version.
-
compareTo
public int compareTo(DOMDataTreeIdentifier obj)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
compareToin interfaceComparable<DOMDataTreeIdentifier>
-
-