Enum CyrillicModernCharacterData

java.lang.Object
java.lang.Enum<CyrillicModernCharacterData>
org.passay.data.CyrillicModernCharacterData
All Implemented Interfaces:
Serializable, Comparable<CyrillicModernCharacterData>, CharacterData

public enum CyrillicModernCharacterData extends Enum<CyrillicModernCharacterData> implements CharacterData
Cyrillic character data.
  • Enum Constant Details

  • Field Details

    • errorCode

      private final String errorCode
      Error code.
    • characters

      private final String characters
      Characters.
  • Constructor Details

    • CyrillicModernCharacterData

      private CyrillicModernCharacterData(String code, String charString)
      Creates a new cyrillic character data.
      Parameters:
      code - Error code
      charString - Characters as string
  • Method Details

    • values

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

      public static CyrillicModernCharacterData valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getErrorCode

      public String getErrorCode()
      Description copied from interface: CharacterData
      Return the error code used for message resolution.
      Specified by:
      getErrorCode in interface CharacterData
      Returns:
      error code
    • getCharacters

      public String getCharacters()
      Description copied from interface: CharacterData
      Returns the characters.
      Specified by:
      getCharacters in interface CharacterData
      Returns:
      characters