Enum CaseStrategy

java.lang.Object
java.lang.Enum<CaseStrategy>
org.jdbi.v3.core.mapper.CaseStrategy
All Implemented Interfaces:
Serializable, Comparable<CaseStrategy>, Function<String,String>, UnaryOperator<String>

public enum CaseStrategy extends Enum<CaseStrategy> implements UnaryOperator<String>
Strategies for comparing case sensitive strings.
  • Enum Constant Details

    • NOP

      public static final CaseStrategy NOP
      No case sensitivity.
    • LOWER

      public static final CaseStrategy LOWER
      All strings to lowercase in root locale.
    • UPPER

      public static final CaseStrategy UPPER
      All strings to uppercase in root locale.
    • LOCALE_LOWER

      public static final CaseStrategy LOCALE_LOWER
      All strings to lowercase in system locale.
    • LOCALE_UPPER

      public static final CaseStrategy LOCALE_UPPER
      All strings to uppercase in system locale.
  • Method Details

    • values

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