1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.sys.document.validation.event;
17
18 import java.util.Map;
19
20 import org.kuali.rice.krad.bo.AdHocRoutePerson;
21 import org.kuali.rice.krad.document.Document;
22
23
24 public class AttributedAddAdHocRoutePersonEvent extends AttributedDocumentEventBase implements AttributedDocumentEvent {
25 Map<String, Object> attributes;
26 private AdHocRoutePerson adHocRoutePerson;
27
28
29
30
31
32
33
34
35 public AttributedAddAdHocRoutePersonEvent(String errorPathPrefix, Document document, AdHocRoutePerson adHocRoutePerson) {
36 super("creating add ad hoc route person event for document " + getDocumentId(document), errorPathPrefix, document);
37 this.adHocRoutePerson = adHocRoutePerson;
38 }
39
40
41
42
43
44
45
46 public AttributedAddAdHocRoutePersonEvent(Document document, AdHocRoutePerson adHocRoutePerson) {
47 this("", document, adHocRoutePerson);
48 }
49
50
51
52
53
54
55 public AdHocRoutePerson getAdHocRoutePerson() {
56 return adHocRoutePerson;
57 }
58 }