Class SupportedAccountReferenceValidator
- java.lang.Object
-
- de.adorsys.psd2.xs2a.service.validator.SupportedAccountReferenceValidator
-
- All Implemented Interfaces:
BusinessValidator<Collection<de.adorsys.psd2.xs2a.core.profile.AccountReference>>
@Component public class SupportedAccountReferenceValidator extends Object implements BusinessValidator<Collection<de.adorsys.psd2.xs2a.core.profile.AccountReference>>
-
-
Constructor Summary
Constructors Constructor Description SupportedAccountReferenceValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ValidationResultvalidate(@NotNull Collection<de.adorsys.psd2.xs2a.core.profile.AccountReference> accountReferences)Validates some object according to some business rules-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.adorsys.psd2.xs2a.service.validator.BusinessValidator
buildWarningMessages
-
-
-
-
Method Detail
-
validate
@NotNull public @NotNull ValidationResult validate(@NotNull @NotNull Collection<de.adorsys.psd2.xs2a.core.profile.AccountReference> accountReferences)
Description copied from interface:BusinessValidatorValidates some object according to some business rules- Specified by:
validatein interfaceBusinessValidator<Collection<de.adorsys.psd2.xs2a.core.profile.AccountReference>>- Parameters:
accountReferences- business object to be validated- Returns:
- valid result if the object is valid, invalid result with appropriate error otherwise
-
-