package nl.knowlogy.validation.annotations;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import nl.knowlogy.validation.ErrorCodes;
@Retention(RUNTIME)
@Target({ElementType.METHOD})
public @interface ValidateCustom {
String validatorClassName();
String errorCode() default ErrorCodes.NOT_ALLOWED_VALUE;
}
|