Package org.hibernate.event.spi
Enum EventManager.CacheActionDescription
- java.lang.Object
-
- java.lang.Enum<EventManager.CacheActionDescription>
-
- org.hibernate.event.spi.EventManager.CacheActionDescription
-
- All Implemented Interfaces:
Serializable
,Comparable<EventManager.CacheActionDescription>
- Enclosing interface:
- EventManager
public static enum EventManager.CacheActionDescription extends Enum<EventManager.CacheActionDescription>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLLECTION_INSERT
ENTITY_AFTER_INSERT
ENTITY_AFTER_UPDATE
ENTITY_INSERT
ENTITY_LOAD
ENTITY_UPDATE
QUERY_RESULT
TIMESTAMP_INVALIDATE
TIMESTAMP_PRE_INVALIDATE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getText()
String
toString()
static EventManager.CacheActionDescription
valueOf(String name)
Returns the enum constant of this type with the specified name.static EventManager.CacheActionDescription[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENTITY_INSERT
public static final EventManager.CacheActionDescription ENTITY_INSERT
-
ENTITY_AFTER_INSERT
public static final EventManager.CacheActionDescription ENTITY_AFTER_INSERT
-
ENTITY_UPDATE
public static final EventManager.CacheActionDescription ENTITY_UPDATE
-
ENTITY_LOAD
public static final EventManager.CacheActionDescription ENTITY_LOAD
-
ENTITY_AFTER_UPDATE
public static final EventManager.CacheActionDescription ENTITY_AFTER_UPDATE
-
TIMESTAMP_PRE_INVALIDATE
public static final EventManager.CacheActionDescription TIMESTAMP_PRE_INVALIDATE
-
TIMESTAMP_INVALIDATE
public static final EventManager.CacheActionDescription TIMESTAMP_INVALIDATE
-
COLLECTION_INSERT
public static final EventManager.CacheActionDescription COLLECTION_INSERT
-
QUERY_RESULT
public static final EventManager.CacheActionDescription QUERY_RESULT
-
-
Method Detail
-
values
public static EventManager.CacheActionDescription[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EventManager.CacheActionDescription c : EventManager.CacheActionDescription.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventManager.CacheActionDescription valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<EventManager.CacheActionDescription>
-
getText
public String getText()
-
-