Class TppDomainValidator

    • Constructor Detail

      • TppDomainValidator

        public TppDomainValidator()
    • Method Detail

      • validate

        public ValidationResult validate​(@NotNull
                                         @NotNull String header)
        Description copied from interface: BusinessValidator
        Validates some object according to some business rules
        Specified by:
        validate in interface BusinessValidator<String>
        Parameters:
        header - business object to be validated
        Returns:
        valid result if the object is valid, invalid result with appropriate error otherwise
      • buildWarningMessages

        public Set<de.adorsys.psd2.xs2a.core.domain.TppMessageInformation> buildWarningMessages​(@NotNull
                                                                                                @NotNull String urlString)
        Description copied from interface: BusinessValidator
        Checks some object according to some business rules and creates warning messages if there is inconsistency in the logic
        Specified by:
        buildWarningMessages in interface BusinessValidator<String>
        Parameters:
        urlString - business object to be validated
        Returns:
        empty set if the object doesn't have inconsistencies, set of warning messages otherwise