Annotation Interface NotEmpty
@Documented
@Retention(CLASS)
@Target({METHOD,FIELD,PARAMETER})
@ValidatedBy(NotEmptyValidatorFactory.class)
public @interface NotEmpty
Annotated element must not be
null nor empty:
Supported types are:
CharSequence(length of character sequence is evaluated)String(length of character sequence is evaluated)Iterable(collection size is evaluated)Collection(collection size is evaluated)List(collection size is evaluated)Set(collection size is evaluated)Map(map size is evaluated)