From: Martin Ciglan Date: Fri, 12 Aug 2016 14:03:25 +0000 (+0200) Subject: BUG-1411 MDSAL Binding2 Generator API Enumeration fix X-Git-Tag: release/boron~12 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=mdsal.git;a=commitdiff_plain;h=b8a82c45a32645722c873a47008f97cb0f17e2d3 BUG-1411 MDSAL Binding2 Generator API Enumeration fix - missing getMappedName() method in Enumeration API Change-Id: Ibcd79173745b14464614b494880d20b434070584 Signed-off-by: Martin Ciglan (cherry picked from commit 92f913b4049a93520db9510b8652848791f8ec08) --- diff --git a/binding2/mdsal-binding2-generator-api/src/main/java/org/opendaylight/mdsal/binding2/model/api/Enumeration.java b/binding2/mdsal-binding2-generator-api/src/main/java/org/opendaylight/mdsal/binding2/model/api/Enumeration.java index 0421ba9590..11b9ddf552 100644 --- a/binding2/mdsal-binding2-generator-api/src/main/java/org/opendaylight/mdsal/binding2/model/api/Enumeration.java +++ b/binding2/mdsal-binding2-generator-api/src/main/java/org/opendaylight/mdsal/binding2/model/api/Enumeration.java @@ -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