X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=model%2Fyang-model-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fmodel%2Fapi%2FLeafListSchemaNode.java;h=b31f0ed0b27a12c3f1ce67bf4f6b110c60a2db1a;hb=HEAD;hp=5b7c6143ef25dd1f0fb2392bd6485a76898766d4;hpb=a9fe5338a4f8931d292a88b9ab089e7bb02e065a;p=yangtools.git diff --git a/model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/LeafListSchemaNode.java b/model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/LeafListSchemaNode.java index 5b7c6143ef..b31f0ed0b2 100644 --- a/model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/LeafListSchemaNode.java +++ b/model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/LeafListSchemaNode.java @@ -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, EffectiveStatementEquivalent { - /** - * 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 { /** * Return the default value of this leaf-list, as per the rules outlined in - * Section 7.4.4 of RFC7950. RFC6020 does not + * Section 7.4.4 of RFC7950. 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