1 | |
package liquibase.statement.core; |
2 | |
|
3 | |
import liquibase.statement.AbstractSqlStatement; |
4 | |
|
5 | |
public class FindForeignKeyConstraintsStatement extends AbstractSqlStatement { |
6 | |
|
7 | |
public static final String RESULT_COLUMN_BASE_TABLE_NAME = "TABLE_NAME"; |
8 | |
public static final String RESULT_COLUMN_BASE_TABLE_COLUMN_NAME = "COLUMN_NAME"; |
9 | |
public static final String RESULT_COLUMN_FOREIGN_TABLE_NAME = "REFERENCED_TABLE_NAME"; |
10 | |
public static final String RESULT_COLUMN_FOREIGN_COLUMN_NAME = "REFERENCED_COLUMN_NAME"; |
11 | |
public static final String RESULT_COLUMN_CONSTRAINT_NAME = "CONSTRAINT_NAME"; |
12 | |
|
13 | |
private String baseTableSchemaName; |
14 | |
private String baseTableName; |
15 | |
|
16 | 1 | public FindForeignKeyConstraintsStatement(String baseTableSchemaName, String baseTableName) { |
17 | 1 | this.baseTableSchemaName = baseTableSchemaName; |
18 | 1 | this.baseTableName = baseTableName; |
19 | 1 | } |
20 | |
|
21 | |
public String getBaseTableSchemaName() { |
22 | 0 | return baseTableSchemaName; |
23 | |
} |
24 | |
|
25 | |
public void setBaseTableSchemaName(String baseTableSchemaName) { |
26 | 0 | this.baseTableSchemaName = baseTableSchemaName; |
27 | 0 | } |
28 | |
|
29 | |
public String getBaseTableName() { |
30 | 0 | return baseTableName; |
31 | |
} |
32 | |
|
33 | |
public void setBaseTableName(String baseTableName) { |
34 | 0 | this.baseTableName = baseTableName; |
35 | 0 | } |
36 | |
} |