@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) @Documented @Constraint(validatedBy={}) public @interface Size
null
.
For Strings we will check the length, for Collections and arrays the size.Copyright © 2017. All rights reserved.