View Javadoc

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      public RenameTableStatement(String schemaName, String oldTableName, String newTableName) {
11          this.schemaName = schemaName;
12          this.oldTableName = oldTableName;
13          this.newTableName = newTableName;
14      }
15  
16      public String getSchemaName() {
17          return schemaName;
18      }
19  
20      public String getOldTableName() {
21          return oldTableName;
22      }
23  
24      public String getNewTableName() {
25          return newTableName;
26      }
27  }