1 | |
package liquibase.statement.core; |
2 | |
|
3 | |
import liquibase.statement.AbstractSqlStatement; |
4 | |
|
5 | |
public class RenameTableStatement extends AbstractSqlStatement { |
6 | |
private String schemaName; |
7 | |
private String oldTableName; |
8 | |
private String newTableName; |
9 | |
|
10 | 45 | public RenameTableStatement(String schemaName, String oldTableName, String newTableName) { |
11 | 45 | this.schemaName = schemaName; |
12 | 45 | this.oldTableName = oldTableName; |
13 | 45 | this.newTableName = newTableName; |
14 | 45 | } |
15 | |
|
16 | |
public String getSchemaName() { |
17 | 1 | return schemaName; |
18 | |
} |
19 | |
|
20 | |
public String getOldTableName() { |
21 | 14 | return oldTableName; |
22 | |
} |
23 | |
|
24 | |
public String getNewTableName() { |
25 | 14 | return newTableName; |
26 | |
} |
27 | |
} |