Add ExtensibleObject interface 50/80650/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 28 Feb 2019 15:10:14 +0000 (16:10 +0100)
committerRobert Varga <nite@hq.sk>
Thu, 28 Feb 2019 18:50:42 +0000 (18:50 +0000)
commit9bb93652e3366ba8cdb8e39ebc8336ca13399cba
tree8ffc76de133d615205cc42280e19f8ce4709f2fc
parent141c939d477d6df8ce58fdeaa655b95d129bfa32
Add ExtensibleObject interface

This adds the basic ExtensibleObject and ObjectExtension interfaces,
which can be reused to define extensible objects.

Unlike a full-blown implementation, these interfaces provide only
access interface, not a mechanism to perform actual state attachment.

The attachment mechanism will be defined in future, when the need
for it actually arises.

JIRA: YANGTOOLS-497
Change-Id: Ie390b6174b8909c87595dddc0d467858f36ef8bf
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 33e06bd2f202c270f70b99091029cb18afeb792a)
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/ExtensibleObject.java [new file with mode: 0644]
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/ObjectExtension.java [new file with mode: 0644]