Annotation Type Length
@Documented
@Constraint(validatedBy={})
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Repeatable(List.class)
public @interface Length
Validate that the string is between min and max included.
- Author:
- Emmanuel Bernard, Hardy Ferentschik
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interface
Defines several@Length
annotations on the same element. -
Optional Element Summary
Optional Elements