@Beta public final class DataTreeIdentifier<T extends TreeNode> extends Object implements org.opendaylight.yangtools.concepts.Immutable, org.opendaylight.yangtools.concepts.Path<DataTreeIdentifier<?>>, Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
contains(DataTreeIdentifier<?> other)
Checks whether this identifier contains some other.
|
static <T extends TreeNode> |
create(LogicalDatastoreType datastoreType,
InstanceIdentifier<T> rootIdentifier) |
boolean |
equals(Object obj) |
LogicalDatastoreType |
getDatastoreType()
Return the logical data store type.
|
InstanceIdentifier<T> |
getRootIdentifier()
Return the
InstanceIdentifier of the root node. |
int |
hashCode() |
public static <T extends TreeNode> DataTreeIdentifier<T> create(LogicalDatastoreType datastoreType, InstanceIdentifier<T> rootIdentifier)
@Nonnull public LogicalDatastoreType getDatastoreType()
@Nonnull public InstanceIdentifier<T> getRootIdentifier()
InstanceIdentifier
of the root node.public boolean contains(@Nonnull DataTreeIdentifier<?> other)
contains
in interface org.opendaylight.yangtools.concepts.Path<DataTreeIdentifier<?>>
other
- Other path, may not be null.Copyright © 2019 OpenDaylight. All rights reserved.