liquibase.change.core
Class DropViewChange
java.lang.Object
liquibase.change.AbstractChange
liquibase.change.core.DropViewChange
- All Implemented Interfaces:
- Change
public class DropViewChange
- extends AbstractChange
Drops an existing view.
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 |
DropViewChange
public DropViewChange()
getSchemaName
public String getSchemaName()
setSchemaName
public void setSchemaName(String schemaName)
getViewName
public String getViewName()
setViewName
public void setViewName(String viewName)
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 © 2012 Liquibase.org. All Rights Reserved.