Merge "Added missing parent tag to pom files"
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / SimpleNode.java
index b1a3cc4919be27647c8f4fafc44f1bda76ab61a2..59bb53d5e837dc814333c06302ccc9de68fa7e18 100644 (file)
@@ -1,30 +1,35 @@
-/*\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
-/**\r
- * Simple node represents a leaf in the data tree, which does not contain any\r
- * nested nodes, but the value of node. In the terms of the XML the simple node\r
- * is element which contains only text data (CDATA or PCDATA). The simple node\r
- * is the manifestation of the following data schema constructs in YANG:\r
- * <ul>\r
- * <li><b>leaf</b> - simple node could represent YANG leafs of all types except\r
- * the empty type, which in XML form is similar to the empty container.</li>\r
- * <li><b>item</b> in <b>leaf-list</b></li>\r
- * </ul>\r
- * \r
- * \r
- * @param <T>\r
- */\r
-public interface SimpleNode<T> extends Node<T>, NodeModification {\r
-\r
-    /**\r
-     * @return cast self to mutable, if possible \r
-     */\r
-    MutableSimpleNode<T> asMutable();\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.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
+ * is element which contains only text data (CDATA or PCDATA). The simple node
+ * is the manifestation of the following data schema constructs in YANG:
+ * <ul>
+ * <li><b>leaf</b> - simple node could represent YANG leafs of all types except
+ * 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
+     */
+    MutableSimpleNode<T> asMutable();
+}