Class ColumnGeneratedChange

java.lang.Object
org.jumpmind.db.alter.TableChangeImplBase
org.jumpmind.db.alter.ColumnGeneratedChange
All Implemented Interfaces:
ColumnChange, IModelChange, TableChange

public class ColumnGeneratedChange extends TableChangeImplBase implements ColumnChange
Represents a change in whether a column is generated.
  • Constructor Details

    • ColumnGeneratedChange

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

    • getChangedColumn

      public Column getChangedColumn()
      Returns the column.
      Specified by:
      getChangedColumn in interface ColumnChange
      Returns:
      The column
    • apply

      public void apply(Database database, boolean caseSensitive)
      Description copied from interface: IModelChange
      Applies this change to the given database.
      Specified by:
      apply in interface IModelChange
      Parameters:
      database - The database
      caseSensitive - Whether the case of names matters