public enum ReferentialAction extends Enum<ReferentialAction>
Enum Constant and Description |
---|
CASCADE |
NO_ACTION |
RESTRICT |
SET_DEFAULT |
SET_NULL |
Modifier and Type | Method and Description |
---|---|
static ReferentialAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReferentialAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReferentialAction CASCADE
public static final ReferentialAction NO_ACTION
public static final ReferentialAction RESTRICT
public static final ReferentialAction SET_DEFAULT
public static final ReferentialAction SET_NULL
public static ReferentialAction[] values()
for (ReferentialAction c : ReferentialAction.values()) System.out.println(c);
public static ReferentialAction 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 null