-
@Documented @Retention(SOURCE) @Target({FIELD,METHOD,PARAMETER}) @ConstraintRule(supportedTypes=java.util.List.class, validatorClass=MinSizeConstraintValidator.class) public @interface MinSize
The annotated element must have a list size whose value must be higher or equal to the specified minimum.- Since:
- 0.1
- Author:
- nedis
- See Also:
Size,MaxSize,UniqueItems,MinSizeConstraintValidator
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description intvalueReturns the value the list size must be higher or equal to.
-