1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
package org.kuali.rice.kew.validation; |
18 |
|
|
19 |
|
import java.util.ArrayList; |
20 |
|
import java.util.List; |
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
@author |
26 |
|
|
|
|
| 0% |
Uncovered Elements: 6 (6) |
Complexity: 3 |
Complexity Density: 1 |
|
27 |
|
public class ValidationResults { |
28 |
|
|
29 |
|
public static final String GLOBAL = "org.kuali.rice.kew.validation.ValidationResults.GLOBAL"; |
30 |
|
|
31 |
|
private List validationResults = new ArrayList(); |
32 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
33 |
0
|
public void addValidationResult(String errorMessage) {... |
34 |
0
|
addValidationResult(GLOBAL, errorMessage); |
35 |
|
} |
36 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
37 |
0
|
public void addValidationResult(String fieldName, String errorMessage) {... |
38 |
0
|
validationResults.add(new ValidationResult(fieldName, errorMessage)); |
39 |
|
} |
40 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
41 |
0
|
public List getValidationResults() {... |
42 |
0
|
return validationResults; |
43 |
|
} |
44 |
|
|
45 |
|
} |