public static enum FKConstraint.ReferentialAction extends java.lang.Enum<FKConstraint.ReferentialAction>
| Enum Constant and Description |
|---|
CASCADE |
NO_ACTION |
RESTRICT |
SET_DEFAULT |
SET_NULL |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static FKConstraint.ReferentialAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FKConstraint.ReferentialAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FKConstraint.ReferentialAction CASCADE
public static final FKConstraint.ReferentialAction RESTRICT
public static final FKConstraint.ReferentialAction SET_NULL
public static final FKConstraint.ReferentialAction NO_ACTION
public static final FKConstraint.ReferentialAction SET_DEFAULT
public static FKConstraint.ReferentialAction[] values()
for (FKConstraint.ReferentialAction c : FKConstraint.ReferentialAction.values()) System.out.println(c);
public static FKConstraint.ReferentialAction valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<FKConstraint.ReferentialAction>