1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.module.purap.document.validation.event;
17
18 import org.kuali.ole.module.purap.businessobject.SensitiveData;
19 import org.kuali.ole.sys.document.validation.event.AttributedDocumentEventBase;
20 import org.kuali.rice.krad.document.Document;
21
22 import java.util.List;
23
24 public final class AttributedAssignSensitiveDataEvent extends AttributedDocumentEventBase {
25
26 private String sensitiveDataAssignmentReason;
27 private List<SensitiveData> sensitiveDatasAssigned;
28
29
30
31
32
33
34
35
36 public AttributedAssignSensitiveDataEvent(String errorPathPrefix, Document document, String sensitiveDataAssignmentReason, List<SensitiveData> sensitiveDatasAssigned) {
37 super("Assign sensitive data to purchase order " + getDocumentId(document), errorPathPrefix, document);
38 this.sensitiveDataAssignmentReason = sensitiveDataAssignmentReason;
39 this.sensitiveDatasAssigned = sensitiveDatasAssigned;
40 }
41
42 public String getSensitiveDataAssignmentReason() {
43 return sensitiveDataAssignmentReason;
44 }
45
46 public void setSensitiveDataAssignmentReason(String sensitiveDataAssignmentReason) {
47 this.sensitiveDataAssignmentReason = sensitiveDataAssignmentReason;
48 }
49
50 public List<SensitiveData> getSensitiveDatasAssigned() {
51 return sensitiveDatasAssigned;
52 }
53
54 public void setSensitiveDatasAssigned(List<SensitiveData> sensitiveDatasAssigned) {
55 this.sensitiveDatasAssigned = sensitiveDatasAssigned;
56 }
57
58 }