Add (DOM)DataTreeIdentifier serialization proxies 57/109257/3
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 9 Dec 2023 13:18:03 +0000 (14:18 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 9 Dec 2023 17:51:51 +0000 (18:51 +0100)
commit9286037f2852d197c4384511fce97c551e2b8dc3
tree84d9ba7e96cc523f906d4bc7e88b2b5623f2859a
parentd6d2b5ef7b62d4b43bb1eb706bd873ce1f80b6b1
Add (DOM)DataTreeIdentifier serialization proxies

Further evolution of these two classes will require allowing for two
distinct specializations.

In order to be able to do that, we need to disconnect them from their
serial form.

This patch instroduces serialization proxies, which know how to write
out and read in these objects without referencing their class name.

JIRA: MDSAL-845
Change-Id: I2b50d3aa5f752d6181dab991a5a8282b079b16df
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-api/src/main/java/org/opendaylight/mdsal/binding/api/DTIv1.java [new file with mode: 0644]
binding/mdsal-binding-api/src/test/java/org/opendaylight/mdsal/binding/api/DataTreeIdentifierTest.java
dom/mdsal-dom-api/src/main/java/org/opendaylight/mdsal/dom/api/DTIv1.java [new file with mode: 0644]
dom/mdsal-dom-api/src/test/java/org/opendaylight/mdsal/dom/api/DOMDataTreeIdentifierTest.java