Added more tests for yang parser. Updated current tests.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / yang-model-parser-impl / src / main / java / org / opendaylight / controller / yang / parser / builder / api / AugmentationSchemaBuilder.java
index 4ab87df779569da46a0df87b7ca5fba8304c29cf..76fe19f79413e180aa1b25d6bd1d0c71eb13fd61 100644 (file)
@@ -7,8 +7,6 @@
  */
 package org.opendaylight.controller.yang.parser.builder.api;
 
-import java.util.Set;
-
 import org.opendaylight.controller.yang.model.api.AugmentationSchema;
 import org.opendaylight.controller.yang.model.api.SchemaPath;
 import org.opendaylight.controller.yang.model.api.Status;
@@ -16,7 +14,9 @@ import org.opendaylight.controller.yang.model.api.Status;
 /**
  * Interface for builders of 'augment' statement.
  */
-public interface AugmentationSchemaBuilder extends ChildNodeBuilder {
+public interface AugmentationSchemaBuilder extends DataNodeContainerBuilder {
+
+    Builder getParent();
 
     String getWhenCondition();
 
@@ -34,8 +34,6 @@ public interface AugmentationSchemaBuilder extends ChildNodeBuilder {
 
     void setTargetPath(SchemaPath path);
 
-    Set<DataSchemaNodeBuilder> getChildNodes();
-
     AugmentationSchema build();
 
     boolean isResolved();