| Enum Constant and Description |
|---|
ACCESS
访问--6
|
CREATE
新增--0(对应数据库列值)
|
DELETE
删除--3
|
READ
查询--1
|
SIGNIN
登录--4
|
SIGNOUT
登出--5
|
UPDATE
修改--2
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
取得类型的描述信息
|
int |
getOrdinal()
取得类型的序号
|
static LogType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LogType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogType CREATE
public static final LogType READ
public static final LogType UPDATE
public static final LogType DELETE
public static final LogType SIGNIN
public static final LogType SIGNOUT
public static final LogType ACCESS
public static LogType[] values()
for (LogType c : LogType.values()) System.out.println(c);
public static LogType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getDescription()
public int getOrdinal()