Added support to generate interfaces from Choices and Cases. 65/665/1
authorlsedlak <lsedlak@cisco.com>
Mon, 1 Jul 2013 15:47:09 +0000 (17:47 +0200)
committerMartin Vitez <mvitez@cisco.com>
Wed, 24 Jul 2013 11:44:53 +0000 (13:44 +0200)
Added implementation to support generation of generated types from Choice and Case schema nodes from yang models into BindingGeneratorImpl;
Added test case and test files for test of generation of Generated Types;

Fixed bug in GeneratorUtil when imports were generated wrongly if the name of type was same as the name of interface/class.

Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
yang-binding/src/main/java/org/opendaylight/controller/yang/binding/InstanceIdentifier.java [new file with mode: 0644]

diff --git a/yang-binding/src/main/java/org/opendaylight/controller/yang/binding/InstanceIdentifier.java b/yang-binding/src/main/java/org/opendaylight/controller/yang/binding/InstanceIdentifier.java
new file mode 100644 (file)
index 0000000..7d13655
--- /dev/null
@@ -0,0 +1,12 @@
+package org.opendaylight.controller.yang.binding;
+
+/**
+ * Created with IntelliJ IDEA.
+ * User: lsedlak
+ * Date: 27.6.2013
+ * Time: 11:44
+ * To change this template use File | Settings | File Templates.
+ */
+public class InstanceIdentifier <T extends DataObject> {
+
+}