Package org.jumpmind.db.alter
Class GeneratedColumnDefinitionChange
java.lang.Object
org.jumpmind.db.alter.TableChangeImplBase
org.jumpmind.db.alter.GeneratedColumnDefinitionChange
- All Implemented Interfaces:
ColumnChange,IModelChange,TableChange
Represents the change of the definition of a generated column.
-
Constructor Summary
ConstructorsConstructorDescriptionGeneratedColumnDefinitionChange(Table table, Column column, String newDefinition) Creates a new change object. -
Method Summary
Modifier and TypeMethodDescriptionvoidApplies this change to the given database.Returns the column.Returns the new definition.Methods inherited from class org.jumpmind.db.alter.TableChangeImplBase
getChangedTableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jumpmind.db.alter.TableChange
getChangedTable
-
Constructor Details
-
GeneratedColumnDefinitionChange
Creates a new change object.- Parameters:
table- The table of the columncolumn- The columnnewDefinition- The new definition
-
-
Method Details
-
getChangedColumn
Returns the column.- Specified by:
getChangedColumnin interfaceColumnChange- Returns:
- The column
-
getNewDefinition
Returns the new definition.- Returns:
- The new definition
-
apply
Applies this change to the given database.- Specified by:
applyin interfaceIModelChange- Parameters:
database- The databasecaseSensitive- Whether the case of names matters
-