Use DataObjectReference in binding-data-codec-api 42/112342/3
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 27 Jun 2024 22:00:46 +0000 (00:00 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 28 Jun 2024 06:23:49 +0000 (08:23 +0200)
Users should not care about the particular implementation of
DataObjectReference, but InstanceIdentifier is special in that it is a
legacy.

This patch adds a DataObjectReference.toLegacy() method to perform
down conversion to it.

JIRA: YANGTOOLS-1577
Change-Id: I1702de86112eb87cc349c8eac95b3d6c27fac641
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>

No differences found