Annotation Type In
-
@Documented @Constraint(validatedBy={InValidator.class,InCollectionValidator.class}) @Retention(RUNTIME) @Target({FIELD,PARAMETER}) public @interface InCan be used with strings. Checks if string value is contained in allowed values ignoring case.null- valid value.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String[]allowedValuesjava.lang.Class<?>[]groupsjava.lang.Stringmessagejava.lang.Class<?>[]payload
-