Package io.avaje.validation.constraints
Annotation Interface NotEmpty
@Documented
@Target({METHOD,FIELD,ANNOTATION_TYPE,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Repeatable(List.class)
public @interface NotEmpty
The annotated element must not be
null and must contain at least one non-whitespace
character. Accepts CharSequence.- Author:
- Hardy Ferentschik
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceDefines several@NotEmptyconstraints on the same element. -
Optional Element Summary
Optional Elements