Package com.prowidesoftware.swift.model
Enum IbanValidationResult
- java.lang.Object
-
- java.lang.Enum<IbanValidationResult>
-
- com.prowidesoftware.swift.model.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()
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
message()
Validation problem description including expected and found content when necessarystatic IbanValidationResult
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IbanValidationResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.java.util.Map<java.lang.String,java.lang.String>
vars()
-
-
-
Enum Constant Detail
-
OK
public static final IbanValidationResult OK
-
IBAN_IS_NULL
public static final IbanValidationResult IBAN_IS_NULL
-
IBAN_IS_EMPTY
public static final IbanValidationResult IBAN_IS_EMPTY
-
MISSING_COUNTRY_CODE
public static final IbanValidationResult MISSING_COUNTRY_CODE
-
INVALID_COUNTRY_CODE_CHARSET
public static final IbanValidationResult INVALID_COUNTRY_CODE_CHARSET
-
INVALID_COUNTRY_CODE
public static final IbanValidationResult INVALID_COUNTRY_CODE
-
INVALID_CHARACTERS
public static final IbanValidationResult INVALID_CHARACTERS
-
MISSING_CHECK_DIGITS
public static final IbanValidationResult MISSING_CHECK_DIGITS
-
INVALID_CHECK_DIGITS_FORMAT
public static final IbanValidationResult INVALID_CHECK_DIGITS_FORMAT
-
IVALID_CHECK_DIGITS
public static final IbanValidationResult IVALID_CHECK_DIGITS
-
MISSING_BBAN
public static final IbanValidationResult MISSING_BBAN
-
BBAN_MAX_LENGTH
public static final IbanValidationResult BBAN_MAX_LENGTH
-
MISSING_BBAN_CONFIGURATION
public static final IbanValidationResult MISSING_BBAN_CONFIGURATION
-
BBAN_INVALID_LENGTH
public static final IbanValidationResult BBAN_INVALID_LENGTH
-
BBAN_INVALID_UPPER_CASE_LETTERS
public static final IbanValidationResult BBAN_INVALID_UPPER_CASE_LETTERS
-
BBAN_INVALID_DIGITS_OR_LETTERS
public static final IbanValidationResult BBAN_INVALID_DIGITS_OR_LETTERS
-
BBAN_INVALID_DIGITS
public static final IbanValidationResult BBAN_INVALID_DIGITS
-
UNKNOWN
public static final IbanValidationResult UNKNOWN
-
-
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 namejava.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
-
-