View Javadoc

1   /**
2    * Copyright 2005-2014 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  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          return testPrincipalNames;
60      }
61  
62      public void setTestPrincipalNames(Collection<String> testPrincipalNames) {
63          this.testPrincipalNames = testPrincipalNames;
64      }
65  
66      /**
67       * Gets the value of entityPrototype
68       *
69       * @return the value of entityPrototype
70       */
71      public Entity getEntityPrototype() {
72          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          this.entityPrototype = argEntityPrototype;
82      }
83  
84      /**
85       * Gets the value of externalIdTypeProperty
86       *
87       * @return the value of externalIdTypeProperty
88       */
89      public String getExternalIdTypeProperty() {
90          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          this.externalIdTypeProperty = argExternalIdTypeProperty;
100     }
101 
102     /**
103      * Gets the value of taxExternalIdTypeCode
104      *
105      * @return the value of taxExternalIdTypeCode
106      */
107     public String getTaxExternalIdTypeCode() {
108         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         this.taxExternalIdTypeCode = argTaxExternalIdTypeCode;
118     }
119 
120     /**
121      * Gets the value of externalIdProperty
122      *
123      * @return the value of externalIdProperty
124      */
125     public String getExternalIdProperty() {
126         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         this.externalIdProperty = argExternalIdProperty;
136     }
137 
138     /**
139      * Gets the value of employeePhoneLdapProperty
140      *
141      * @return the value of employeePhoneLdapProperty
142      */
143     public String getEmployeePhoneLdapProperty() {
144         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         this.employeePhoneLdapProperty = argEmployeePhoneLdapProperty;
154     }
155 
156     /**
157      * Gets the value of employeeMailLdapProperty
158      *
159      * @return the value of employeeMailLdapProperty
160      */
161     public String getEmployeeMailLdapProperty() {
162         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         this.employeeMailLdapProperty = argEmployeeMailLdapProperty;
172     }
173 
174     /**
175      * Gets the value of defaultCountryCode
176      *
177      * @return the value of defaultCountryCode
178      */
179     public String getDefaultCountryCode() {
180         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         this.defaultCountryCode = argDefaultCountryCode;
190     }
191 
192     /**
193      * Gets the value of personEntityTypeCode
194      *
195      * @return the value of personEntityTypeCode
196      */
197     public String getPersonEntityTypeCode() {
198         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         this.personEntityTypeCode = argPersonEntityTypeCode;
208     }
209 
210     /**
211      * Sets the value of kimLdapIdProperty
212      *
213      * @param kimLdapIdProperty value to set
214      */
215     public void setKimLdapIdProperty(String kimLdapIdProperty) {
216         this.kimLdapIdProperty = kimLdapIdProperty;
217     }
218 
219     /**
220      * Gets the value of kimLdapIdProperty
221      *
222      * @return the value of kimLdapIdProperty
223      */
224     public String getKimLdapIdProperty() {
225         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         this.kimLdapNameProperty = kimLdapNameProperty;
235     }
236 
237     /**
238      * Gets the value of kimLdapNameProperty
239      *
240      * @return the value of kimLdapNameProperty
241      */
242     public String getKimLdapNameProperty() {
243         return kimLdapNameProperty;
244     }
245 
246     /**
247      * Gets the value of snLdapProperty
248      *
249      * @return the value of snLdapProperty
250      */
251     public String getSnLdapProperty() {
252         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         this.snLdapProperty = argSnLdapProperty;
262     }
263 
264     /**
265      * Gets the value of givenNameLdapProperty
266      *
267      * @return the value of givenNameLdapProperty
268      */
269     public String getGivenNameLdapProperty() {
270         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         this.givenNameLdapProperty = argGivenNameLdapProperty;
280     }
281 
282     /**
283      * Gets the value of entityIdKimProperty
284      *
285      * @return the value of entityIdKimProperty
286      */
287     public String getEntityIdKimProperty() {
288         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         this.entityIdKimProperty = argEntityIdKimProperty;
298     }
299 
300     /**
301      * Gets the value of parameterNamespaceCode
302      *
303      * @return the value of parameterNamespaceCode
304      */
305     public String getParameterNamespaceCode() {
306         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         this.parameterNamespaceCode = argParameterNamespaceCode;
316     }
317 
318     /**
319      * Gets the value of parameterDetailTypeCode
320      *
321      * @return the value of parameterDetailTypeCode
322      */
323     public String getParameterDetailTypeCode() {
324         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         this.parameterDetailTypeCode = argParameterDetailTypeCode;
334     }
335 
336     /**
337      * Gets the value of mappedParameterName
338      *
339      * @return the value of mappedParameterName
340      */
341     public String getMappedParameterName() {
342         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         this.mappedParameterName = argMappedParameterName;
352     }
353 
354     /**
355      * Gets the value of unmappedParameterName
356      *
357      * @return the value of unmappedParameterName
358      */
359     public String getUnmappedParameterName() {
360         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         this.unmappedParameterName = argUnmappedParameterName;
370     }
371 
372     /**
373      * Gets the value of mappedValuesName
374      *
375      * @return the value of mappedValuesName
376      */
377     public String getMappedValuesName() {
378         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         this.mappedValuesName = argMappedValuesName;
388     }
389     
390     /**
391      * Gets the value of employeeIdProperty
392      *
393      * @return the value of employeeIdProperty
394      */
395     public String getEmployeeIdProperty() {
396         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         this.employeeIdProperty = argEmployeeIdProperty;
406     }
407 
408     /**
409      * Gets the value of departmentLdapProperty
410      *
411      * @return the value of departmentLdapProperty
412      */
413     public String getDepartmentLdapProperty() {
414         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         this.departmentLdapProperty = argDepartmentLdapProperty;
424     }
425 
426     /**
427      * Gets the value of employeeTypeProperty
428      *
429      * @return the value of employeeTypeProperty
430      */
431     public String getEmployeeTypeProperty() {
432         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         this.employeeTypeProperty = argEmployeeTypeProperty;
442     }
443 
444     /**
445      * Gets the value of employeeStatusProperty
446      *
447      * @return the value of employeeStatusProperty
448      */
449     public String getEmployeeStatusProperty() {
450         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         this.employeeStatusProperty = argEmployeeStatusProperty;
460     }
461 
462     /**
463      * Gets the value of defaultCampusCode
464      *
465      * @return the value of defaultCampusCode
466      */
467     public String getDefaultCampusCode() {
468         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         this.defaultCampusCode = argDefaultCampusCode;
478     }
479 
480 
481     public void setDefaultChartCode(String chartCode) {
482         this.defaultChartCode = chartCode;
483     }
484 
485     public String getDefaultChartCode() {
486         return defaultChartCode;
487     }
488 
489     public String getEmployeeAffiliationCodes() {
490         return employeeAffiliationCodes;
491     }
492 
493     public void setEmployeeAffiliationCodes(String employeeAffiliationCodes) {
494         this.employeeAffiliationCodes = employeeAffiliationCodes;
495     }
496 
497     public String getAffiliationMappings() {
498         return affiliationMappings;
499     }
500 
501     public void setAffiliationMappings(String affiliationMappings) {
502         this.affiliationMappings = affiliationMappings;
503     }
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         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         this.affiliationLdapProperty = affiliationLdapProperty;
519     }
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         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         this.primaryAffiliationLdapProperty = primaryAffiliationLdapProperty;
535     }
536 }