Annotation Type NotEmpty
-
@Target(FIELD) @Retention(RUNTIME) @Constraint(validatedBy=NotEmptyValidator.class) @Documented public @interface NotEmpty
The annotated element must not be empty ornull. Supported type isString.nullelements are considered invalid.