Add yang-binding interfaces for annotations 25/81325/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 27 Mar 2019 13:53:01 +0000 (14:53 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 29 Mar 2019 13:18:38 +0000 (14:18 +0100)
commit9d04384e59af3bce8415f2a9c07c37012a434247
tree5d4d3ded88276e3d689af36e32cf99cab751d039
parent375d9e846ace10ae243c7099c840a02896bf297c
Add yang-binding interfaces for annotations

Binding users are interested in having a way to access RFC7952
metadata. While the actual codegen/runtime implementation requires
some work, we know what Binding Specification extension we will
need to support the generated classes.

This patch introduces Annotation and AnnotationAware, so a future
codegen version can bind to it.

JIRA: MDSAL-357
Change-Id: I2fed30ea34b21c36b626388bb37890cc73875176
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 4bd8c8ccb296b0982fe2b5b287976a55610511f8)
binding/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/Annotation.java [new file with mode: 0644]
binding/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/AnnotationAware.java [new file with mode: 0644]
binding/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/ValueAware.java [new file with mode: 0644]