Package javax.validation.constraints
Annotation Type Size
-
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(RUNTIME) @Documented @Constraint(validatedBy={}) public @interface SizeVerify that size of the annotated element is higher or equals the min value and lower or equals the max value or whether the annotated element isnull. For Strings we will check the length, for Collections and arrays the size.- Version:
- $Rev$ $Date$
-
-
-
payload
java.lang.Class<? extends Payload>[] payload
- Default:
- {}
-
-