Annotation Type NotEmpty
-
@Documented @Constraint(validatedBy={}) @SupportedValidationTarget(ANNOTATED_ELEMENT) @Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(RUNTIME) @Repeatable(List.class) @ReportAsSingleViolation @NotNull @Size(min=1) @Deprecated public @interface NotEmpty
Deprecated.use the standardNotEmptyconstraint insteadAsserts that the annotated string, collection, map or array is notnullor empty.- Author:
- Emmanuel Bernard, Hardy Ferentschik