Added support for annotations in generated APIs.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / binding-model-api / src / main / java / org / opendaylight / controller / sal / binding / model / api / Enumeration.java
index bfce017cd57741fc12f2de006490dce76b15414a..996423bb1bf67e35a7396a25b89a26fa90ed6f19 100644 (file)
@@ -1,26 +1,28 @@
-/*\r
- * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-package org.opendaylight.controller.sal.binding.model.api;\r
-\r
-import java.util.List;\r
-\r
-public interface Enumeration extends Type {\r
-\r
-    public Type getDefiningType();\r
-\r
-    public List<Pair> getValues();\r
-\r
-    public String toFormattedString();\r
-\r
-    interface Pair {\r
-\r
-        public String getName();\r
-\r
-        public Integer getValue();\r
-    }\r
-}\r
+/*
+ * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.controller.sal.binding.model.api;
+
+import java.util.List;
+
+public interface Enumeration extends Type {
+    
+    public List<AnnotationType> getAnnotations();
+    
+    public Type getDefiningType();
+
+    public List<Pair> getValues();
+
+    public String toFormattedString();
+
+    interface Pair {
+
+        public String getName();
+
+        public Integer getValue();
+    }
+}