Refactored parsing of YANG uses statement.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / yang-model-parser-impl / src / main / java / org / opendaylight / controller / yang / parser / builder / api / UsesNodeBuilder.java
index c295c0eafdc824f68b04249f463cbc4630a42c10..626f0f460748d57d8958366171eff5289b51e4a7 100644 (file)
@@ -17,15 +17,15 @@ import org.opendaylight.controller.yang.parser.util.RefineHolder;
 /**
  * Interface for builders of 'uses' statement.
  */
-public interface UsesNodeBuilder extends Builder {
+public interface UsesNodeBuilder extends GroupingMember, Builder {
 
-    String getGroupingName();
+    DataNodeContainerBuilder getParent();
 
-    void setGroupingPath(SchemaPath groupingPath);
+    String getGroupingName();
 
-    SchemaPath getPath();
+    SchemaPath getGroupingPath();
 
-    void setPath(SchemaPath path);
+    void setGroupingPath(SchemaPath groupingPath);
 
     Set<AugmentationSchemaBuilder> getAugmentations();