support for BeanValidation and generation of constants for each fields