public enum Cascade extends Enum<Cascade>
| Enum Constant and Description |
|---|
ALL |
DETACH |
MERGE |
PERSIST |
REFRESH |
REMOVE |
| Modifier and Type | Field and Description |
|---|---|
static Cascade[] |
ALL_ARRAY |
static Cascade[] |
MERGE_PERSIST |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Cascade |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cascade[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cascade ALL
public static final Cascade DETACH
public static final Cascade MERGE
public static final Cascade PERSIST
public static final Cascade REFRESH
public static final Cascade REMOVE
public static final Cascade[] ALL_ARRAY
public static final Cascade[] MERGE_PERSIST
public static Cascade[] values()
for (Cascade c : Cascade.values()) System.out.println(c);
public static Cascade 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 © 2009–2016. All rights reserved.