-
@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.- Author:
- nedis
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description intvalue
-