Moved javax.validation constraints to field in order to have checks in use