Merge "Bug 1372 - toString methods in generated classes"
[yangtools.git] / yang / yang-data-impl / src / main / java / org / opendaylight / yangtools / yang / data / impl / util / CompositeNodeBuilder.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.data.impl.util;
9
10 import org.opendaylight.yangtools.yang.common.QName;
11 import org.opendaylight.yangtools.yang.data.api.CompositeNode;
12 import org.opendaylight.yangtools.yang.data.api.Node;
13
14 /*
15  * @deprecated Use one of the NormalizedNode builders instead.
16  */
17 @Deprecated
18 public interface CompositeNodeBuilder<P extends CompositeNode> extends NodeBuilder<P,CompositeNodeBuilder<P>> {
19
20     CompositeNodeBuilder<P> addLeaf(QName leafName,Object leafValue);
21     CompositeNodeBuilder<P> add(Node<?> node);
22     CompositeNodeBuilder<P> addAll(Iterable<? extends Node<?>> nodes);
23     CompositeNodeBuilder<P> addLeaf(String leafLocalName, String leafValue);
24 }