Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ConstantsImpl |
|
| 1.0;1 |
1 | /** | |
2 | * Copyright 2005-2011 The Kuali Foundation | |
3 | * | |
4 | * Licensed under the Educational Community License, Version 2.0 (the "License"); | |
5 | * you may not use this file except in compliance with the License. | |
6 | * You may obtain a copy of the License at | |
7 | * | |
8 | * http://www.opensource.org/licenses/ecl2.php | |
9 | * | |
10 | * Unless required by applicable law or agreed to in writing, software | |
11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
13 | * See the License for the specific language governing permissions and | |
14 | * limitations under the License. | |
15 | */ | |
16 | package org.kuali.rice.kim.util; | |
17 | ||
18 | import java.util.Collection; | |
19 | ||
20 | import org.kuali.rice.kim.api.identity.entity.Entity; | |
21 | ||
22 | /** | |
23 | * KIM Related Constants Implementation | |
24 | * | |
25 | * @author Leo Przybylski (przybyls@arizona.edu) | |
26 | */ | |
27 | 0 | class ConstantsImpl implements Constants { |
28 | private Collection<String> testPrincipalNames; | |
29 | private Entity entityPrototype; | |
30 | private String externalIdTypeProperty; | |
31 | private String taxExternalIdTypeCode; | |
32 | private String externalIdProperty; | |
33 | private String employeePhoneLdapProperty; | |
34 | private String employeeMailLdapProperty; | |
35 | private String defaultCountryCode; | |
36 | private String personEntityTypeCode; | |
37 | private String kimLdapIdProperty; | |
38 | private String kimLdapNameProperty; | |
39 | private String snLdapProperty; | |
40 | private String givenNameLdapProperty; | |
41 | private String entityIdKimProperty; | |
42 | private String parameterNamespaceCode; | |
43 | private String parameterDetailTypeCode; | |
44 | private String mappedParameterName; | |
45 | private String unmappedParameterName; | |
46 | private String mappedValuesName; | |
47 | private String employeeIdProperty; | |
48 | private String departmentLdapProperty; | |
49 | private String employeeTypeProperty; | |
50 | private String employeeStatusProperty; | |
51 | private String defaultCampusCode; | |
52 | private String defaultChartCode; | |
53 | private String employeeAffiliationCodes; | |
54 | private String affiliationMappings; | |
55 | private String affiliationLdapProperty; | |
56 | private String primaryAffiliationLdapProperty; | |
57 | ||
58 | public Collection<String> getTestPrincipalNames() { | |
59 | 0 | return testPrincipalNames; |
60 | } | |
61 | ||
62 | public void setTestPrincipalNames(Collection<String> testPrincipalNames) { | |
63 | 0 | this.testPrincipalNames = testPrincipalNames; |
64 | 0 | } |
65 | ||
66 | /** | |
67 | * Gets the value of entityPrototype | |
68 | * | |
69 | * @return the value of entityPrototype | |
70 | */ | |
71 | public Entity getEntityPrototype() { | |
72 | 0 | return entityPrototype; |
73 | } | |
74 | ||
75 | /** | |
76 | * Sets the value of entityPrototype | |
77 | * | |
78 | * @param argEntityPrototype Value to assign to this.entityPrototype | |
79 | */ | |
80 | public void setEntityPrototype(Entity argEntityPrototype) { | |
81 | 0 | this.entityPrototype = argEntityPrototype; |
82 | 0 | } |
83 | ||
84 | /** | |
85 | * Gets the value of externalIdTypeProperty | |
86 | * | |
87 | * @return the value of externalIdTypeProperty | |
88 | */ | |
89 | public String getExternalIdTypeProperty() { | |
90 | 0 | return this.externalIdTypeProperty; |
91 | } | |
92 | ||
93 | /** | |
94 | * Sets the value of externalIdTypeProperty | |
95 | * | |
96 | * @param argExternalIdTypeProperty Value to assign to this.externalIdTypeProperty | |
97 | */ | |
98 | public void setExternalIdTypeProperty(String argExternalIdTypeProperty) { | |
99 | 0 | this.externalIdTypeProperty = argExternalIdTypeProperty; |
100 | 0 | } |
101 | ||
102 | /** | |
103 | * Gets the value of taxExternalIdTypeCode | |
104 | * | |
105 | * @return the value of taxExternalIdTypeCode | |
106 | */ | |
107 | public String getTaxExternalIdTypeCode() { | |
108 | 0 | return this.taxExternalIdTypeCode; |
109 | } | |
110 | ||
111 | /** | |
112 | * Sets the value of taxExternalIdTypeCode | |
113 | * | |
114 | * @param argTaxExternalIdTypeCode Value to assign to this.taxExternalIdTypeCode | |
115 | */ | |
116 | public void setTaxExternalIdTypeCode(String argTaxExternalIdTypeCode) { | |
117 | 0 | this.taxExternalIdTypeCode = argTaxExternalIdTypeCode; |
118 | 0 | } |
119 | ||
120 | /** | |
121 | * Gets the value of externalIdProperty | |
122 | * | |
123 | * @return the value of externalIdProperty | |
124 | */ | |
125 | public String getExternalIdProperty() { | |
126 | 0 | return this.externalIdProperty; |
127 | } | |
128 | ||
129 | /** | |
130 | * Sets the value of externalIdProperty | |
131 | * | |
132 | * @param argExternalIdProperty Value to assign to this.externalIdProperty | |
133 | */ | |
134 | public void setExternalIdProperty(String argExternalIdProperty) { | |
135 | 0 | this.externalIdProperty = argExternalIdProperty; |
136 | 0 | } |
137 | ||
138 | /** | |
139 | * Gets the value of employeePhoneLdapProperty | |
140 | * | |
141 | * @return the value of employeePhoneLdapProperty | |
142 | */ | |
143 | public String getEmployeePhoneLdapProperty() { | |
144 | 0 | return this.employeePhoneLdapProperty; |
145 | } | |
146 | ||
147 | /** | |
148 | * Sets the value of employeePhoneLdapProperty | |
149 | * | |
150 | * @param argEmployeePhoneLdapProperty Value to assign to this.employeePhoneLdapProperty | |
151 | */ | |
152 | public void setEmployeePhoneLdapProperty(String argEmployeePhoneLdapProperty) { | |
153 | 0 | this.employeePhoneLdapProperty = argEmployeePhoneLdapProperty; |
154 | 0 | } |
155 | ||
156 | /** | |
157 | * Gets the value of employeeMailLdapProperty | |
158 | * | |
159 | * @return the value of employeeMailLdapProperty | |
160 | */ | |
161 | public String getEmployeeMailLdapProperty() { | |
162 | 0 | return this.employeeMailLdapProperty; |
163 | } | |
164 | ||
165 | /** | |
166 | * Sets the value of employeeMailLdapProperty | |
167 | * | |
168 | * @param argEmployeeMailLdapProperty Value to assign to this.employeeMailLdapProperty | |
169 | */ | |
170 | public void setEmployeeMailLdapProperty(String argEmployeeMailLdapProperty) { | |
171 | 0 | this.employeeMailLdapProperty = argEmployeeMailLdapProperty; |
172 | 0 | } |
173 | ||
174 | /** | |
175 | * Gets the value of defaultCountryCode | |
176 | * | |
177 | * @return the value of defaultCountryCode | |
178 | */ | |
179 | public String getDefaultCountryCode() { | |
180 | 0 | return this.defaultCountryCode; |
181 | } | |
182 | ||
183 | /** | |
184 | * Sets the value of defaultCountryCode | |
185 | * | |
186 | * @param argDefaultCountryCode Value to assign to this.defaultCountryCode | |
187 | */ | |
188 | public void setDefaultCountryCode(String argDefaultCountryCode) { | |
189 | 0 | this.defaultCountryCode = argDefaultCountryCode; |
190 | 0 | } |
191 | ||
192 | /** | |
193 | * Gets the value of personEntityTypeCode | |
194 | * | |
195 | * @return the value of personEntityTypeCode | |
196 | */ | |
197 | public String getPersonEntityTypeCode() { | |
198 | 0 | return this.personEntityTypeCode; |
199 | } | |
200 | ||
201 | /** | |
202 | * Sets the value of personEntityTypeCode | |
203 | * | |
204 | * @param argPersonEntityTypeCode Value to assign to this.personEntityTypeCode | |
205 | */ | |
206 | public void setPersonEntityTypeCode(String argPersonEntityTypeCode) { | |
207 | 0 | this.personEntityTypeCode = argPersonEntityTypeCode; |
208 | 0 | } |
209 | ||
210 | /** | |
211 | * Sets the value of kimLdapIdProperty | |
212 | * | |
213 | * @param kimLdapIdProperty value to set | |
214 | */ | |
215 | public void setKimLdapIdProperty(String kimLdapIdProperty) { | |
216 | 0 | this.kimLdapIdProperty = kimLdapIdProperty; |
217 | 0 | } |
218 | ||
219 | /** | |
220 | * Gets the value of kimLdapIdProperty | |
221 | * | |
222 | * @return the value of kimLdapIdProperty | |
223 | */ | |
224 | public String getKimLdapIdProperty() { | |
225 | 0 | return kimLdapIdProperty; |
226 | } | |
227 | ||
228 | /** | |
229 | * Gets the value of kimLdapNameProperty | |
230 | * | |
231 | * @param kimLdapNameProperty the value of kimLdapNameProperty | |
232 | */ | |
233 | public void setKimLdapNameProperty(String kimLdapNameProperty) { | |
234 | 0 | this.kimLdapNameProperty = kimLdapNameProperty; |
235 | 0 | } |
236 | ||
237 | /** | |
238 | * Gets the value of kimLdapNameProperty | |
239 | * | |
240 | * @return the value of kimLdapNameProperty | |
241 | */ | |
242 | public String getKimLdapNameProperty() { | |
243 | 0 | return kimLdapNameProperty; |
244 | } | |
245 | ||
246 | /** | |
247 | * Gets the value of snLdapProperty | |
248 | * | |
249 | * @return the value of snLdapProperty | |
250 | */ | |
251 | public String getSnLdapProperty() { | |
252 | 0 | return this.snLdapProperty; |
253 | } | |
254 | ||
255 | /** | |
256 | * Sets the value of snLdapProperty | |
257 | * | |
258 | * @param argSnLdapProperty Value to assign to this.snLdapProperty | |
259 | */ | |
260 | public void setSnLdapProperty(String argSnLdapProperty) { | |
261 | 0 | this.snLdapProperty = argSnLdapProperty; |
262 | 0 | } |
263 | ||
264 | /** | |
265 | * Gets the value of givenNameLdapProperty | |
266 | * | |
267 | * @return the value of givenNameLdapProperty | |
268 | */ | |
269 | public String getGivenNameLdapProperty() { | |
270 | 0 | return this.givenNameLdapProperty; |
271 | } | |
272 | ||
273 | /** | |
274 | * Sets the value of givenNameLdapProperty | |
275 | * | |
276 | * @param argGivenNameLdapProperty Value to assign to this.givenNameLdapProperty | |
277 | */ | |
278 | public void setGivenNameLdapProperty(String argGivenNameLdapProperty) { | |
279 | 0 | this.givenNameLdapProperty = argGivenNameLdapProperty; |
280 | 0 | } |
281 | ||
282 | /** | |
283 | * Gets the value of entityIdKimProperty | |
284 | * | |
285 | * @return the value of entityIdKimProperty | |
286 | */ | |
287 | public String getEntityIdKimProperty() { | |
288 | 0 | return this.entityIdKimProperty; |
289 | } | |
290 | ||
291 | /** | |
292 | * Sets the value of entityIdKimProperty | |
293 | * | |
294 | * @param argEntityIdKimProperty Value to assign to this.entityIdKimProperty | |
295 | */ | |
296 | public void setEntityIdKimProperty(String argEntityIdKimProperty) { | |
297 | 0 | this.entityIdKimProperty = argEntityIdKimProperty; |
298 | 0 | } |
299 | ||
300 | /** | |
301 | * Gets the value of parameterNamespaceCode | |
302 | * | |
303 | * @return the value of parameterNamespaceCode | |
304 | */ | |
305 | public String getParameterNamespaceCode() { | |
306 | 0 | return this.parameterNamespaceCode; |
307 | } | |
308 | ||
309 | /** | |
310 | * Sets the value of parameterNamespaceCode | |
311 | * | |
312 | * @param argParameterNamespaceCode Value to assign to this.parameterNamespaceCode | |
313 | */ | |
314 | public void setParameterNamespaceCode(String argParameterNamespaceCode) { | |
315 | 0 | this.parameterNamespaceCode = argParameterNamespaceCode; |
316 | 0 | } |
317 | ||
318 | /** | |
319 | * Gets the value of parameterDetailTypeCode | |
320 | * | |
321 | * @return the value of parameterDetailTypeCode | |
322 | */ | |
323 | public String getParameterDetailTypeCode() { | |
324 | 0 | return this.parameterDetailTypeCode; |
325 | } | |
326 | ||
327 | /** | |
328 | * Sets the value of parameterDetailTypeCode | |
329 | * | |
330 | * @param argParameterDetailTypeCode Value to assign to this.parameterDetailTypeCode | |
331 | */ | |
332 | public void setParameterDetailTypeCode(String argParameterDetailTypeCode) { | |
333 | 0 | this.parameterDetailTypeCode = argParameterDetailTypeCode; |
334 | 0 | } |
335 | ||
336 | /** | |
337 | * Gets the value of mappedParameterName | |
338 | * | |
339 | * @return the value of mappedParameterName | |
340 | */ | |
341 | public String getMappedParameterName() { | |
342 | 0 | return this.mappedParameterName; |
343 | } | |
344 | ||
345 | /** | |
346 | * Sets the value of mappedParameterName | |
347 | * | |
348 | * @param argMappedParameterName Value to assign to this.mappedParameterName | |
349 | */ | |
350 | public void setMappedParameterName(String argMappedParameterName) { | |
351 | 0 | this.mappedParameterName = argMappedParameterName; |
352 | 0 | } |
353 | ||
354 | /** | |
355 | * Gets the value of unmappedParameterName | |
356 | * | |
357 | * @return the value of unmappedParameterName | |
358 | */ | |
359 | public String getUnmappedParameterName() { | |
360 | 0 | return this.unmappedParameterName; |
361 | } | |
362 | ||
363 | /** | |
364 | * Sets the value of unmappedParameterName | |
365 | * | |
366 | * @param argUnmappedParameterName Value to assign to this.unmappedParameterName | |
367 | */ | |
368 | public void setUnmappedParameterName(String argUnmappedParameterName) { | |
369 | 0 | this.unmappedParameterName = argUnmappedParameterName; |
370 | 0 | } |
371 | ||
372 | /** | |
373 | * Gets the value of mappedValuesName | |
374 | * | |
375 | * @return the value of mappedValuesName | |
376 | */ | |
377 | public String getMappedValuesName() { | |
378 | 0 | return this.mappedValuesName; |
379 | } | |
380 | ||
381 | /** | |
382 | * Sets the value of mappedValuesName | |
383 | * | |
384 | * @param argMappedValuesName Value to assign to this.mappedValuesName | |
385 | */ | |
386 | public void setMappedValuesName(String argMappedValuesName) { | |
387 | 0 | this.mappedValuesName = argMappedValuesName; |
388 | 0 | } |
389 | ||
390 | /** | |
391 | * Gets the value of employeeIdProperty | |
392 | * | |
393 | * @return the value of employeeIdProperty | |
394 | */ | |
395 | public String getEmployeeIdProperty() { | |
396 | 0 | return this.employeeIdProperty; |
397 | } | |
398 | ||
399 | /** | |
400 | * Sets the value of employeeIdProperty | |
401 | * | |
402 | * @param argEmployeeIdProperty Value to assign to this.employeeIdProperty | |
403 | */ | |
404 | public void setEmployeeIdProperty(String argEmployeeIdProperty) { | |
405 | 0 | this.employeeIdProperty = argEmployeeIdProperty; |
406 | 0 | } |
407 | ||
408 | /** | |
409 | * Gets the value of departmentLdapProperty | |
410 | * | |
411 | * @return the value of departmentLdapProperty | |
412 | */ | |
413 | public String getDepartmentLdapProperty() { | |
414 | 0 | return this.departmentLdapProperty; |
415 | } | |
416 | ||
417 | /** | |
418 | * Sets the value of departmentLdapProperty | |
419 | * | |
420 | * @param argDepartmentLdapProperty Value to assign to this.departmentLdapProperty | |
421 | */ | |
422 | public void setDepartmentLdapProperty(String argDepartmentLdapProperty) { | |
423 | 0 | this.departmentLdapProperty = argDepartmentLdapProperty; |
424 | 0 | } |
425 | ||
426 | /** | |
427 | * Gets the value of employeeTypeProperty | |
428 | * | |
429 | * @return the value of employeeTypeProperty | |
430 | */ | |
431 | public String getEmployeeTypeProperty() { | |
432 | 0 | return this.employeeTypeProperty; |
433 | } | |
434 | ||
435 | /** | |
436 | * Sets the value of employeeTypeProperty | |
437 | * | |
438 | * @param argEmployeeTypeProperty Value to assign to this.employeeTypeProperty | |
439 | */ | |
440 | public void setEmployeeTypeProperty(String argEmployeeTypeProperty) { | |
441 | 0 | this.employeeTypeProperty = argEmployeeTypeProperty; |
442 | 0 | } |
443 | ||
444 | /** | |
445 | * Gets the value of employeeStatusProperty | |
446 | * | |
447 | * @return the value of employeeStatusProperty | |
448 | */ | |
449 | public String getEmployeeStatusProperty() { | |
450 | 0 | return this.employeeStatusProperty; |
451 | } | |
452 | ||
453 | /** | |
454 | * Sets the value of employeeStatusProperty | |
455 | * | |
456 | * @param argEmployeeStatusProperty Value to assign to this.employeeStatusProperty | |
457 | */ | |
458 | public void setEmployeeStatusProperty(String argEmployeeStatusProperty) { | |
459 | 0 | this.employeeStatusProperty = argEmployeeStatusProperty; |
460 | 0 | } |
461 | ||
462 | /** | |
463 | * Gets the value of defaultCampusCode | |
464 | * | |
465 | * @return the value of defaultCampusCode | |
466 | */ | |
467 | public String getDefaultCampusCode() { | |
468 | 0 | return this.defaultCampusCode; |
469 | } | |
470 | ||
471 | /** | |
472 | * Sets the value of defaultCampusCode | |
473 | * | |
474 | * @param argDefaultCampusCode Value to assign to this.defaultCampusCode | |
475 | */ | |
476 | public void setDefaultCampusCode(String argDefaultCampusCode) { | |
477 | 0 | this.defaultCampusCode = argDefaultCampusCode; |
478 | 0 | } |
479 | ||
480 | ||
481 | public void setDefaultChartCode(String chartCode) { | |
482 | 0 | this.defaultChartCode = chartCode; |
483 | 0 | } |
484 | ||
485 | public String getDefaultChartCode() { | |
486 | 0 | return defaultChartCode; |
487 | } | |
488 | ||
489 | public String getEmployeeAffiliationCodes() { | |
490 | 0 | return employeeAffiliationCodes; |
491 | } | |
492 | ||
493 | public void setEmployeeAffiliationCodes(String employeeAffiliationCodes) { | |
494 | 0 | this.employeeAffiliationCodes = employeeAffiliationCodes; |
495 | 0 | } |
496 | ||
497 | public String getAffiliationMappings() { | |
498 | 0 | return affiliationMappings; |
499 | } | |
500 | ||
501 | public void setAffiliationMappings(String affiliationMappings) { | |
502 | 0 | this.affiliationMappings = affiliationMappings; |
503 | 0 | } |
504 | ||
505 | /** | |
506 | * Gets the mappings for the affiliation ldap property | |
507 | * @return mapping for KIM affiliation and LDAP | |
508 | */ | |
509 | public String getAffiliationLdapProperty() { | |
510 | 0 | return affiliationLdapProperty; |
511 | } | |
512 | ||
513 | /** | |
514 | * Sets the mappings for the affiliation ldap property | |
515 | * @param affiliationLdapProperty mapping for KIM affiliation and LDAP | |
516 | */ | |
517 | public void setAffiliationLdapProperty(final String affiliationLdapProperty) { | |
518 | 0 | this.affiliationLdapProperty = affiliationLdapProperty; |
519 | 0 | } |
520 | ||
521 | /** | |
522 | * Gets the mappings for the primary affiliation ldap property | |
523 | * @return mapping for KIM primary affiliation and LDAP | |
524 | */ | |
525 | public String getPrimaryAffiliationLdapProperty() { | |
526 | 0 | return primaryAffiliationLdapProperty; |
527 | } | |
528 | ||
529 | /** | |
530 | * Sets the mappings for the affiliation ldap property | |
531 | * @param primaryAffiliationLdapProperty mapping for KIM primaryAffiliation and LDAP | |
532 | */ | |
533 | public void setPrimaryAffiliationLdapProperty(final String primaryAffiliationLdapProperty) { | |
534 | 0 | this.primaryAffiliationLdapProperty = primaryAffiliationLdapProperty; |
535 | 0 | } |
536 | } |