public enum DDLFlag extends Enum<DDLFlag>
Enum Constant and Description |
---|
FOREIGN_KEY
Whether
FOREIGN KEY constraints should be generated. |
PRIMARY_KEY
Whether
PRIMARY KEY constraints 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 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 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 © 2017. All Rights Reserved.