| 1 |
|
package liquibase.statement.core; |
| 2 |
|
|
| 3 |
|
import liquibase.statement.AbstractSqlStatement; |
| 4 |
|
|
|
|
|
| 27.3% |
Uncovered Elements: 8 (11) |
Complexity: 5 |
Complexity Density: 0.83 |
|
| 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 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
| 16 |
1
|
public FindForeignKeyConstraintsStatement(String baseTableSchemaName, String baseTableName) {... |
| 17 |
1
|
this.baseTableSchemaName = baseTableSchemaName; |
| 18 |
1
|
this.baseTableName = baseTableName; |
| 19 |
|
} |
| 20 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 21 |
0
|
public String getBaseTableSchemaName() {... |
| 22 |
0
|
return baseTableSchemaName; |
| 23 |
|
} |
| 24 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 25 |
0
|
public void setBaseTableSchemaName(String baseTableSchemaName) {... |
| 26 |
0
|
this.baseTableSchemaName = baseTableSchemaName; |
| 27 |
|
} |
| 28 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 29 |
0
|
public String getBaseTableName() {... |
| 30 |
0
|
return baseTableName; |
| 31 |
|
} |
| 32 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 33 |
0
|
public void setBaseTableName(String baseTableName) {... |
| 34 |
0
|
this.baseTableName = baseTableName; |
| 35 |
|
} |
| 36 |
|
} |