-
@Documented @Retention(SOURCE) @Target({FIELD,METHOD,PARAMETER}) @ConstraintRule(supportedTypes=java.lang.String.class, validatorClass=MaxLengthConstraintValidator.class) public @interface MaxLength
The annotated element must have a string length 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
-