Package org.jooq
Enum DDLFlag
- java.lang.Object
-
- java.lang.Enum<DDLFlag>
-
- org.jooq.DDLFlag
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMENTWhetherCOMMENTstatements should be generated.FOREIGN_KEYWhetherFOREIGN KEYconstraints should be generated.PRIMARY_KEYWhetherPRIMARY KEYconstraints should be generated.SCHEMAWhetherCREATE SCHEMAstatements should be generated.TABLEWhetherCREATE TABLEstatements should be generated.UNIQUEWhetherUNIQUEconstraints should be generated.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DDLFlagvalueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
SCHEMA
public static final DDLFlag SCHEMA
WhetherCREATE SCHEMAstatements should be generated.
-
TABLE
public static final DDLFlag TABLE
WhetherCREATE TABLEstatements should be generated.
-
PRIMARY_KEY
public static final DDLFlag PRIMARY_KEY
WhetherPRIMARY KEYconstraints should be generated.
-
UNIQUE
public static final DDLFlag UNIQUE
WhetherUNIQUEconstraints should be generated.
-
FOREIGN_KEY
public static final DDLFlag FOREIGN_KEY
WhetherFOREIGN KEYconstraints should be generated.
-
COMMENT
public static final DDLFlag COMMENT
WhetherCOMMENTstatements should be generated.
-
-
Method Detail
-
values
public static DDLFlag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DDLFlag c : DDLFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DDLFlag valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-