Package br.com.visualmidia.ui.validator

Examples of br.com.visualmidia.ui.validator.ResponsableValidator


        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));
View Full Code Here


    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 ResponsableValidator(responsableInfo.getResponsableText(), personalInfo.getBirthdateText(),screenMessageLabel, Validator.ERROR_REQUIRED_RESPONSABLENAME));
    validators.add(new CPFValidator(responsableInfo.getCPFText(),screenMessageLabel, Validator.ERROR_REQUIRED_CPF));
    validators.add(new AttendanceValidator(resourceInfo.getHowDoYouKnowVisualMidiaCombo(), screenMessageLabel,Validator.ERROR_REQUIRED_HOW_DO_YOU_KNOW_VISUAL_MIDIA));
    validators.add(new AttendanceValidator(attendanceInfo.getAttendanceResponsableCombo(), screenMessageLabel,Validator.ERROR_REQUIRED_ATTENDANCENAME));
    validators.add(new TransactionDateValidator(screenMessageLabel,Validator.ERROR_REQUIRED_DATA_TRANSACTION_INVALID));
    return validators;
View Full Code Here

TOP

Related Classes of br.com.visualmidia.ui.validator.ResponsableValidator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.