Clover Coverage Report - Liquibase Core 2.0.3-SNAPSHOT
Coverage timestamp: Sat Aug 6 2011 11:33:15 EDT
../../../img/srcFileCovDistChart7.png 19% of files have more coverage
12   49   7   1.71
0   35   0.58   7
7     1  
1    
 
  DropUniqueConstraintStatement       Line # 5 12 0% 7 7 63.2% 0.6315789
 
  (4)
 
1    package liquibase.statement.core;
2   
3    import liquibase.statement.AbstractSqlStatement;
4   
 
5    public class DropUniqueConstraintStatement extends AbstractSqlStatement {
6   
7    private String schemaName;
8    private String tableName;
9    private String constraintName;
10    /**
11    * Sybase ASA does drop unique constraint not by name, but using list of the columns in unique clause.
12    */
13    private String uniqueColumns;
14   
 
15  47 toggle 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   
 
21  0 toggle 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   
 
29  1 toggle public String getSchemaName() {
30  1 return schemaName;
31    }
32   
 
33  16 toggle public String getTableName() {
34  16 return tableName;
35    }
36   
 
37  1 toggle public String getConstraintName() {
38  1 return constraintName;
39    }
40   
 
41  0 toggle public String getUniqueColumns() {
42  0 return uniqueColumns;
43    }
44   
 
45  3 toggle public void setUniqueColumns(String uniqueColumns) {
46  3 this.uniqueColumns = uniqueColumns;
47    }
48   
49    }