liquibase.statement.core.DropUniqueConstraintStatement Maven / Gradle / Ivy
package liquibase.statement.core;
import liquibase.statement.AbstractSqlStatement;
public class DropUniqueConstraintStatement extends AbstractSqlStatement {
private String schemaName;
private String tableName;
private String constraintName;
/**
* Sybase ASA does drop unique constraint not by name, but using list of the columns in unique clause.
*/
private String uniqueColumns;
public DropUniqueConstraintStatement(String schemaName, String tableName, String constraintName) {
this.schemaName = schemaName;
this.tableName = tableName;
this.constraintName = constraintName;
}
public DropUniqueConstraintStatement(String schemaName, String tableName, String constraintName, String uniqueColumns) {
this.schemaName = schemaName;
this.tableName = tableName;
this.constraintName = constraintName;
this.uniqueColumns = uniqueColumns;
}
public String getSchemaName() {
return schemaName;
}
public String getTableName() {
return tableName;
}
public String getConstraintName() {
return constraintName;
}
public String getUniqueColumns() {
return uniqueColumns;
}
public void setUniqueColumns(String uniqueColumns) {
this.uniqueColumns = uniqueColumns;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy