Annotation Type ValidationInfo


  • @Target(FIELD)
    @Retention(RUNTIME)
    public @interface ValidationInfo
    Represents the definition of ValidationIssue that will be processed, enriched and possibly shown by user. Should be used in conjunction with some validation, like this:
     {@code
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      ContextCode ctx
      Violating parameter code and its logical location in the form.
      FrontendCode ui
      Frontend facing description of the violation - i.e.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      ValidationMode validationMode
      Shows the ability to control the validation mode for specific fields.
    • Element Detail

      • ui

        FrontendCode ui
        Frontend facing description of the violation - i.e. input type to use.
      • ctx

        ContextCode ctx
        Violating parameter code and its logical location in the form.
      • validationMode

        ValidationMode validationMode
        Shows the ability to control the validation mode for specific fields.
        Default:
        de.adorsys.opba.protocol.xs2a.service.xs2a.dto.ValidationMode.MANDATORY