public enum ConfigurationKey extends Enum<ConfigurationKey>
| Enum Constant and Description |
|---|
ALL_IN_TABLES_CLASS_NAME
Tables 类名。
|
ALL_IN_TABLES_ENABLE
是否所有的类都生成在 Tables 类里。
|
ALL_IN_TABLES_PACKAGE
自定义 Tables 生成的包名。
|
CHARSET
生成文件的字符集。
|
ENABLE
全局启用 APT 开关。
|
GEN_PATH
APT 代码生成路径。
|
MAPPER_ANNOTATION
开启 @Mapper 注解。
|
MAPPER_BASE_CLASS
自定义 Mapper 的父类。
|
MAPPER_GENERATE_ENABLE
开启 Mapper 自动生成。
|
MAPPER_PACKAGE
自定义 Mapper 生成的包名。
|
TABLE_DEF_CLASS_SUFFIX
生成的 Class 的后缀。
|
TABLE_DEF_IGNORE_ENTITY_SUFFIXES
过滤 Entity 后缀。
|
TABLE_DEF_INSTANCE_SUFFIX
生成的表对应的变量后缀。
|
TABLE_DEF_PACKAGE
自定义 Class 生成的包名。
|
TABLE_DEF_PROPERTIES_NAME_STYLE
生成辅助类的字段风格。
|
| Modifier and Type | Method and Description |
|---|---|
String |
getConfigKey()
获取配置键。
|
String |
getDefaultValue()
获取配置默认值。
|
static ConfigurationKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigurationKey ENABLE
public static final ConfigurationKey CHARSET
public static final ConfigurationKey GEN_PATH
public static final ConfigurationKey ALL_IN_TABLES_ENABLE
public static final ConfigurationKey ALL_IN_TABLES_CLASS_NAME
public static final ConfigurationKey ALL_IN_TABLES_PACKAGE
public static final ConfigurationKey MAPPER_GENERATE_ENABLE
public static final ConfigurationKey MAPPER_ANNOTATION
public static final ConfigurationKey MAPPER_BASE_CLASS
public static final ConfigurationKey MAPPER_PACKAGE
public static final ConfigurationKey TABLE_DEF_PACKAGE
public static final ConfigurationKey TABLE_DEF_CLASS_SUFFIX
public static final ConfigurationKey TABLE_DEF_INSTANCE_SUFFIX
public static final ConfigurationKey TABLE_DEF_PROPERTIES_NAME_STYLE
public static final ConfigurationKey TABLE_DEF_IGNORE_ENTITY_SUFFIXES
public static ConfigurationKey[] values()
for (ConfigurationKey c : ConfigurationKey.values()) System.out.println(c);
public static ConfigurationKey valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getConfigKey()
public String getDefaultValue()
Copyright © 2024. All rights reserved.