X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-parser-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fparser%2Fbuilder%2Fapi%2FGroupingBuilder.java;fp=yang%2Fyang-parser-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fparser%2Fbuilder%2Fapi%2FGroupingBuilder.java;h=0000000000000000000000000000000000000000;hb=c4f0e040967ef94ac8b8b1a3be310878e9b5ba05;hp=a82e0eedfc495557dd0af532d0be95f0ec4faf33;hpb=8bd5bd285d4ad7d8621875bf2290f2bebe09cd8c;p=yangtools.git diff --git a/yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/builder/api/GroupingBuilder.java b/yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/builder/api/GroupingBuilder.java deleted file mode 100644 index a82e0eedfc..0000000000 --- a/yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/builder/api/GroupingBuilder.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.yangtools.yang.parser.builder.api; - -import java.util.List; -import java.util.Set; -import org.opendaylight.yangtools.yang.model.api.GroupingDefinition; - -/** - * Interface for builders of 'grouping' statement. - * - * @deprecated Pre-Beryllium implementation, scheduled for removal. - */ -@Deprecated -public interface GroupingBuilder extends DataNodeContainerBuilder, SchemaNodeBuilder, GroupingMember { - - /** - * Build GroupingDefinition object from this builder. - * - * @return Instance of {@link GroupingDefinition} described by this builder. - */ - @Override - GroupingDefinition build(); - - /** - * - * Returns instantiation of grouping child nodes under supplied builder. - * - * Supplied newParent is not modified. - * - * For each {@link #getChildNodeBuilders()} new builder is created, - * which has supplied new parent set as their {@link Builder#getParent()} - * and QNames have updated namespace and revision per supplied parent - * node. - * - * @param newParent Parent node, under which this grouping should be instantiated. - * @return List of new builders representing instantiation of this grouping. - */ - List instantiateChildNodes(Builder newParent); - - - /** - * - * Returns instantiation of grouping type definitions under supplied builder. - * - * Supplied newParent is not modified. - * - * For each {@link #getTypeDefinitionBuilders()} new builder is created, - * which has supplied new parent set as their {@link Builder#getParent()} - * and QNames have updated namespace and revision per supplied parent - * node. - * - * @param newParent Parent node, under which this grouping should be instantiated. - * @return Set of new builders representing instantiation of this grouping. - */ - Set instantiateTypedefs(Builder newParent); - - /** - * - * Returns instantiation of grouping definitions under supplied builder. - * - * Supplied newParent is not modified. - * - * For each {@link #getGroupingBuilders()} new builder is created, - * which has supplied new parent set as their {@link Builder#getParent()} - * and QNames have updated namespace and revision per supplied parent - * node. - * - * @param newParent Parent node, under which this grouping should be instantiated. - * @return Set of new builders representing instantiation of this grouping. - */ - Set instantiateGroupings(Builder newParent); - - /** - * - * Returns instantiation of unknown nodes under supplied builder. - * - * Supplied newParent is not modified. - * - * For each {@link #getUnknownNodes()} new builder is created, - * which has supplied new parent set as their {@link Builder#getParent()} - * and QNames have updated namespace and revision per supplied parent - * node. - * - * @param newParent Parent node, under which this grouping should be instantiated. - * @return Set of new builders representing instantiation of this grouping. - */ - Set instantiateUnknownNodes(Builder newParent); - -}