Class DOMDataTreeIdentifier
- java.lang.Object
-
- org.opendaylight.controller.md.sal.dom.api.DOMDataTreeIdentifier
-
- All Implemented Interfaces:
Serializable,Comparable<DOMDataTreeIdentifier>,Immutable,MutationBehaviour<Immutable>,Path<DOMDataTreeIdentifier>
@Deprecated(forRemoval=true) public final class DOMDataTreeIdentifier extends Object implements Immutable, 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(LogicalDatastoreType datastoreType, 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(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 LogicalDatastoreTypegetDatastoreType()Deprecated, for removal: This API element is subject to removal in a future version.Return the logical data store type.@NonNull 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.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(LogicalDatastoreType datastoreType, YangInstanceIdentifier rootIdentifier)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
fromMdsal
public static DOMDataTreeIdentifier fromMdsal(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 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 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 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 interfacePath<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>
-
-