Add OrderedByAwareEffectiveStatement
[yangtools.git] / model / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / ListSchemaNode.java
index 48dd9b79943b5d0bc131861737fd119d1b45f2b7..7b27eaece202203f9ed9b3cae60beac3be5c980b 100644 (file)
@@ -23,7 +23,7 @@ import org.opendaylight.yangtools.yang.model.api.stmt.UniqueEffectiveStatement;
  */
 public interface ListSchemaNode extends DataNodeContainer, AugmentationTarget, DataSchemaNode, ActionNodeContainer,
         NotificationNodeContainer, ElementCountConstraintAware, MustConstraintAware,
-        EffectiveStatementEquivalent<ListEffectiveStatement> {
+        UserOrderedAware<ListEffectiveStatement> {
     /**
      * Returns the list of leaf identifiers.
      *
@@ -31,14 +31,6 @@ public interface ListSchemaNode extends DataNodeContainer, AugmentationTarget, D
      */
     @NonNull List<@NonNull QName> getKeyDefinition();
 
-    /**
-     * YANG 'ordered-by' statement. It defines whether the order of entries within a list are determined by the user
-     * or the system. If not present, default is false.
-     *
-     * @return true if ordered-by argument is "user", false otherwise
-     */
-    boolean isUserOrdered();
-
     /**
      * Returns unique constraints.
      *