Fixup compilation after YT move 12/48512/1
authorRobert Varga <rovarga@cisco.com>
Sun, 20 Nov 2016 20:22:14 +0000 (21:22 +0100)
committerRobert Varga <rovarga@cisco.com>
Sun, 20 Nov 2016 20:22:14 +0000 (21:22 +0100)
The move in YANG Tools has caused inherited type problems.
YANG Binding should not be doing this, really.

Change-Id: I518ab258f26d2db38349087736d37a76352642be
Signed-off-by: Robert Varga <rovarga@cisco.com>
binding/mdsal-binding-generator-api/src/main/java/org/opendaylight/mdsal/binding/model/api/Enumeration.java
binding/mdsal-binding-generator-api/src/main/java/org/opendaylight/yangtools/sal/binding/model/api/Enumeration.java
binding2/mdsal-binding2-generator-api/src/main/java/org/opendaylight/mdsal/binding2/model/api/Enumeration.java

index c50092cb4c6077f1ec3c3718b283659180af9709..fafb72be798e7dbd4b15a35b2c34977521133260 100644 (file)
@@ -47,7 +47,7 @@ public interface Enumeration extends GeneratedType {
      * Interface is used for reading enumeration item. It means item's name and
      * its value.
      */
-    interface Pair extends DocumentedNode {
+    interface Pair extends DocumentedNode.WithStatus {
 
         /**
          * Returns the name of the enumeration item as it is specified in the input yang.
index d06e51e7b8491622dbd0d860402a5988e089a1b8..3cef2a2f4b8890b83ff7ade3f0c76871dd1bc434 100644 (file)
@@ -50,7 +50,7 @@ public interface Enumeration extends GeneratedType {
      * Interface is used for reading enumeration item. It means item's name and
      * its value.
      */
-    interface Pair extends DocumentedNode {
+    interface Pair extends DocumentedNode.WithStatus {
 
         /**
          * Returns the name of the enumeration item as it is specified in the input yang.
index 11b9ddf552e39619aa49fcb3367bc59397aef885..a46d7d6d2c4b6d54bcacb464bb039c995a7f4f00 100644 (file)
@@ -50,7 +50,7 @@ public interface Enumeration extends GeneratedType {
      * Interface is used for reading enumeration item. It means item's name and
      * its value.
      */
-    interface Pair extends DocumentedNode {
+    interface Pair extends DocumentedNode.WithStatus {
 
         /**
          * Returns the name of the enumeration item.
@@ -73,4 +73,4 @@ public interface Enumeration extends GeneratedType {
          */
         int getValue();
     }
-}
\ No newline at end of file
+}