public enum CascadePoint extends Enum<CascadePoint>
| Enum Constant and Description | 
|---|
AFTER_EVICT
A cascade point that occurs just after eviction of the parent entity from the
 session cache 
 | 
AFTER_INSERT_BEFORE_DELETE
A cascade point that occurs just after the insertion of the parent entity and
 just before deletion 
 | 
AFTER_INSERT_BEFORE_DELETE_VIA_COLLECTION
A cascade point that occurs just after the insertion of the parent entity and
 just before deletion, inside a collection 
 | 
AFTER_LOCK
A cascade point that occurs just after refreshing a parent entity 
 | 
AFTER_UPDATE
A cascade point that occurs just after update of the parent entity 
 | 
BEFORE_FLUSH
A cascade point that occurs just before the session is flushed 
 | 
BEFORE_INSERT_AFTER_DELETE
A cascade point that occurs just before the insertion of the parent entity and
 just after deletion 
 | 
BEFORE_MERGE
A cascade point that occurs just before merging from a transient parent entity into
 the object in the session cache 
 | 
BEFORE_REFRESH
A cascade point that occurs just after locking a transient parent entity into the
 session cache 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static CascadePoint | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static CascadePoint[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final CascadePoint AFTER_INSERT_BEFORE_DELETE
public static final CascadePoint BEFORE_INSERT_AFTER_DELETE
public static final CascadePoint AFTER_INSERT_BEFORE_DELETE_VIA_COLLECTION
public static final CascadePoint AFTER_UPDATE
public static final CascadePoint BEFORE_FLUSH
public static final CascadePoint AFTER_EVICT
public static final CascadePoint BEFORE_REFRESH
public static final CascadePoint AFTER_LOCK
public static final CascadePoint BEFORE_MERGE
public static CascadePoint[] values()
for (CascadePoint c : CascadePoint.values()) System.out.println(c);
public static CascadePoint 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 © 2001-2015 Red Hat, Inc. All Rights Reserved.