groovy node-tree integration
[controller.git] / opendaylight / sal / yang-prototype / yang / yang-data-impl / src / main / java / org / opendaylight / controller / yang / data / impl / SimpleNodeModificationTOImpl.java
1 /*\r
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.\r
3  *\r
4  * This program and the accompanying materials are made available under the\r
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
6  * and is available at http://www.eclipse.org/legal/epl-v10.html\r
7  */\r
8 package org.opendaylight.controller.yang.data.impl;\r
9 \r
10 import org.opendaylight.controller.yang.common.QName;\r
11 import org.opendaylight.controller.yang.data.api.CompositeNode;\r
12 import org.opendaylight.controller.yang.data.api.ModifyAction;\r
13 \r
14 /**\r
15  * @author michal.rehak\r
16  * @param <T> type of node value\r
17  * \r
18  */\r
19 public class SimpleNodeModificationTOImpl<T> extends SimpleNodeTOImpl<T> {\r
20 \r
21     /**\r
22      * @param qname\r
23      * @param parent\r
24      * @param value\r
25      * @param modifyAction \r
26      */\r
27     public SimpleNodeModificationTOImpl(QName qname, CompositeNode parent,\r
28             T value, ModifyAction modifyAction) {\r
29         super(qname, parent, value);\r
30         setModificationAction(modifyAction);\r
31     }\r
32 }\r