1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.sec.businessobject;
17
18 import org.kuali.ole.sys.context.SpringContext;
19 import org.kuali.rice.kim.api.identity.Person;
20 import org.kuali.rice.krad.bo.TransientBusinessObjectBase;
21
22
23
24
25 public class AccessSecuritySimulation extends TransientBusinessObjectBase {
26
27 protected String principalId;
28 protected String templateId;
29 protected String attributeName;
30 protected String financialSystemDocumentTypeCode;
31 protected String inquiryNamespaceCode;
32
33
34 protected String attributeValue;
35 protected String attributeValueName;
36
37 protected Person securityPerson;
38
39 public AccessSecuritySimulation() {
40
41 }
42
43
44
45
46
47
48
49 public String getAttributeName() {
50 return attributeName;
51 }
52
53
54
55
56
57
58
59 public void setAttributeName(String attributeName) {
60 this.attributeName = attributeName;
61 }
62
63
64
65
66
67
68
69 public String getPrincipalId() {
70 return principalId;
71 }
72
73
74
75
76
77
78
79 public void setPrincipalId(String principalId) {
80 this.principalId = principalId;
81 }
82
83
84
85
86
87
88
89 public String getTemplateId() {
90 return templateId;
91 }
92
93
94
95
96
97
98
99 public void setTemplateId(String templateId) {
100 this.templateId = templateId;
101 }
102
103
104
105
106
107
108
109 public String getFinancialSystemDocumentTypeCode() {
110 return financialSystemDocumentTypeCode;
111 }
112
113
114
115
116
117
118
119 public void setFinancialSystemDocumentTypeCode(String financialSystemDocumentTypeCode) {
120 this.financialSystemDocumentTypeCode = financialSystemDocumentTypeCode;
121 }
122
123
124
125
126
127
128
129 public String getInquiryNamespaceCode() {
130 return inquiryNamespaceCode;
131 }
132
133
134
135
136
137
138
139 public void setInquiryNamespaceCode(String inquiryNamespaceCode) {
140 this.inquiryNamespaceCode = inquiryNamespaceCode;
141 }
142
143
144
145
146
147
148
149 public String getAttributeValue() {
150 return attributeValue;
151 }
152
153
154
155
156
157
158
159 public void setAttributeValue(String attributeValue) {
160 this.attributeValue = attributeValue;
161 }
162
163
164
165
166
167
168
169 public String getAttributeValueName() {
170 return attributeValueName;
171 }
172
173
174
175
176
177
178
179 public void setAttributeValueName(String attributeValueName) {
180 this.attributeValueName = attributeValueName;
181 }
182
183
184
185
186
187
188 public Person getSecurityPerson() {
189 securityPerson = SpringContext.getBean(org.kuali.rice.kim.api.identity.PersonService.class).updatePersonIfNecessary(principalId, securityPerson);
190 return securityPerson;
191 }
192
193
194
195
196
197
198
199 public void setSecurityPerson(Person securityPerson) {
200 this.securityPerson = securityPerson;
201 }
202
203 }