com.ibm.pdp.maf.rpp.pac.blockbase
Enum GenerationTransactionTypeValues

java.lang.Object
  extended by java.lang.Enum<GenerationTransactionTypeValues>
      extended by com.ibm.pdp.maf.rpp.pac.blockbase.GenerationTransactionTypeValues
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GenerationTransactionTypeValues>

public enum GenerationTransactionTypeValues
extends java.lang.Enum<GenerationTransactionTypeValues>

List of type of generated transaction.


Enum Constant Summary
_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.
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

_C

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.


_D

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.


_M

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.


NONE

public static final GenerationTransactionTypeValues NONE

No generation No generation will be executed by the GPRT procedure.

Method Detail

valueOf

public static GenerationTransactionTypeValues 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 name
java.lang.NullPointerException - if the argument is null

values

public static GenerationTransactionTypeValues[] 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 (GenerationTransactionTypeValues c : GenerationTransactionTypeValues.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared