2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
\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
8 package org.opendaylight.controller.yang.data.impl;
\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 import org.opendaylight.controller.yang.data.api.MutableSimpleNode;
\r
16 * @author michal.rehak
\r
17 * @param <T> type of simple node value
\r
20 public class MutableSimpleNodeTOImpl<T> extends SimpleNodeModificationTOImpl<T>
\r
21 implements MutableSimpleNode<T> {
\r
27 * @param modifyAction
\r
29 public MutableSimpleNodeTOImpl(QName qname, CompositeNode parent, T value,
\r
30 ModifyAction modifyAction) {
\r
31 super(qname, parent, value, modifyAction);
\r
35 public void setValue(T value) {
\r
36 super.setValue(value);
\r
40 public void setModifyAction(ModifyAction action) {
\r
41 super.setModificationAction(action);
\r