public enum EntityListenerType extends java.lang.Enum<EntityListenerType>
Enum Constant and Description |
---|
AFTER_DELETE |
AFTER_INSERT |
AFTER_UPDATE |
BEFORE_ATTACH |
BEFORE_DELETE |
BEFORE_DETACH |
BEFORE_INSERT |
BEFORE_UPDATE |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getListenerInterface() |
static EntityListenerType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntityListenerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityListenerType BEFORE_DETACH
public static final EntityListenerType BEFORE_ATTACH
public static final EntityListenerType BEFORE_INSERT
public static final EntityListenerType AFTER_INSERT
public static final EntityListenerType BEFORE_UPDATE
public static final EntityListenerType AFTER_UPDATE
public static final EntityListenerType AFTER_DELETE
public static final EntityListenerType BEFORE_DELETE
public static EntityListenerType[] values()
for (EntityListenerType c : EntityListenerType.values()) System.out.println(c);
public static EntityListenerType 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.Class getListenerInterface()