1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kew.user;
17
18 import org.kuali.rice.kew.actionrequest.Recipient;
19 import org.kuali.rice.kew.rule.ResolvedQualifiedRole;
20
21
22
23
24
25
26 public class RoleRecipient implements Recipient {
27
28 private static final long serialVersionUID = -8694150869017306593L;
29
30 private String roleName;
31 private String qualifiedRoleName;
32 private ResolvedQualifiedRole resolvedQualifiedRole;
33 private Recipient targetRecipient;
34
35 public RoleRecipient(){}
36
37 public RoleRecipient(String roleName) {
38 this.roleName = roleName;
39 }
40
41 public RoleRecipient(String roleName, String qualifiedRoleName, ResolvedQualifiedRole resolvedQualifiedRole) {
42 this.roleName = roleName;
43 this.qualifiedRoleName = qualifiedRoleName;
44 this.resolvedQualifiedRole = resolvedQualifiedRole;
45 }
46
47 public String getRoleName() {
48 return roleName;
49 }
50
51 public void setRoleName(String roleName) {
52 this.roleName = roleName;
53 }
54
55 public String getQualifiedRoleName() {
56 return qualifiedRoleName;
57 }
58
59 public void setQualifiedRoleName(String qualifiedRoleName) {
60 this.qualifiedRoleName = qualifiedRoleName;
61 }
62
63 public ResolvedQualifiedRole getResolvedQualifiedRole() {
64 return resolvedQualifiedRole;
65 }
66
67 public void setResolvedQualifiedRole(ResolvedQualifiedRole resolvedQualifiedRole) {
68 this.resolvedQualifiedRole = resolvedQualifiedRole;
69 }
70
71 public Recipient getTarget() {
72 return targetRecipient;
73 }
74
75 public void setTarget(Recipient target) {
76 this.targetRecipient = target;
77 }
78 }