Add ExtensibleObject interface 44/80644/3
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:27 +0000 (18:50 +0000)
commit33e06bd2f202c270f70b99091029cb18afeb792a
tree8fcdd97cf62f2874dd7b6a9c1e60c70bd2c506dc
parent3d23234f00eb059a2edbeae3d5c559efb47bed03
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>
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]