Class AbstractHierarchicalIdentifier<T extends AbstractHierarchicalIdentifier<T,I>,I>

java.lang.Object
org.opendaylight.yangtools.concepts.AbstractHierarchicalIdentifier<T,I>
All Implemented Interfaces:
Serializable, HierarchicalIdentifier<T>, Identifier, Immutable
Direct Known Subclasses:
YangInstanceIdentifier

public abstract class AbstractHierarchicalIdentifier<T extends AbstractHierarchicalIdentifier<T,I>,I> extends Object implements HierarchicalIdentifier<T>
An opinionated superclass for implementing HierarchicalIdentifiers.

It assumes that the identifier is composed of multiple non-null steps available via itemIterator() and that contains(AbstractHierarchicalIdentifier) semantics can be implemented using simple in-order comparison of these steps.

Furthermore it mandates that serialization occurs via writeReplace(), following the Serialization Proxy pattern.

See Also: