public static enum EntityListenerMetadata.EntityListenerType extends Enum<EntityListenerMetadata.EntityListenerType>
| Enum Constant and Description |
|---|
POST_LOAD
Callback type that is called after load operations.
|
POST_PERSIST
Callback type that is called after persist operations.
|
POST_REMOVE
Callback type that is called after remove operations.
|
POST_UPDATE
Callback type that is called after update operations.
|
PRE_PERSIST
Callback type that is called prior to persist operations.
|
PRE_REMOVE
Callback type that is called prior to remove operations.
|
PRE_UPDATE
Callback type that is called prior to update operations.
|
| Modifier and Type | Method and Description |
|---|---|
static EntityListenerMetadata.EntityListenerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityListenerMetadata.EntityListenerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityListenerMetadata.EntityListenerType PRE_PERSIST
public static final EntityListenerMetadata.EntityListenerType PRE_UPDATE
public static final EntityListenerMetadata.EntityListenerType PRE_REMOVE
public static final EntityListenerMetadata.EntityListenerType POST_LOAD
public static final EntityListenerMetadata.EntityListenerType POST_PERSIST
public static final EntityListenerMetadata.EntityListenerType POST_UPDATE
public static final EntityListenerMetadata.EntityListenerType POST_REMOVE
public static EntityListenerMetadata.EntityListenerType[] values()
for (EntityListenerMetadata.EntityListenerType c : EntityListenerMetadata.EntityListenerType.values()) System.out.println(c);
public static EntityListenerMetadata.EntityListenerType 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-2013 Batoo. All Rights Reserved.