Cleanup checkstyle in yang-{data,model}-api
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / type / UnsignedIntegerTypeDefinition.java
index b380044651022a4569e4b917e74bd666213606ed..7b81e45e518d3bbfd7bdef4527bc90314748f4de 100644 (file)
@@ -8,24 +8,21 @@
 package org.opendaylight.yangtools.yang.model.api.type;
 
 import java.util.List;
-
+import javax.annotation.Nonnull;
 import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
 
 /**
- * 
  * Contains the method for getting detail data about unsigned integer.
- * 
  * Specifically it is the method for getting the range value.
- * 
  */
 public interface UnsignedIntegerTypeDefinition extends TypeDefinition<UnsignedIntegerTypeDefinition> {
-
     /**
      * Returns range data of the instance of the type
-     * <code>UnsignedIntegerTypeDefinition</code>.
-     * 
+     * <code>UnsignedIntegerTypeDefinition</code>. These are the effective constraints, e.g. they include
+     * any range constraints imposed by base types.
+     *
      * @return list of <code>RangeConstraint</code> which represents the YANG
      *         <code>range</code> substatement arguments.
      */
-    List<RangeConstraint> getRangeConstraints();
+    @Nonnull List<RangeConstraint> getRangeConstraints();
 }