import org.opendaylight.yangtools.yang.model.api.DataSchemaNode;
import org.opendaylight.yangtools.yang.model.api.GroupingDefinition;
import org.opendaylight.yangtools.yang.model.api.SchemaPath;
+import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
/**
* Interface for all yang data-node containers [augment, case, container,
*/
SchemaPath getPath();
- /**
- * Get already built child nodes.
- *
- * @return collection of child nodes
- */
- Set<DataSchemaNode> getChildNodes();
-
/**
* Get builders of child nodes.
*
*/
void addChildNode(DataSchemaNodeBuilder childNode);
+ void addChildNode(DataSchemaNode childNode);
+
+ void addChildNodeToContext(DataSchemaNodeBuilder childNode);
+
/**
* Get already built groupings defined in this node.
*
*/
void addGrouping(GroupingBuilder groupingBuilder);
+ /**
+ * Get builders of uses defined in this node.
+ *
+ * @return collection of uses builders
+ */
+ Set<UsesNodeBuilder> getUsesNodeBuilders();
+
/**
* Add builder of uses statement to this node.
*
*/
void addUsesNode(UsesNodeBuilder usesBuilder);
+ Set<TypeDefinition<?>> getTypeDefinitions();
+
/**
* Get builders of typedef statement defined in this node.
*
- * @return
+ * @return typedefBuilder
*/
Set<TypeDefinitionBuilder> getTypeDefinitionBuilders();