Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Extended binding-model-api to support of Enclosed Generated Types and TOs.
[controller.git]
/
opendaylight
/
sal
/
yang-prototype
/
code-generator
/
binding-model-api
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
sal
/
binding
/
model
/
api
/
Enumeration.java
diff --git
a/opendaylight/sal/yang-prototype/code-generator/binding-model-api/src/main/java/org/opendaylight/controller/sal/binding/model/api/Enumeration.java
b/opendaylight/sal/yang-prototype/code-generator/binding-model-api/src/main/java/org/opendaylight/controller/sal/binding/model/api/Enumeration.java
index 996423bb1bf67e35a7396a25b89a26fa90ed6f19..4115424ac835624014e9f2fd75c6ff0a971b580a 100644
(file)
--- a/
opendaylight/sal/yang-prototype/code-generator/binding-model-api/src/main/java/org/opendaylight/controller/sal/binding/model/api/Enumeration.java
+++ b/
opendaylight/sal/yang-prototype/code-generator/binding-model-api/src/main/java/org/opendaylight/controller/sal/binding/model/api/Enumeration.java
@@
-9,16
+9,38
@@
package org.opendaylight.controller.sal.binding.model.api;
import java.util.List;
import java.util.List;
+/**
+ *
+ */
public interface Enumeration extends Type {
public interface Enumeration extends Type {
-
+
+ /**
+ *
+ * @return
+ */
public List<AnnotationType> getAnnotations();
public List<AnnotationType> getAnnotations();
-
+
+ /**
+ *
+ * @return
+ */
public Type getDefiningType();
public Type getDefiningType();
+ /**
+ *
+ * @return
+ */
public List<Pair> getValues();
public List<Pair> getValues();
+ /**
+ *
+ * @return
+ */
public String toFormattedString();
public String toFormattedString();
+ /**
+ *
+ */
interface Pair {
public String getName();
interface Pair {
public String getName();