Package com.prowidesoftware.swift.model
Enum BicValidationResult
- java.lang.Object
-
- java.lang.Enum<BicValidationResult>
-
- com.prowidesoftware.swift.model.BicValidationResult
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BicValidationResult>
public enum BicValidationResult extends java.lang.Enum<BicValidationResult>
To indicate the validation problem found when validating a BIC- Since:
- 7.10.3
- See Also:
BIC.validate()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALID_BRANCH_CHARSET
INVALID_BRANCH_LENGTH
INVALID_COUNTRY
INVALID_COUNTRY_LENGTH
INVALID_INSTITUTION_CHARSET
INVALID_INSTITUTION_LENGTH
INVALID_LENGTH
INVALID_LOCATION_CHARSET
INVALID_LOCATION_LENGTH
OK
-
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 necessary.static BicValidationResult
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BicValidationResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final BicValidationResult OK
-
INVALID_LENGTH
public static final BicValidationResult INVALID_LENGTH
-
INVALID_INSTITUTION_LENGTH
public static final BicValidationResult INVALID_INSTITUTION_LENGTH
-
INVALID_COUNTRY_LENGTH
public static final BicValidationResult INVALID_COUNTRY_LENGTH
-
INVALID_LOCATION_LENGTH
public static final BicValidationResult INVALID_LOCATION_LENGTH
-
INVALID_BRANCH_LENGTH
public static final BicValidationResult INVALID_BRANCH_LENGTH
-
INVALID_INSTITUTION_CHARSET
public static final BicValidationResult INVALID_INSTITUTION_CHARSET
-
INVALID_COUNTRY
public static final BicValidationResult INVALID_COUNTRY
-
INVALID_LOCATION_CHARSET
public static final BicValidationResult INVALID_LOCATION_CHARSET
-
INVALID_BRANCH_CHARSET
public static final BicValidationResult INVALID_BRANCH_CHARSET
-
-
Method Detail
-
values
public static BicValidationResult[] 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 (BicValidationResult c : BicValidationResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BicValidationResult 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.- Returns:
- message with variables replaced
-
-