Added getParent() method to DataSchemaNode and DataNodeContainer. Fixed Bugs.
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / DataNodeContainer.java
index 20b9ea4d48f7f5ba8383edc2ccce30eab4caf040..6c86c2c303ba38ec283218513103cbf0efffe9fb 100644 (file)
@@ -14,7 +14,9 @@ import org.opendaylight.yangtools.yang.common.QName;
 /**\r
  * Node which can contains other nodes.\r
  */\r
-public interface DataNodeContainer {\r
+public interface DataNodeContainer extends YangNode {\r
+\r
+    YangNode getParent();\r
 \r
     /**\r
      * Returns set of all newly defined types within this DataNodeContainer.\r