BUG-1472: deprecated CompositeNode and friends
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / SimpleNode.java
index 46e34c3eb7e9cf148ba2f8cc9b85f9f5bdcae5ae..59bb53d5e837dc814333c06302ccc9de68fa7e18 100644 (file)
@@ -7,6 +7,8 @@
  */
 package org.opendaylight.yangtools.yang.data.api;
 
+import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
+
 /**
  * Simple node represents a leaf in the data tree, which does not contain any
  * nested nodes, but the value of node. In the terms of the XML the simple node
@@ -17,14 +19,17 @@ package org.opendaylight.yangtools.yang.data.api;
  * the empty type, which in XML form is similar to the empty container.</li>
  * <li><b>item</b> in <b>leaf-list</b></li>
  * </ul>
- * 
- * 
+ *
+ *
  * @param <T>
+ *
+ * @deprecated Use {@link NormalizedNode} instead.
  */
+@Deprecated
 public interface SimpleNode<T> extends Node<T>, NodeModification {
 
     /**
-     * @return cast self to mutable, if possible 
+     * @return cast self to mutable, if possible
      */
     MutableSimpleNode<T> asMutable();
 }