|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectliquibase.change.AbstractChange
liquibase.change.core.DropForeignKeyConstraintChange
public class DropForeignKeyConstraintChange
Drops an existing foreign key constraint.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface liquibase.serializer.LiquibaseSerializable |
---|
LiquibaseSerializable.SerializationType |
Field Summary |
---|
Fields inherited from interface liquibase.serializer.LiquibaseSerializable |
---|
GENERIC_CHANGELOG_EXTENSION_NAMESPACE, GENERIC_SNAPSHOT_EXTENSION_NAMESPACE, STANDARD_CHANGELOG_NAMESPACE, STANDARD_SNAPSHOT_NAMESPACE |
Constructor Summary | |
---|---|
DropForeignKeyConstraintChange()
|
Method Summary | |
---|---|
SqlStatement[] |
generateStatements(Database database)
Generates the SqlStatement objects required to run the change for the given database. |
String |
getBaseTableCatalogName()
|
String |
getBaseTableName()
|
String |
getBaseTableSchemaName()
|
String |
getConfirmationMessage()
Confirmation message to be displayed after the change is executed. |
String |
getConstraintName()
|
String |
getSerializedObjectNamespace()
|
void |
setBaseTableCatalogName(String baseTableCatalogName)
|
void |
setBaseTableName(String baseTableName)
|
void |
setBaseTableSchemaName(String baseTableSchemaName)
|
void |
setConstraintName(String constraintName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DropForeignKeyConstraintChange()
Method Detail |
---|
public String getBaseTableCatalogName()
public void setBaseTableCatalogName(String baseTableCatalogName)
public String getBaseTableSchemaName()
public void setBaseTableSchemaName(String baseTableSchemaName)
public String getBaseTableName()
public void setBaseTableName(String baseTableName)
public String getConstraintName()
public void setConstraintName(String constraintName)
public SqlStatement[] generateStatements(Database database)
Change
SqlStatement
objects required to run the change for the given database.
NOTE: This method may be called multiple times throughout the changelog execution process and may be called in documentation generation and other integration points as well.
If this method reads from the current database state or uses any other logic that will be affected by whether previous changeSets have ran or not, you must return true from Change.generateStatementsVolatile(liquibase.database.Database)
.
public String getConfirmationMessage()
Change
public String getSerializedObjectNamespace()
getSerializedObjectNamespace
in interface LiquibaseSerializable
getSerializedObjectNamespace
in class AbstractChange
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |