1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.coa.identity;
17
18 import org.kuali.rice.kim.api.role.RoleResponsibilityActionContract;
19 import org.kuali.rice.kim.api.role.RoleResponsibilityContract;
20 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
21
22 public class OleKimRoleResponsibilityAction extends PersistableBusinessObjectBase implements RoleResponsibilityActionContract {
23
24 protected String id;
25 protected String roleResponsibilityId;
26 protected String actionTypeCode;
27 protected String actionPolicyCode;
28 protected Integer priorityNumber;
29 protected String roleMemberId;
30 protected boolean forceAction;
31
32 public OleKimRoleResponsibilityAction() {}
33
34 public OleKimRoleResponsibilityAction( RoleResponsibilityActionContract b ) {
35 id = b.getId();
36 roleResponsibilityId = b.getRoleResponsibilityId();
37 roleMemberId = b.getRoleMemberId();
38 actionTypeCode = b.getActionTypeCode();
39 actionPolicyCode = b.getActionPolicyCode();
40 forceAction = b.isForceAction();
41 priorityNumber = b.getPriorityNumber();
42
43 }
44
45
46
47 @Override
48 public RoleResponsibilityContract getRoleResponsibility() {
49 throw new UnsupportedOperationException( "getRoleResponsibility needs to be implemented" );
50 }
51
52
53 public String getId() {
54 return id;
55 }
56
57
58 public void setId(String id) {
59 this.id = id;
60 }
61
62
63 public String getRoleResponsibilityId() {
64 return roleResponsibilityId;
65 }
66
67
68 public void setRoleResponsibilityId(String roleResponsibilityId) {
69 this.roleResponsibilityId = roleResponsibilityId;
70 }
71
72
73 public String getActionTypeCode() {
74 return actionTypeCode;
75 }
76
77
78 public void setActionTypeCode(String actionTypeCode) {
79 this.actionTypeCode = actionTypeCode;
80 }
81
82
83 public String getActionPolicyCode() {
84 return actionPolicyCode;
85 }
86
87
88 public void setActionPolicyCode(String actionPolicyCode) {
89 this.actionPolicyCode = actionPolicyCode;
90 }
91
92
93 public Integer getPriorityNumber() {
94 return priorityNumber;
95 }
96
97
98 public void setPriorityNumber(Integer priorityNumber) {
99 this.priorityNumber = priorityNumber;
100 }
101
102
103 public String getRoleMemberId() {
104 return roleMemberId;
105 }
106
107
108 public void setRoleMemberId(String roleMemberId) {
109 this.roleMemberId = roleMemberId;
110 }
111
112
113 public boolean isForceAction() {
114 return forceAction;
115 }
116
117
118 public void setForceAction(boolean forceAction) {
119 this.forceAction = forceAction;
120 }
121
122 }