@Override
protected Collection<Validator> validators() {
Collection<Validator> validators = new ArrayList<Validator>();
validators.add(new EmptyValidator(nameText, screenMessageLabel, Validator.ERROR_REQUIRED_NAME));
validators.add(new EmptyValidator(personalInfo.getBirthdateText(), screenMessageLabel, Validator.ERROR_REQUIRED_BIRTHDATE));
validators.add(new CPFValidator(personalInfo.getCPFText(), screenMessageLabel, Validator.ERROR_REQUIRED_CPF));
validators.add(new EmptyValidator(addressInfo.getStreetText(), screenMessageLabel, Validator.ERROR_REQUIRED_STREET));
validators.add(new EmptyValidator(addressInfo.getStreetNumberText(), screenMessageLabel, Validator.ERROR_REQUIRED_STREETNUMBER));
validators.add(new EmptyValidator(addressInfo.getStreetCEPText(), screenMessageLabel, Validator.ERROR_REQUIRED_CEP));
validators.add(new EmptyValidator(addressInfo.getCityText(), screenMessageLabel, Validator.ERROR_REQUIRED_CITY));
// validators.add(new EmptyValidator(employmentData.getPaymentDayCombo(), screenMessageLabel, Validator.ERROR_REQUIRED_PAYMENTDAY));
validators.add(new ResponsableValidator(responsableInfo.getResponsableText(), personalInfo.getBirthdateText(), screenMessageLabel, Validator.ERROR_REQUIRED_RESPONSABLENAME));
validators.add(new CPFValidator(responsableInfo.getCPFText(), screenMessageLabel, Validator.ERROR_REQUIRED_CPF));
validators.add(new EmptyValidator(employmentData.getBeginDateText(), screenMessageLabel, Validator.ERROR_REQUIRED_BEGINDATE));
validators.add(new EmptyValidator(employmentData.getPositionCombo(), screenMessageLabel, Validator.ERROR_REQUIRED_POSITION));
validators.add(new TransactionDateValidator(screenMessageLabel,Validator.ERROR_REQUIRED_DATA_TRANSACTION_INVALID));
if (systemUser.getSelection()) {
validators.add(new EmptyValidator(userInfo.getUsernameText(), screenMessageLabel, Validator.ERROR_REQUIRED_USERNAME));
validators.add(new UserNameValidator(userInfo.getUsernameText(), idText, screenMessageLabel, Validator.ERROR_USERNAME_ALREADY_EXISTS));
validators.add(new EmptyValidator(userInfo.getPasswordText(), screenMessageLabel, Validator.ERROR_REQUIRED_PASSWORD));
validators.add(new EmptyValidator(userInfo.getConfirmPasswordText(), screenMessageLabel, Validator.ERROR_REQUIRED_PASSWORD_CONFIRMATION));
validators.add(new PasswordValidator(userInfo.getPasswordText(), userInfo.getConfirmPasswordText(), screenMessageLabel, Validator.ERROR_REQUIRED_PASSWORD));
}
return validators;
}