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

Enum GenerationTransactionTypeValues

    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      _C 
      _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 
    • Method Summary

      Methods 
      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.
      • 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.

    • 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