public static enum ReferentialAction.Action extends Enum<ReferentialAction.Action>
| Enum Constant and Description |
|---|
CASCADE |
NO_ACTION |
RESTRICT |
SET_DEFAULT |
SET_NULL |
| Modifier and Type | Method and Description |
|---|---|
static ReferentialAction.Action |
from(String action) |
String |
getAction() |
static ReferentialAction.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReferentialAction.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReferentialAction.Action CASCADE
public static final ReferentialAction.Action RESTRICT
public static final ReferentialAction.Action NO_ACTION
public static final ReferentialAction.Action SET_DEFAULT
public static final ReferentialAction.Action SET_NULL
public static ReferentialAction.Action[] values()
for (ReferentialAction.Action c : ReferentialAction.Action.values()) System.out.println(c);
public static ReferentialAction.Action 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 nullpublic static ReferentialAction.Action from(String action)
action - ReferentialAction.Action, if found, otherwise nullpublic String getAction()
Copyright © 2004–2023 JSQLParser. All rights reserved.