BUG-1411 MDSAL Binding2 Generator API Enumeration fix
[mdsal.git] / 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