liquibase.change.core
Class DropTableChange

java.lang.Object
  extended by liquibase.change.AbstractChange
      extended by liquibase.change.core.DropTableChange
All Implemented Interfaces:
Change

public class DropTableChange
extends AbstractChange

Drops an existing table.


Constructor Summary
DropTableChange()
           
 
Method Summary
 SqlStatement[] generateStatements(Database database)
          Generates the SQL statements required to run the change
 String getConfirmationMessage()
           
 String getSchemaName()
           
 String getTableName()
           
 Boolean isCascadeConstraints()
           
 void setCascadeConstraints(Boolean cascadeConstraints)
           
 void setSchemaName(String schemaName)
           
 void setTableName(String tableName)
           
 
Methods inherited from class liquibase.change.AbstractChange
createInverses, generateCheckSum, generateRollbackStatements, getAffectedDatabaseObjects, getChangeLogParameters, getChangeMetaData, getChangeSet, getResourceAccessor, init, requiresUpdatedDatabaseMetadata, setChangeLogParameters, 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
 

Constructor Detail

DropTableChange

public DropTableChange()
Method Detail

getSchemaName

public String getSchemaName()

setSchemaName

public void setSchemaName(String schemaName)

getTableName

public String getTableName()

setTableName

public void setTableName(String tableName)

isCascadeConstraints

public Boolean isCascadeConstraints()

setCascadeConstraints

public void setCascadeConstraints(Boolean cascadeConstraints)

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 Strings with the statements

getConfirmationMessage

public String getConfirmationMessage()
Returns:
Confirmation message to be displayed after the change is executed


Copyright © 2012 Liquibase.org. All Rights Reserved.