BUG-865: deprecate pre-Beryllium parser elements
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / builder / api / GroupingMember.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.yangtools.yang.parser.builder.api;
9
10 /**
11  * Marker interface for nodes which can be defined in grouping statement.
12  * [anyxml, choice, container, grouping, leaf, leaf-list, list, typedef, uses]
13  *
14  * @deprecated Pre-Beryllium implementation, scheduled for removal.
15  */
16 @Deprecated
17 public interface GroupingMember extends Builder {
18
19     /**
20      *
21      * @return true, if this node is added by uses statement, false otherwise
22      */
23     boolean isAddedByUses();
24
25     /**
26      * Set if this node is added by uses.
27      *
28      * @param addedByUses information about uses statement
29      */
30     void setAddedByUses(boolean addedByUses);
31
32 }