public enum ConstraintActionType extends java.lang.Enum<ConstraintActionType>
| Enum Constant and Description |
|---|
CASCADE
The action is to cascade the operation.
|
RESTRICT
The action is to restrict the operation.
|
SET_DEFAULT
The action is to set the value to the default value.
|
SET_NULL
The action is to set the value to NULL.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSqlName()
Get standard SQL type name.
|
static ConstraintActionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConstraintActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstraintActionType RESTRICT
public static final ConstraintActionType CASCADE
public static final ConstraintActionType SET_DEFAULT
public static final ConstraintActionType SET_NULL
public static ConstraintActionType[] values()
for (ConstraintActionType c : ConstraintActionType.values()) System.out.println(c);
public static ConstraintActionType 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 getSqlName()