@Documented @Constraint(validatedBy=NotBlankValidator.class) @Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) @NotNull 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.
public abstract java.lang.Class<?>[] groups
Groups.
public abstract java.lang.String message
Message.
public abstract java.lang.Class<? extends javax.validation.Payload>[] payload
Payload.
Copyright © 2014-2018 Konik.io. All Rights Reserved.