Bug 2444 - Add missing API to Action and Notification definition
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / DataSchemaNode.java
index 6b3f4703bad31618a11eaad5573774adee47cc9b..3bf46fa6170a5d74b4458b3f451bcf04c46c8290 100644 (file)
@@ -8,34 +8,26 @@
 package org.opendaylight.yangtools.yang.model.api;
 
 /**
+ * Data Schema Node represents abstract supertype from which all data tree
+ * definitions are derived.
  *
+ * <p>
  * Contains the method which are used for getting metadata from the schema nodes
  * which contains data.
  *
+ * @see ContainerSchemaNode
+ * @see ListSchemaNode
+ * @see LeafListSchemaNode
+ * @see ChoiceSchemaNode
+ * @see ChoiceCaseNode
+ * @see LeafSchemaNode
+ * @see AnyXmlSchemaNode
+ * @see AnyDataSchemaNode
  */
-public interface DataSchemaNode extends SchemaNode {
-
-    /**
-     * Returns <code>true</code> if the data node was added by augmentation,
-     * otherwise returns <code>false</code>
-     *
-     * @return <code>true</code> if the data node was added by augmentation,
-     *         otherwise returns <code>false</code>
-     */
-    boolean isAugmenting();
-
-    /**
-     * Returns <code>true</code> if the data node was added by uses statement,
-     * otherwise returns <code>false</code>
-     *
-     * @return <code>true</code> if the data node was added by uses statement,
-     *         otherwise returns <code>false</code>
-     */
-    boolean isAddedByUses();
-
+public interface DataSchemaNode extends SchemaNode, CopyableNode {
     /**
      * Returns <code>true</code> if the data represents configuration data,
-     * otherwise returns <code>false</code>
+     * otherwise returns <code>false</code>.
      *
      * @return <code>true</code> if the data represents configuration data,
      *         otherwise returns <code>false</code>
@@ -43,7 +35,7 @@ public interface DataSchemaNode extends SchemaNode {
     boolean isConfiguration();
 
     /**
-     * Returns the constraints associated with Data Schema Node
+     * Returns the constraints associated with Data Schema Node.
      *
      * @return the constraints associated with Data Schema Node
      */