liquibase.change.core
Class DropPrimaryKeyChange
java.lang.Object
liquibase.change.AbstractChange
liquibase.change.core.DropPrimaryKeyChange
- All Implemented Interfaces:
- Change
public class DropPrimaryKeyChange
- extends AbstractChange
Removes an existing primary key.
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 |
DropPrimaryKeyChange
public DropPrimaryKeyChange()
getSchemaName
public String getSchemaName()
setSchemaName
public void setSchemaName(String schemaName)
getTableName
public String getTableName()
setTableName
public void setTableName(String tableName)
getConstraintName
public String getConstraintName()
setConstraintName
public void setConstraintName(String constraintName)
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.