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.UseDOMDataTreeIdentifier
instead.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 int
compareTo(DOMDataTreeIdentifier obj)
Deprecated, for removal: This API element is subject to removal in a future version.boolean
contains(DOMDataTreeIdentifier other)
Deprecated, for removal: This API element is subject to removal in a future version.boolean
equals(Object obj)
Deprecated, for removal: This API element is subject to removal in a future version.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.@NonNull LogicalDatastoreType
getDatastoreType()
Deprecated, for removal: This API element is subject to removal in a future version.Return the logical data store type.@NonNull YangInstanceIdentifier
getRootIdentifier()
Deprecated, for removal: This API element is subject to removal in a future version.Return theYangInstanceIdentifier
of the root node.int
hashCode()
Deprecated, for removal: This API element is subject to removal in a future version.DOMDataTreeIdentifier
toMdsal()
Deprecated, for removal: This API element is subject to removal in a future version.Return MD-SAL counterpart of this object.String
toString()
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 theYangInstanceIdentifier
of 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:
contains
in 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:
compareTo
in interfaceComparable<DOMDataTreeIdentifier>
-
-