Class DefaultTaxInvoiceDTOValidator

  • All Implemented Interfaces:
    org.springframework.validation.Validator

    public class DefaultTaxInvoiceDTOValidator
    extends java.lang.Object
    implements org.springframework.validation.Validator
    Implementation of Validator that validate instances of TaxInvoiceWsDTO. Validates the fields for TaxInvoiceWsDTO
    • Constructor Detail

      • DefaultTaxInvoiceDTOValidator

        public DefaultTaxInvoiceDTOValidator​(org.springframework.validation.Validator taxInvoiceUnitValidator,
                                             org.springframework.validation.Validator taxInvoiceTypeValidator,
                                             TaxInvoiceCheckoutFacade taxInvoiceFacade)
    • Method Detail

      • supports

        public boolean supports​(java.lang.Class clazz)
        Specified by:
        supports in interface org.springframework.validation.Validator
      • validate

        public void validate​(java.lang.Object target,
                             org.springframework.validation.Errors errors)
        Specified by:
        validate in interface org.springframework.validation.Validator
      • getTaxInvoiceUnitValidator

        public org.springframework.validation.Validator getTaxInvoiceUnitValidator()
      • getTaxInvoiceTypeValidator

        public org.springframework.validation.Validator getTaxInvoiceTypeValidator()