Clover Coverage Report - JDBC Support Utilities 1.1.0-SNAPSHOT
Coverage timestamp: Wed Dec 31 1969 19:00:00 EST
../../../../img/srcFileCovDistChart0.png 0% of files have more coverage
27   112   22   1.23
0   85   0.81   22
22     1  
1    
 
  SQLEvent       Line # 8 27 0% 22 49 0% 0.0
 
No Tests
 
1    package org.kuali.db.jdbc;
2   
3    import java.util.Date;
4   
5    /**
6    * Pojo for a database event
7    */
 
8    public class SQLEvent {
9    String message;
10    MessagePriority priority;
11    Date timestamp;
12    Throwable exception;
13    Transaction transaction;
14    int totalStatements;
15    int successfulStatements;
16    String sql;
17    int updateCountTotal;
18   
 
19  0 toggle public SQLEvent() {
20  0 this(null);
21    }
22   
 
23  0 toggle public SQLEvent(String message) {
24  0 this(message, MessagePriority.INFO);
25    }
26   
 
27  0 toggle public SQLEvent(String message, MessagePriority priority) {
28  0 this(message, priority, new Date(), null, null);
29    }
30   
 
31  0 toggle public SQLEvent(String message, MessagePriority priority, Date timestamp, Throwable exception,
32    Transaction transaction) {
33  0 super();
34  0 this.message = message;
35  0 this.priority = priority;
36  0 this.timestamp = timestamp;
37  0 this.exception = exception;
38  0 this.transaction = transaction;
39    }
40   
 
41  0 toggle public String getMessage() {
42  0 return message;
43    }
44   
 
45  0 toggle public void setMessage(String message) {
46  0 this.message = message;
47    }
48   
 
49  0 toggle public MessagePriority getPriority() {
50  0 return priority;
51    }
52   
 
53  0 toggle public void setPriority(MessagePriority priority) {
54  0 this.priority = priority;
55    }
56   
 
57  0 toggle public Date getTimestamp() {
58  0 return timestamp;
59    }
60   
 
61  0 toggle public void setTimestamp(Date timestamp) {
62  0 this.timestamp = timestamp;
63    }
64   
 
65  0 toggle public Throwable getException() {
66  0 return exception;
67    }
68   
 
69  0 toggle public void setException(Throwable exception) {
70  0 this.exception = exception;
71    }
72   
 
73  0 toggle public Transaction getTransaction() {
74  0 return transaction;
75    }
76   
 
77  0 toggle public void setTransaction(Transaction transaction) {
78  0 this.transaction = transaction;
79    }
80   
 
81  0 toggle public int getTotalStatements() {
82  0 return totalStatements;
83    }
84   
 
85  0 toggle public void setTotalStatements(int totalStatements) {
86  0 this.totalStatements = totalStatements;
87    }
88   
 
89  0 toggle public int getSuccessfulStatements() {
90  0 return successfulStatements;
91    }
92   
 
93  0 toggle public void setSuccessfulStatements(int successfulStatements) {
94  0 this.successfulStatements = successfulStatements;
95    }
96   
 
97  0 toggle public String getSql() {
98  0 return sql;
99    }
100   
 
101  0 toggle public void setSql(String sql) {
102  0 this.sql = sql;
103    }
104   
 
105  0 toggle public int getUpdateCountTotal() {
106  0 return updateCountTotal;
107    }
108   
 
109  0 toggle public void setUpdateCountTotal(int updateCountTotal) {
110  0 this.updateCountTotal = updateCountTotal;
111    }
112    }