1 | |
package liquibase.statement.core; |
2 | |
|
3 | |
import liquibase.statement.AbstractSqlStatement; |
4 | |
|
5 | |
public class DropTableStatement extends AbstractSqlStatement { |
6 | |
|
7 | |
private String schemaName; |
8 | |
private String tableName; |
9 | |
private boolean cascadeConstraints; |
10 | |
|
11 | 48 | public DropTableStatement(String schemaName, String tableName, boolean cascadeConstraints) { |
12 | 48 | this.schemaName = schemaName; |
13 | 48 | this.tableName = tableName; |
14 | 48 | this.cascadeConstraints = cascadeConstraints; |
15 | 48 | } |
16 | |
|
17 | |
public String getSchemaName() { |
18 | 1 | return schemaName; |
19 | |
} |
20 | |
|
21 | |
public String getTableName() { |
22 | 16 | return tableName; |
23 | |
} |
24 | |
|
25 | |
public boolean isCascadeConstraints() { |
26 | 2 | return cascadeConstraints; |
27 | |
} |
28 | |
} |