public enum BusinessTypeEnum extends Enum<BusinessTypeEnum> implements net.mingsoft.base.constant.e.BaseEnum
| Enum Constant and Description |
|---|
DELETE
删除
|
INSERT
新增
|
OTHER
其它
|
UPDATE
修改
|
| Modifier and Type | Method and Description |
|---|---|
int |
toInt() |
static BusinessTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BusinessTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BusinessTypeEnum OTHER
public static final BusinessTypeEnum INSERT
public static final BusinessTypeEnum UPDATE
public static final BusinessTypeEnum DELETE
public static BusinessTypeEnum[] values()
for (BusinessTypeEnum c : BusinessTypeEnum.values()) System.out.println(c);
public static BusinessTypeEnum 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 int toInt()
toInt in interface net.mingsoft.base.constant.e.BaseEnumCopyright © 2020. All rights reserved.