Add default statementDefinition() methods
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / LeafListSchemaNode.java
index 1af2d5db2079d49d901679f998fb0e07d936ec08..e165045f62618b2dac2d1d65a68f100d0bf18750 100644 (file)
@@ -8,12 +8,12 @@
 package org.opendaylight.yangtools.yang.model.api;
 
 import java.util.Collection;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
 
 /**
  * Interface describing YANG 'leaf-list' statement.
  */
-public interface LeafListSchemaNode extends TypedSchemaNode, MustConstraintAware {
+public interface LeafListSchemaNode extends TypedDataSchemaNode, MustConstraintAware, ElementCountConstraintAware {
     /**
      * 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
@@ -30,5 +30,5 @@ public interface LeafListSchemaNode extends TypedSchemaNode, MustConstraintAware
      *
      * @return Ordered list of Strings which specify the default values of this leaf-list
      */
-    @Nonnull Collection<? extends Object> getDefaults();
+    @NonNull Collection<? extends Object> getDefaults();
 }