BUG-1411 MDSAL Binding2 Generator API Enumeration fix 97/43997/1
authorMartin Ciglan <mciglan@cisco.com>
Fri, 12 Aug 2016 14:03:25 +0000 (16:03 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 15 Aug 2016 15:35:32 +0000 (15:35 +0000)
- missing getMappedName() method in Enumeration API

Change-Id: Ibcd79173745b14464614b494880d20b434070584
Signed-off-by: Martin Ciglan <mciglan@cisco.com>
(cherry picked from commit 92f913b4049a93520db9510b8652848791f8ec08)

binding2/mdsal-binding2-generator-api/src/main/java/org/opendaylight/mdsal/binding2/model/api/Enumeration.java

index 0421ba9590b0279176ded6a782ec0bb2f1e0d137..11b9ddf552e39619aa49fcb3367bc59397aef885 100644 (file)
@@ -59,6 +59,13 @@ public interface Enumeration extends GeneratedType {
          */
         String getName();
 
+        /**
+         * Returns the binding representation for the name of the enumeration item.
+         *
+         * @return the binding representation for the name of the enumeration item.
+         */
+        String getMappedName();
+
         /**
          * Returns value of the enumeration item.
          *
@@ -66,4 +73,4 @@ public interface Enumeration extends GeneratedType {
          */
         int getValue();
     }
-}
+}
\ No newline at end of file