Vidyashree Rama
Committed by Gerrit Code Review

[ONOS-4490] yang grouping defect fix

Change-Id: Ibea5b1207c5f4a991e1550863a5eb4ce1774e8dc
...@@ -19,6 +19,8 @@ import java.io.IOException; ...@@ -19,6 +19,8 @@ import java.io.IOException;
19 19
20 import org.onosproject.yangutils.datamodel.YangGrouping; 20 import org.onosproject.yangutils.datamodel.YangGrouping;
21 import org.onosproject.yangutils.translator.tojava.JavaCodeGenerator; 21 import org.onosproject.yangutils.translator.tojava.JavaCodeGenerator;
22 +import org.onosproject.yangutils.translator.tojava.JavaFileInfo;
23 +import org.onosproject.yangutils.translator.tojava.TempJavaCodeFragmentFiles;
22 import org.onosproject.yangutils.translator.tojava.utils.YangPluginConfig; 24 import org.onosproject.yangutils.translator.tojava.utils.YangPluginConfig;
23 25
24 /** 26 /**
...@@ -26,7 +28,7 @@ import org.onosproject.yangutils.translator.tojava.utils.YangPluginConfig; ...@@ -26,7 +28,7 @@ import org.onosproject.yangutils.translator.tojava.utils.YangPluginConfig;
26 */ 28 */
27 public class YangJavaGrouping 29 public class YangJavaGrouping
28 extends YangGrouping 30 extends YangGrouping
29 - implements JavaCodeGenerator { 31 + implements JavaCodeGeneratorInfo, JavaCodeGenerator {
30 32
31 /** 33 /**
32 * Creates YANG Java grouping object. 34 * Creates YANG Java grouping object.
...@@ -46,4 +48,26 @@ public class YangJavaGrouping ...@@ -46,4 +48,26 @@ public class YangJavaGrouping
46 throws IOException { 48 throws IOException {
47 /*Do nothing, the uses will copy the contents to the used location*/ 49 /*Do nothing, the uses will copy the contents to the used location*/
48 } 50 }
51 +
52 + @Override
53 + public JavaFileInfo getJavaFileInfo() {
54 + /*Do nothing, the uses will copy the contents to the used location*/
55 + return null;
56 + }
57 +
58 + @Override
59 + public void setJavaFileInfo(JavaFileInfo javaInfo) {
60 + /*Do nothing, the uses will copy the contents to the used location*/
61 + }
62 +
63 + @Override
64 + public TempJavaCodeFragmentFiles getTempJavaCodeFragmentFiles() {
65 + /*Do nothing, the uses will copy the contents to the used location*/
66 + return null;
67 + }
68 +
69 + @Override
70 + public void setTempJavaCodeFragmentFiles(TempJavaCodeFragmentFiles fileHandle) {
71 + /*Do nothing, the uses will copy the contents to the used location*/
72 + }
49 } 73 }
......