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