1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.module.cg.document.validation.impl;
17
18 import java.util.ArrayList;
19 import java.util.List;
20
21
22
23
24 public class AuditCluster {
25
26 private String label;
27 private List auditErrorList;
28 private boolean softAudits;
29
30 public AuditCluster() {
31 this.auditErrorList = new ArrayList();
32 }
33
34 public AuditCluster(String label, List auditErrorList) {
35 this.label = label;
36 this.auditErrorList = auditErrorList;
37 }
38
39 public AuditCluster(String label, List auditErrorList, boolean softAudits) {
40 this(label, auditErrorList);
41 this.softAudits = softAudits;
42 }
43
44
45
46
47
48
49 public String getLabel() {
50 return label;
51 }
52
53
54
55
56
57
58 public void setLabel(String label) {
59 this.label = label;
60 }
61
62
63
64
65
66
67 public List getAuditErrorList() {
68 return auditErrorList;
69 }
70
71
72
73
74
75
76 public void setAuditErrorList(List auditErrorList) {
77 this.auditErrorList = auditErrorList;
78 }
79
80
81
82
83
84
85 public boolean isSoftAudits() {
86 return softAudits;
87 }
88
89
90
91
92
93
94 public void setSoftAudits(boolean softAudits) {
95 this.softAudits = softAudits;
96 }
97
98
99
100
101
102
103 public int getSize() {
104 return this.getAuditErrorList().size();
105 }
106 }