X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fsal%2Fyang-prototype%2Fyang%2Fyang-model-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fyang%2Fmodel%2Fapi%2FLeafListSchemaNode.java;h=8780322e52fa691fc34919fff44fcfbd52a36407;hb=refs%2Fchanges%2F65%2F365%2F2;hp=1d7287f0f7333ad8f6cdf2eed15ea0cbf27f99c2;hpb=626c9943156ed658f0a4cf11858ccc19b9c316cf;p=controller.git diff --git a/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/LeafListSchemaNode.java b/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/LeafListSchemaNode.java index 1d7287f0f7..8780322e52 100644 --- a/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/LeafListSchemaNode.java +++ b/opendaylight/sal/yang-prototype/yang/yang-model-api/src/main/java/org/opendaylight/controller/yang/model/api/LeafListSchemaNode.java @@ -7,10 +7,20 @@ */ package org.opendaylight.controller.yang.model.api; +/** + * Interface describing YANG 'leaf-list' statement. + */ public interface LeafListSchemaNode extends DataSchemaNode { TypeDefinition> getType(); + /** + * 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(); }