BUG-1472: deprecated CompositeNode and friends
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / MutableNode.java
old mode 100755 (executable)
new mode 100644 (file)
index adfb5fb..4713eac
@@ -1,37 +1,41 @@
-/*\r
- * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-package org.opendaylight.yangtools.yang.data.api;\r
-\r
-import org.opendaylight.yangtools.concepts.Mutable;\r
-\r
-\r
-/**\r
- * Base representation of node in the data tree, defines basic parameters of\r
- * node such as a QName.\r
- *\r
- *\r
- * @param <T>\r
- */\r
-public interface MutableNode<T> extends Node<T>,Mutable {\r
-\r
-    /**\r
-     * @param parent value to set\r
-     */\r
-    void setParent(CompositeNode parent);\r
-\r
-    /**\r
-     * @param value value to set (children list or leaf value)\r
-     */\r
-    @Override\r
-    T setValue(T value);\r
-\r
-    /**\r
-     * @param action value to set\r
-     */\r
-    void setModifyAction(ModifyAction action);\r
-}\r
+/*
+ * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.yangtools.yang.data.api;
+
+import org.opendaylight.yangtools.concepts.Mutable;
+import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
+
+
+/**
+ * Base representation of node in the data tree, defines basic parameters of
+ * node such as a QName.
+ *
+ *
+ * @param <T>
+ *
+ * @deprecated Use {@link NormalizedNode} instead.
+ */
+@Deprecated
+public interface MutableNode<T> extends Node<T>,Mutable {
+
+    /**
+     * @param parent value to set
+     */
+    void setParent(CompositeNode parent);
+
+    /**
+     * @param value value to set (children list or leaf value)
+     */
+    @Override
+    T setValue(T value);
+
+    /**
+     * @param action value to set
+     */
+    void setModifyAction(ModifyAction action);
+}