626f0f460748d57d8958366171eff5289b51e4a7
[controller.git] / opendaylight / sal / yang-prototype / code-generator / yang-model-parser-impl / src / main / java / org / opendaylight / controller / yang / parser / builder / api / UsesNodeBuilder.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.controller.yang.parser.builder.api;
9
10 import java.util.List;
11 import java.util.Set;
12
13 import org.opendaylight.controller.yang.model.api.SchemaPath;
14 import org.opendaylight.controller.yang.model.api.UsesNode;
15 import org.opendaylight.controller.yang.parser.util.RefineHolder;
16
17 /**
18  * Interface for builders of 'uses' statement.
19  */
20 public interface UsesNodeBuilder extends GroupingMember, Builder {
21
22     DataNodeContainerBuilder getParent();
23
24     String getGroupingName();
25
26     SchemaPath getGroupingPath();
27
28     void setGroupingPath(SchemaPath groupingPath);
29
30     Set<AugmentationSchemaBuilder> getAugmentations();
31
32     void addAugment(AugmentationSchemaBuilder builder);
33
34     boolean isAugmenting();
35
36     void setAugmenting(boolean augmenting);
37
38     List<RefineHolder> getRefines();
39
40     List<SchemaNodeBuilder> getRefineNodes();
41
42     void addRefine(RefineHolder refine);
43
44     void addRefineNode(SchemaNodeBuilder refineNode);
45
46     UsesNode build();
47
48 }