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;
10 import java.util.List;
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;
18 * Interface for builders of 'uses' statement.
20 public interface UsesNodeBuilder extends Builder {
22 String getGroupingName();
24 void setGroupingPath(SchemaPath groupingPath);
28 void setPath(SchemaPath path);
30 Set<AugmentationSchemaBuilder> getAugmentations();
32 void addAugment(AugmentationSchemaBuilder builder);
34 boolean isAugmenting();
36 void setAugmenting(boolean augmenting);
38 List<RefineHolder> getRefines();
40 List<SchemaNodeBuilder> getRefineNodes();
42 void addRefine(RefineHolder refine);
44 void addRefineNode(SchemaNodeBuilder refineNode);