Deprecate CopyableNode at al.
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / UsesNode.java
index b96d2b2bc0449e73e44eaa60cb36fece65980514..5d18a93449f34d3416b8b9dd2a5d1ce574fee94b 100644 (file)
@@ -15,7 +15,7 @@ import org.opendaylight.yangtools.yang.model.api.DocumentedNode.WithStatus;
 /**
  * Contains the methods for getting data and checking properties of the YANG <code>uses</code> substatement.
  */
-public interface UsesNode extends WhenConditionAware, WithStatus {
+public interface UsesNode extends WhenConditionAware, WithStatus, CopyableNode {
 
     /**
      * Returns the schema path to used grouping.
@@ -31,24 +31,6 @@ public interface UsesNode extends WhenConditionAware, WithStatus {
      */
     @Nonnull Set<AugmentationSchemaNode> getAugmentations();
 
-    /**
-     * 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();
-
     /**
      * Some of the properties of each node in the grouping can be refined with
      * the "refine" statement.