JSR303 validation for commands