@Documented @Constraint(validatedBy={}) @Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) @NotNull @NullableNotBlank public @interface NotBlank
Validate that a string should be not empty or consists of only whitespaces.
Compared to NullableNotBlank this validator will not accept null values as valid.
Copyright © 2014 Konik.io. All Rights Reserved.