public enum CascadeType extends Enum<CascadeType>
Enum Constant and Description |
---|
ALL |
DELETE |
INSERT |
NONE |
SAVE |
UPDATE |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static CascadeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CascadeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CascadeType NONE
public static final CascadeType INSERT
public static final CascadeType UPDATE
public static final CascadeType SAVE
public static final CascadeType DELETE
public static final CascadeType ALL
private final String value
public static CascadeType[] values()
for (CascadeType c : CascadeType.values()) System.out.println(c);
public static CascadeType 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 nullpublic String getValue()