Add ChoiceIn marker interface 09/72209/5
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 23 May 2018 20:06:54 +0000 (22:06 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 25 May 2018 12:27:02 +0000 (14:27 +0200)
commit0c33ff8128e828ef4519c8ac85031de2027e17eb
tree744a2fef82cdccc09a3e67f7fd35ab50a511f257
parentad4b0d54923516fb479d7f45ff490b5c98611530
Add ChoiceIn marker interface

This interface is needed to tie choice interfaces to their definition
parent -- transitively allowing us disambiguate grouping-defined uses
child children. This patch adds the interface and teaches codegen
when to generate it.

JIRA: MDSAL-45
Change-Id: Iecc1d504dd1d016a8fec3c26afe4e3c565b31d9b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-generator-impl/src/main/java/org/opendaylight/mdsal/binding/generator/impl/AbstractTypeGenerator.java
binding/mdsal-binding-generator-util/src/main/java/org/opendaylight/mdsal/binding/model/util/BindingTypes.java
binding/mdsal-binding-generator-util/src/main/java/org/opendaylight/mdsal/binding/model/util/Types.java
binding/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/ChoiceIn.java [new file with mode: 0644]