Enum Class IBANValidatorStatus

java.lang.Object
java.lang.Enum<IBANValidatorStatus>
org.apache.commons.validator.routines.IBANValidatorStatus
All Implemented Interfaces:
Serializable, Comparable<IBANValidatorStatus>, Constable

public enum IBANValidatorStatus extends Enum<IBANValidatorStatus>
Statuses of IBAN validation.
Since:
1.10.0
  • Enum Constant Details

    • VALID

      public static final IBANValidatorStatus VALID
      IBAN is valid
    • UNKNOWN_COUNTRY

      public static final IBANValidatorStatus UNKNOWN_COUNTRY
      IBAN validator for given country is not registered
    • INVALID_LENGTH

      public static final IBANValidatorStatus INVALID_LENGTH
      Length for given IBAN is wrong
    • INVALID_PATTERN

      public static final IBANValidatorStatus INVALID_PATTERN
      Pattern for given IBAN is not match
    • INVALID_CHECKSUM

      public static final IBANValidatorStatus INVALID_CHECKSUM
      Checksum for given IBAN is invalid
  • Method Details

    • values

      public static IBANValidatorStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static IBANValidatorStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null