javax.validation.constraints
Annotation Type Size


@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER})
@Retention(value=RUNTIME)
@Documented
@Constraint(validatedBy={})
public @interface Size

The annotated element size must be between the specified boundaries (included). Supported types are: