Add AbstractHierarchicalIdentifier 50/109050/3
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 22 Nov 2023 15:00:22 +0000 (16:00 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 24 Nov 2023 14:59:55 +0000 (15:59 +0100)
commitbc4d53f79624213384af890974ef9f9973a9b0d8
treed59f8d06a3182b02143b9267d39ab449c0999f30
parentbb4aaf1e791e2b73bfcde4ae989b98b4ca644a3c
Add AbstractHierarchicalIdentifier

We have a few implementations of Hierarc hicalIdentifier, some of which
are composed of a series of steps and nothing more.

Introduce AbstractHierarchicalIdentifier to serve as the common
superclass, formalizing the common bits.

JIRA: YANGTOOLS-1549
Change-Id: I958b2092ba4da3d8f6ca358b46b66ccc96d3b1ef
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/AbstractHierarchicalIdentifier.java [new file with mode: 0644]
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/HierarchicalIdentifier.java
data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/YangInstanceIdentifier.java
data/yang-data-api/src/test/java/org/opendaylight/yangtools/yang/data/api/YangInstanceIdentifierTest.java