liquibase.change.core
Class DropColumnChange
java.lang.Object
liquibase.change.AbstractChange
liquibase.change.core.DropColumnChange
- All Implemented Interfaces:
- Change
public class DropColumnChange
- extends AbstractChange
Drops an existing column from a table.
Methods inherited from class liquibase.change.AbstractChange |
createInverses, generateCheckSum, generateRollbackStatements, getAffectedDatabaseObjects, getChangeMetaData, getChangeSet, getResourceAccessor, init, requiresUpdatedDatabaseMetadata, setChangeSet, setPriority, setResourceAccessor, supports, supportsRollback, validate, warn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DropColumnChange
public DropColumnChange()
getColumnName
public String getColumnName()
setColumnName
public void setColumnName(String columnName)
getSchemaName
public String getSchemaName()
setSchemaName
public void setSchemaName(String schemaName)
getTableName
public String getTableName()
setTableName
public void setTableName(String tableName)
generateStatements
public SqlStatement[] generateStatements(Database database)
- Description copied from interface:
Change
- Generates the SQL statements required to run the change
- Parameters:
database
- databasethe target Database
associated to this change's statements
- Returns:
- an array of
String
s with the statements
getConfirmationMessage
public String getConfirmationMessage()
- Returns:
- Confirmation message to be displayed after the change is executed
Copyright © 2004-2011 Liquibase.org. All Rights Reserved.