YANG sub module linking + unsupported yang construct + defect fix
Change-Id: I224c8c14ee2111f6844278cb540c48651544f59b
diff --git a/src/main/java/org/onosproject/yangutils/plugin/manager/YangFileInfo.java b/src/main/java/org/onosproject/yangutils/plugin/manager/YangFileInfo.java
new file mode 100644
index 0000000..7cb870c
--- /dev/null
+++ b/src/main/java/org/onosproject/yangutils/plugin/manager/YangFileInfo.java
@@ -0,0 +1,71 @@
+/*
+ * Copyright 2016-present Open Networking Laboratory
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.onosproject.yangutils.plugin.manager;
+
+import org.onosproject.yangutils.datamodel.YangNode;
+
+/**
+ * Represents YANG file information.
+ */
+public class YangFileInfo {
+
+ /**
+ * YANG file name.
+ */
+ private String yangFileName;
+
+ /**
+ * Data model node after parsing YANG file.
+ */
+ private YangNode rootNode;
+
+ /**
+ * Returns data model node for YANG file.
+ *
+ * @return data model node for YANG file
+ */
+ public YangNode getRootNode() {
+ return rootNode;
+ }
+
+ /**
+ * Sets data model node for YANG file.
+ *
+ * @param rootNode of the Yang file
+ */
+ public void setRootNode(YangNode rootNode) {
+ this.rootNode = rootNode;
+ }
+
+ /**
+ * Returns YANG file name.
+ *
+ * @return yangFileName YANG file name
+ */
+ public String getYangFileName() {
+ return yangFileName;
+ }
+
+ /**
+ * Sets YANG file name.
+ *
+ * @param yangFileName YANG file name
+ */
+ public void setYangFileName(String yangFileName) {
+ this.yangFileName = yangFileName;
+ }
+}