public enum LogRecordType extends java.lang.Enum<LogRecordType>
| Enum Constant and Description |
|---|
ACCESS
访问--6
|
CREATE
新增--0(对应数据库列值)
|
DELETE
删除--3
|
LOGIN
登录--4
|
LOGOUT
登出--5
|
READ
查询--1
|
UPDATE
修改--2
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
功能描述: 取得类型的描述信息
|
int |
getOrdinal()
功能描述: 取得类型的序号
|
static LogRecordType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LogRecordType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogRecordType CREATE
public static final LogRecordType READ
public static final LogRecordType UPDATE
public static final LogRecordType DELETE
public static final LogRecordType LOGIN
public static final LogRecordType LOGOUT
public static final LogRecordType ACCESS
public static LogRecordType[] values()
for (LogRecordType c : LogRecordType.values()) System.out.println(c);
public static LogRecordType 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()