Clean up binding-model stuff a bit
[yangtools.git] / model / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / LeafListSchemaNode.java
index 5b7c6143ef25dd1f0fb2392bd6485a76898766d4..b31f0ed0b27a12c3f1ce67bf4f6b110c60a2db1a 100644 (file)
@@ -14,20 +14,12 @@ import org.opendaylight.yangtools.yang.model.api.stmt.LeafListEffectiveStatement
 /**
  * Interface describing YANG 'leaf-list' statement.
  */
-public interface LeafListSchemaNode extends TypedDataSchemaNode, MustConstraintAware, ElementCountConstraintAware,
-        DerivableSchemaNode<LeafListSchemaNode>, EffectiveStatementEquivalent<LeafListEffectiveStatement> {
-    /**
-     * YANG 'ordered-by' statement. It defines whether the order of entries
-     * within this leaf-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();
+public non-sealed interface LeafListSchemaNode extends TypedDataSchemaNode, MustConstraintAware,
+        ElementCountConstraintAware, UserOrderedAware<LeafListEffectiveStatement> {
 
     /**
      * Return the default value of this leaf-list, as per the rules outlined in
-     * <a href="https://tools.ietf.org/html/rfc7950#section-7.7.4">Section 7.4.4 of RFC7950</a>. RFC6020 does not
+     * <a href="https://www.rfc-editor.org/rfc/rfc7950#section-7.7.4">Section 7.4.4 of RFC7950</a>. RFC6020 does not
      * allow for default value of leaf-list, hence the returned list will be empty.
      *
      * @return Ordered list of Strings which specify the default values of this leaf-list