Enum Class Style

java.lang.Object
java.lang.Enum<Style>
cn.lm.mybatis.mapper.code.Style
All Implemented Interfaces:
Serializable, Comparable<Style>, Constable

public enum Style extends Enum<Style>
字段转换方式
  • Enum Constant Details

    • normal

      public static final Style normal
      原值
    • camelhump

      public static final Style camelhump
      驼峰转下划线
    • uppercase

      public static final Style uppercase
      转换为大写
    • lowercase

      public static final Style lowercase
      转换为小写
    • camelhumpAndUppercase

      public static final Style camelhumpAndUppercase
      驼峰转下划线大写形式
    • camelhumpAndLowercase

      public static final Style camelhumpAndLowercase
      驼峰转下划线小写形式
  • Method Details

    • values

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