Make Enumeration extend TypeObject 33/79933/5
authorJie Han <han.jie@zte.com.cn>
Sat, 26 Jan 2019 03:04:33 +0000 (11:04 +0800)
committerJie Han <han.jie@zte.com.cn>
Wed, 20 Feb 2019 01:11:39 +0000 (01:11 +0000)
- By now we can use TypeObject for leaf type objects

JIRA: MDSAL-407
Change-Id: Ifc7889b154e5e8bcdcbc4885affa9d3fa88facc2
Signed-off-by: Jie Han <han.jie@zte.com.cn>
binding/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/Enumeration.java

index 18f5ca81aed23764b15b092c5fbd05363a10edc2..a8eedd6d73e7210e56c185d2be721e09981f70fc 100644 (file)
@@ -12,7 +12,7 @@ package org.opendaylight.yangtools.yang.binding;
  *
  * @author Robert Varga
  */
-public interface Enumeration {
+public interface Enumeration extends TypeObject {
     /**
      * Returns the assigned name of the enumeration item as it is specified in the input YANG.
      *