Add yang-binding interfaces for annotations 25/81225/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 27 Mar 2019 13:53:01 +0000 (14:53 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 27 Mar 2019 15:32:32 +0000 (16:32 +0100)
commit4bd8c8ccb296b0982fe2b5b287976a55610511f8
treebfd8bb70e324b961bb5a7efcbb18670cf07cf46d
parent992122145777924ad5b3a52da65188d8a91b8246
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>
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]