public enum GenerationTransactionTypeValues extends java.lang.Enum<GenerationTransactionTypeValues>
List of type of generated transaction.
Enum Constant and Description |
---|
_C
Creation (CREATE) Default value when the line is created.
|
_D
Cancellation (DROP) This value generates a DROP statement. |
_M
Modification (ALTER) This value is possible on table -type lines only, on all database types, except SQL/400. |
NONE
No generation No generation will be executed by the GPRT procedure.
|
Modifier and Type | Method and Description |
---|---|
static GenerationTransactionTypeValues |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GenerationTransactionTypeValues[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenerationTransactionTypeValues _C
Creation (CREATE) Default value when the line is created. It generates a CREATE statement. It is the only possible value for an Alter table.
public static final GenerationTransactionTypeValues _D
Cancellation (DROP) This value generates a DROP statement.
For J (foreign key) and K (primary key) lines, a DROP PRIMARY KEY or DROP FOREIGN KEY command is generated in an ALTER TABLE command.
public static final GenerationTransactionTypeValues _M
Modification (ALTER) This value is possible on table -type lines only, on all database types, except SQL/400. It generates an ALTER statement.
public static final GenerationTransactionTypeValues NONE
No generation No generation will be executed by the GPRT procedure.
public static GenerationTransactionTypeValues valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static GenerationTransactionTypeValues[] values()
for (GenerationTransactionTypeValues c : GenerationTransactionTypeValues.values()) System.out.println(c);