Enum IbanValidationResult

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<IbanValidationResult>

    public enum IbanValidationResult
    extends java.lang.Enum<IbanValidationResult>
    To indicate the validation problem found when validating an IBAN
    Since:
    7.9.7
    See Also:
    IBAN.validate()
    • Method Detail

      • values

        public static IbanValidationResult[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (IbanValidationResult c : IbanValidationResult.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static IbanValidationResult valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • message

        public java.lang.String message()
        Validation problem description including expected and found content when necessary
      • vars

        public java.util.Map<java.lang.String,​java.lang.String> vars()
        Returns:
        the validation message parameters set to the enum value