| 1 |
|
package liquibase.statement.core; |
| 2 |
|
|
| 3 |
|
import liquibase.statement.AbstractSqlStatement; |
| 4 |
|
|
|
|
|
| 63.2% |
Uncovered Elements: 7 (19) |
Complexity: 7 |
Complexity Density: 0.58 |
|
| 5 |
|
public class DropUniqueConstraintStatement extends AbstractSqlStatement { |
| 6 |
|
|
| 7 |
|
private String schemaName; |
| 8 |
|
private String tableName; |
| 9 |
|
private String constraintName; |
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
private String uniqueColumns; |
| 14 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (3) |
Complexity: 1 |
Complexity Density: 0.33 |
|
| 15 |
47
|
public DropUniqueConstraintStatement(String schemaName, String tableName, String constraintName) {... |
| 16 |
47
|
this.schemaName = schemaName; |
| 17 |
47
|
this.tableName = tableName; |
| 18 |
47
|
this.constraintName = constraintName; |
| 19 |
|
} |
| 20 |
|
|
|
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 1 |
Complexity Density: 0.25 |
|
| 21 |
0
|
public DropUniqueConstraintStatement(String schemaName, String tableName, String constraintName,... |
| 22 |
|
String uniqueColumns) { |
| 23 |
0
|
this.schemaName = schemaName; |
| 24 |
0
|
this.tableName = tableName; |
| 25 |
0
|
this.constraintName = constraintName; |
| 26 |
0
|
this.uniqueColumns = uniqueColumns; |
| 27 |
|
} |
| 28 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 29 |
1
|
public String getSchemaName() {... |
| 30 |
1
|
return schemaName; |
| 31 |
|
} |
| 32 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 33 |
16
|
public String getTableName() {... |
| 34 |
16
|
return tableName; |
| 35 |
|
} |
| 36 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 37 |
1
|
public String getConstraintName() {... |
| 38 |
1
|
return constraintName; |
| 39 |
|
} |
| 40 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 41 |
0
|
public String getUniqueColumns() {... |
| 42 |
0
|
return uniqueColumns; |
| 43 |
|
} |
| 44 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 45 |
3
|
public void setUniqueColumns(String uniqueColumns) {... |
| 46 |
3
|
this.uniqueColumns = uniqueColumns; |
| 47 |
|
} |
| 48 |
|
|
| 49 |
|
} |