Initial opendaylight infrastructure commit!!
[controller.git] / opendaylight / sal / yang-prototype / yang / yang-data-api / src / main / java / org / opendaylight / controller / yang / data / api / SimpleNode.java
diff --git a/opendaylight/sal/yang-prototype/yang/yang-data-api/src/main/java/org/opendaylight/controller/yang/data/api/SimpleNode.java b/opendaylight/sal/yang-prototype/yang/yang-data-api/src/main/java/org/opendaylight/controller/yang/data/api/SimpleNode.java
new file mode 100644 (file)
index 0000000..717c722
--- /dev/null
@@ -0,0 +1,26 @@
+/*\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.controller.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> {\r
+\r
+}\r