|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sql.generation.api.grammar.definition.table.ReferentialAction
public final class ReferentialAction
This enum represents the five referential actions of SQL. These are CASCADE, SET_NULL,
SET_DEFAULT, RESTRICT, and NO_ACTION.
| Field Summary | |
|---|---|
static ReferentialAction |
CASCADE
Represents the cascading policy ( CASCADE. |
static ReferentialAction |
NO_ACTION
Represents the policy, which checks the integrity after UPDATE or DELETE statement, and
the statement will not be executed if it violates integrity. |
static ReferentialAction |
RESTRICT
Represents the policy, which checks the integrity before UPDATE or DELETE statement, and
the statement will not be executed if it violates integrity. |
static ReferentialAction |
SET_DEFAULT
Represents the policy, which sets the value as default ( SET DEFAULT. |
static ReferentialAction |
SET_NULL
Represents the policy, which sets the value as NULL (SET NULL. |
| Constructor Summary | |
|---|---|
ReferentialAction()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ReferentialAction CASCADE
CASCADE.
public static final ReferentialAction SET_NULL
NULL (SET NULL.
public static final ReferentialAction SET_DEFAULT
SET DEFAULT.
public static final ReferentialAction RESTRICT
UPDATE or DELETE statement, and
the statement will not be executed if it violates integrity.
public static final ReferentialAction NO_ACTION
UPDATE or DELETE statement, and
the statement will not be executed if it violates integrity.
| Constructor Detail |
|---|
public ReferentialAction()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||