public enum Event extends Enum<Event>
| Operation | Possible Events |
|---|---|
| insert | PRE_INSERT/POST_INSERT |
| delete/DSL delete | PRE_DELETE/POST_DELETE |
| find/DSL select | POST_LOAD |
| Typed Query | POST_LOAD |
| Enum Constant and Description |
|---|
POST_DELETE |
POST_INSERT |
POST_LOAD |
POST_UPDATE |
PRE_DELETE |
PRE_INSERT |
PRE_UPDATE |
| Modifier and Type | Method and Description |
|---|---|
static Event |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Event PRE_INSERT
public static final Event POST_INSERT
public static final Event PRE_UPDATE
public static final Event POST_UPDATE
public static final Event PRE_DELETE
public static final Event POST_DELETE
public static final Event POST_LOAD
public static Event[] values()
for (Event c : Event.values()) System.out.println(c);
public static 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 © 2012-2021. All Rights Reserved.