public enum DDLFlag extends Enum<DDLFlag>
Enum Constant and Description |
---|
CHECK
Whether
CHECK constraints should be generated. |
COMMENT
Whether
COMMENT statements should be generated. |
DOMAIN
Whether
DOMAIN statements should be generated. |
FOREIGN_KEY
Whether
FOREIGN KEY constraints should be generated. |
INDEX
Whether
INDEX definitions should be generated. |
PRIMARY_KEY
Whether
PRIMARY KEY constraints should be generated. |
SCHEMA
Whether
CREATE SCHEMA statements should be generated. |
SEQUENCE
Whether
SEQUENCE statements should be generated. |
TABLE
Whether
CREATE TABLE statements should be generated. |
UNIQUE
Whether
UNIQUE constraints should be generated. |
Modifier and Type | Method and Description |
---|---|
static DDLFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DDLFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DDLFlag SCHEMA
CREATE SCHEMA
statements should be generated.public static final DDLFlag TABLE
CREATE TABLE
statements should be generated.public static final DDLFlag PRIMARY_KEY
PRIMARY KEY
constraints should be generated.public static final DDLFlag UNIQUE
UNIQUE
constraints should be generated.public static final DDLFlag FOREIGN_KEY
FOREIGN KEY
constraints should be generated.public static final DDLFlag CHECK
CHECK
constraints should be generated.public static final DDLFlag INDEX
INDEX
definitions should be generated.public static final DDLFlag DOMAIN
DOMAIN
statements should be generated.public static final DDLFlag SEQUENCE
SEQUENCE
statements should be generated.public static final DDLFlag COMMENT
COMMENT
statements should be generated.public static DDLFlag[] values()
for (DDLFlag c : DDLFlag.values()) System.out.println(c);
public static DDLFlag 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 nullCopyright © 2021. All rights reserved.