01: package nl.knowlogy.validation.annotations;
02:
03: import static java.lang.annotation.RetentionPolicy.RUNTIME;
04:
05: import java.lang.annotation.ElementType;
06: import java.lang.annotation.Retention;
07: import java.lang.annotation.Target;
08:
09: import nl.knowlogy.validation.ErrorCodes;
10:
11: @Retention(RUNTIME)
12: @Target({ElementType.METHOD})
13: public @interface ValidateIsNotBlank {
14:
15: String errorCode() default ErrorCodes.ISNOTBLANK;
16: }
|