Merge "Bug 2191: Invalid use of addType in ChoiceCaseBuilder"
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / MutableNode.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.api;
9
10 import org.opendaylight.yangtools.concepts.Mutable;
11 import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
12
13
14 /**
15  * Base representation of node in the data tree, defines basic parameters of
16  * node such as a QName.
17  *
18  *
19  * @param <T>
20  *
21  * @deprecated Use {@link NormalizedNode} instead.
22  */
23 @Deprecated
24 public interface MutableNode<T> extends Node<T>,Mutable {
25
26     /**
27      * @param parent value to set
28      */
29     void setParent(CompositeNode parent);
30
31     /**
32      * @param value value to set (children list or leaf value)
33      */
34     @Override
35     T setValue(T value);
36
37     /**
38      * @param action value to set
39      */
40     void setModifyAction(ModifyAction action);
41 }