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