Fixed yang grouping resolution.
[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 Builder {
21
22     String getGroupingPathString();
23
24     SchemaPath getGroupingPath();
25
26     Set<AugmentationSchemaBuilder> getAugmentations();
27
28     void addAugment(AugmentationSchemaBuilder builder);
29
30     boolean isAugmenting();
31
32     void setAugmenting(boolean augmenting);
33
34     List<RefineHolder> getRefines();
35
36     List<SchemaNodeBuilder> getRefineNodes();
37
38     void addRefine(RefineHolder refine);
39
40     void addRefineNode(SchemaNodeBuilder refineNode);
41
42     UsesNode build();
43
44 }