2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.yang.parser.builder.api;
12 import org.opendaylight.controller.yang.common.QName;
13 import org.opendaylight.controller.yang.model.api.DataSchemaNode;
14 import org.opendaylight.controller.yang.model.api.GroupingDefinition;
15 import org.opendaylight.controller.yang.model.api.SchemaPath;
18 * Interface for all yang data-node containers [augment, case, container,
19 * grouping, list, module, notification].
21 public interface DataNodeContainerBuilder extends Builder {
27 Set<DataSchemaNode> getChildNodes();
29 Set<DataSchemaNodeBuilder> getChildNodeBuilders();
31 DataSchemaNodeBuilder getDataChildByName(String name);
33 void addChildNode(DataSchemaNodeBuilder childNode);
35 Set<GroupingDefinition> getGroupings();
37 Set<GroupingBuilder> getGroupingBuilders();
39 void addGrouping(GroupingBuilder groupingBuilder);
41 void addUsesNode(UsesNodeBuilder usesBuilder);
43 Set<TypeDefinitionBuilder> getTypeDefinitionBuilders();
45 void addTypedef(TypeDefinitionBuilder typedefBuilder);