liquibase.change.AbstractTableChange Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-core Show documentation
Show all versions of liquibase-core Show documentation
Liquibase is a tool for managing and executing database changes.
package liquibase.change;
public abstract class AbstractTableChange extends AbstractChange {
protected String catalogName;
protected String schemaName;
protected String tableName;
@DatabaseChangeProperty(since = "3.0", mustEqualExisting ="table.catalog")
public String getCatalogName() {
return catalogName;
}
public void setCatalogName(String catalogName) {
this.catalogName = catalogName;
}
@DatabaseChangeProperty(mustEqualExisting ="table.schema")
public String getSchemaName() {
return schemaName;
}
public void setSchemaName(String schemaName) {
this.schemaName = schemaName;
}
@DatabaseChangeProperty(
description="Name of the table",
mustEqualExisting= "table", requiredForDatabase = ChangeParameterMetaData.ALL)
public String getTableName() {
return tableName;
}
public void setTableName(String tableName) {
this.tableName = tableName;
}
}