Bean Validation Made Simple With JSR 303
July 14, 2014 Leave a comment
http://java.dzone.com/articles/bean-validation-made-simple The URL above explains clearly and concisely how to avoid checking that a value meets a constraint without the need for an if(isStringValueNull?) code block.