public enum LogQueryScope extends java.lang.Enum<LogQueryScope>
| Enum Constant and Description |
|---|
ACCESS
基于访问--1(对应数据库列值)
|
ALL
全部--0
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
取得类型的描述信息
|
int |
getOrdinal()
取得类型的序号
|
static LogQueryScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LogQueryScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogQueryScope ALL
public static final LogQueryScope ACCESS
public static LogQueryScope[] values()
for (LogQueryScope c : LogQueryScope.values()) System.out.println(c);
public static LogQueryScope 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()