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();
}