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