liquibase.change.core
Class DropViewChange

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

public class DropViewChange
extends AbstractChange

Drops an existing view.


Constructor Summary
DropViewChange()
           
 
Method Summary
 SqlStatement[] generateStatements(Database database)
          Generates the SQL statements required to run the change
 java.lang.String getConfirmationMessage()
           
 java.lang.String getSchemaName()
           
 java.lang.String getViewName()
           
 void setSchemaName(java.lang.String schemaName)
           
 void setViewName(java.lang.String viewName)
           
 
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
 

Constructor Detail

DropViewChange

public DropViewChange()
Method Detail

getSchemaName

public java.lang.String getSchemaName()

setSchemaName

public void setSchemaName(java.lang.String schemaName)

getViewName

public java.lang.String getViewName()

setViewName

public void setViewName(java.lang.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 Strings with the statements

getConfirmationMessage

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


Copyright © 2010 Liquibase.org. All Rights Reserved.