public enum ActionType extends Enum<ActionType>
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ACTION_TYPE_COUNT
自动生成的动作类型总数.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getIndex()
获取动作类型的索引值。
|
static ActionType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ActionType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ActionType QUERY
public static final ActionType GET
public static final ActionType ADD
public static final ActionType MODIFY
public static final ActionType DELETE
public static final ActionType SAVE
public static final int ACTION_TYPE_COUNT
public static ActionType[] values()
for (ActionType c : ActionType.values()) System.out.println(c);
public static ActionType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int getIndex()
Copyright © 2022. All rights reserved.