Enum Class SpecialConverterKind

java.lang.Object
java.lang.Enum<SpecialConverterKind>
cdc.converters.SpecialConverterKind
All Implemented Interfaces:
Serializable, Comparable<SpecialConverterKind>, Constable

public enum SpecialConverterKind extends Enum<SpecialConverterKind>
Enumeration of special converter kinds.
Author:
Damien Carbonne
  • Enum Constant Details

    • DEFAULT

      public static final SpecialConverterKind DEFAULT
      The converter has been declared as a default converter for a (source class, target class) pair.
    • DEFAULT_OR_SINGLE

      public static final SpecialConverterKind DEFAULT_OR_SINGLE
      The converter is either a default converter or single for a (source class, target class) pair.
  • Method Details

    • values

      public static SpecialConverterKind[] 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 SpecialConverterKind 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