java.lang.Object
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration.TableChangeImplBase
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration.ColumnAutoIncrementChange
All Implemented Interfaces:
ModelChange, TableChange

public class ColumnAutoIncrementChange extends TableChangeImplBase
Represents the change of the auto-increment constraint of a column. Since it is a boolean value, this means the required constraint will simply be toggled.
Version:
$Revision: $
  • Constructor Details

    • ColumnAutoIncrementChange

      public ColumnAutoIncrementChange(Table table, Column column)
      Creates a new change object.
      Parameters:
      table - The table of the column
      column - The column
  • Method Details

    • getColumn

      public Column getColumn()
      Returns the column.
      Returns:
      The column
    • apply

      public void apply(Database database, boolean caseSensitive)
      Applies this change to the given database.
      Parameters:
      database - The database
      caseSensitive - Whether the case of names matters