BUG-1472: deprecated CompositeNode and friends
[yangtools.git] / yang / yang-data-impl / src / main / java / org / opendaylight / yangtools / yang / data / impl / SimpleNodeModificationTOImpl.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;
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.ModifyAction;
13 import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
14
15 /**
16  * @author michal.rehak
17  * @param <T> type of node value
18  *
19  * @deprecated Use one of the {@link NormalizedNode} implementation packages.
20  */
21 @Deprecated
22 public class SimpleNodeModificationTOImpl<T> extends SimpleNodeTOImpl<T> {
23     private static final long serialVersionUID = 1L;
24
25     /**
26      * @param qname
27      * @param parent
28      * @param value
29      * @param modifyAction
30      */
31     public SimpleNodeModificationTOImpl(final QName qname, final CompositeNode parent,
32             final T value, final ModifyAction modifyAction) {
33         super(qname, parent, value);
34         setModificationAction(modifyAction);
35     }
36 }