public static enum SQLForeignKeyImpl.Option extends Enum<SQLForeignKeyImpl.Option>
Enum Constant and Description |
---|
CASCADE |
NO_ACTION |
RESTRICT |
SET_DEFAULT |
SET_NULL |
Modifier and Type | Field and Description |
---|---|
String |
name |
String |
name_lcase |
Modifier and Type | Method and Description |
---|---|
String |
getText() |
static SQLForeignKeyImpl.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SQLForeignKeyImpl.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SQLForeignKeyImpl.Option RESTRICT
public static final SQLForeignKeyImpl.Option CASCADE
public static final SQLForeignKeyImpl.Option SET_NULL
public static final SQLForeignKeyImpl.Option NO_ACTION
public static final SQLForeignKeyImpl.Option SET_DEFAULT
public static SQLForeignKeyImpl.Option[] values()
for (SQLForeignKeyImpl.Option c : SQLForeignKeyImpl.Option.values()) System.out.println(c);
public static SQLForeignKeyImpl.Option 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 String getText()
Copyright © 2013–2021 Alibaba Group. All rights reserved.