public static enum DatabaseEvent.EVENT extends Enum<DatabaseEvent.EVENT>
Enum Constant and Description |
---|
INSERT_AFTER
执行插入操作后
|
QUERY_AFTER
执行查询操作后
|
REMOVE_AFTER
执行删除操作后
|
UPDATE_AFTER
执行更新操作后
|
Modifier and Type | Method and Description |
---|---|
static DatabaseEvent.EVENT |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseEvent.EVENT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseEvent.EVENT QUERY_AFTER
public static final DatabaseEvent.EVENT INSERT_AFTER
public static final DatabaseEvent.EVENT UPDATE_AFTER
public static final DatabaseEvent.EVENT REMOVE_AFTER
public static DatabaseEvent.EVENT[] values()
for (DatabaseEvent.EVENT c : DatabaseEvent.EVENT.values()) System.out.println(c);
public static DatabaseEvent.EVENT 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 nullCopyright © 2022. All rights reserved.