From b8a82c45a32645722c873a47008f97cb0f17e2d3 Mon Sep 17 00:00:00 2001 From: Martin Ciglan Date: Fri, 12 Aug 2016 16:03:25 +0200 Subject: [PATCH] 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) --- .../mdsal/binding2/model/api/Enumeration.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- 2.36.6