Created
December 19, 2013 20:11
-
-
Save jconnolly/8045428 to your computer and use it in GitHub Desktop.
OVal class-level validation butchery I just wrote.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ValidateWithMethod.List({ | |
@ValidateWithMethod(methodName = "validateRecruiterId", parameterType = Job.class, errorCode = "job.recruiterId.invalid"), | |
@ValidateWithMethod(methodName = "validateJreqJobHasValidApplication", parameterType = Job.class, errorCode = "job.application.invalid"), | |
@ValidateWithMethod(methodName = "validateJreqCompanySize", parameterType = Job.class, errorCode = "job.company.size.invalid") | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment