public enum CodegenTemplateTypeEnum extends Enum<CodegenTemplateTypeEnum>
| Enum Constant and Description |
|---|
MASTER_ERP |
MASTER_INNER |
MASTER_NORMAL |
ONE |
SUB |
TREE |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isMaster(Integer type)
是否为主表
|
static boolean |
isTree(Integer type)
是否为树表
|
static CodegenTemplateTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodegenTemplateTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodegenTemplateTypeEnum ONE
public static final CodegenTemplateTypeEnum TREE
public static final CodegenTemplateTypeEnum MASTER_NORMAL
public static final CodegenTemplateTypeEnum MASTER_ERP
public static final CodegenTemplateTypeEnum MASTER_INNER
public static final CodegenTemplateTypeEnum SUB
public static CodegenTemplateTypeEnum[] values()
for (CodegenTemplateTypeEnum c : CodegenTemplateTypeEnum.values()) System.out.println(c);
public static CodegenTemplateTypeEnum 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 static boolean isMaster(Integer type)
type - 类型public static boolean isTree(Integer type)
type - 类型Copyright © 2024. All rights reserved.