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
19
20
21 public class AuditError {
22
23 private String errorKey;
24 private String messageKey;
25 private String link;
26 private String[] params;
27
28 public AuditError(String errorKey, String messageKey, String link) {
29 this.setErrorKey(errorKey);
30 this.setMessageKey(messageKey);
31 this.setLink(link);
32 this.params = new String[5];
33 }
34
35 public AuditError(String errorKey, String messageKey, String link, String[] params) {
36 this(errorKey, messageKey, link);
37 this.setParams(params);
38 }
39
40
41
42
43
44
45 public String getErrorKey() {
46 return errorKey;
47 }
48
49
50
51
52
53
54 public void setErrorKey(String errorKey) {
55 this.errorKey = errorKey;
56 }
57
58
59
60
61
62
63 public String getLink() {
64 return link;
65 }
66
67
68
69
70
71
72 public void setLink(String link) {
73 this.link = link;
74 }
75
76
77
78
79
80
81 public String getMessageKey() {
82 return messageKey;
83 }
84
85
86
87
88
89
90 public void setMessageKey(String messageKey) {
91 this.messageKey = messageKey;
92 }
93
94
95
96
97
98
99 public String[] getParams() {
100 return params;
101 }
102
103
104
105
106
107
108 public void setParams(String[] params) {
109 this.params = params;
110 }
111 }