View Javadoc
1   /*
2    * Copyright 2006 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  
17  package org.kuali.ole.coa.businessobject;
18  
19  import java.sql.Timestamp;
20  import java.util.HashMap;
21  import java.util.Map;
22  
23  import org.apache.commons.lang.StringUtils;
24  import org.kuali.ole.sys.context.SpringContext;
25  import org.kuali.rice.kim.api.identity.Person;
26  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
27  import org.kuali.rice.krad.service.KualiModuleService;
28  import org.kuali.rice.krad.service.ModuleService;
29  import org.kuali.rice.location.api.LocationConstants;
30  import org.kuali.rice.location.framework.campus.CampusEbo;
31  
32  /**
33   * 
34   */
35  public class OrganizationExtension extends PersistableBusinessObjectBase {
36  
37      private String chartOfAccountsCode;
38      private String organizationCode;
39      private String hrmsShortDescription;
40      private String hrmsCompany;
41      private String hrmsSetIdLocation;
42      private String hrmsLocation;
43      private String hrmsTaxLocationCode;
44      private String hrmsPersonnelApproverUniversalId;
45      private String hrmsManagerPositionNumber;
46      private Integer hrmsBudgetYearEndDate;
47      private String hrmsBudgetLevel;
48      private String hrmsGeneralLedgerExpense;
49      private String hrmsEqualEmploymentOpportunity4Function;
50      private String hrmsAccidentInsurance;
51      private String hrmsSocialInsuranceAccidentNumber;
52      private String hrmsHazard;
53      private String hrmsEstablishmentId;
54      private String hrmsRiskCode;
55      private String hrmsFullTimeEmploymentEditIndicator;
56      private String hrmsDepartmentTenureFlag;
57      private String hrmsTimeAndLaborDistributionInformation;
58      private String hrmsUseBudgetsIndicator;
59      private String hrmsUseEncumbrancesIndicator;
60      private String hrmsUseDistributionIndicator;
61      private String hrmsBudgetDepartmentId;
62      private String hrmsDistributionProrateOption;
63      private String hrmsHealthProgramStatisticsDepartmentCode;
64      private String hrmsHealthProgramStatisticsFaculty;
65      private String hrmsAccountingOwner;
66      private String hrmsCountryGroup;
67      private String hrmsIuOrganizationMailDropCode;
68      private String hrmsIuOrganizationAddress2;
69      private String hrmsIuOrganizationAddress3;
70      private String hrmsIuCampusCode;
71      private String hrmsIuCampusBuilding;
72      private String hrmsIuCampusRoom;
73      private boolean hrmsIuPositionAllowedFlag;
74      private boolean hrmsIuTenureAllowedFlag;
75      private boolean hrmsIuTitleAllowedFlag;
76      private boolean hrmsIuOccupationalUnitAllowedFlag;
77      private String fiscalApproverUniversalId;
78      private Timestamp hrmsLastUpdateDate;
79  
80      private Chart chartOfAccounts;
81      private Organization organization;
82      private Person hrmsPersonnelApproverUniversal;
83      private CampusEbo hrmsIuCampus;
84      private Person fiscalApproverUniversal;
85  
86      /**
87       * Default constructor.
88       */
89      public OrganizationExtension() {
90  
91      }
92  
93      /**
94       * Gets the chartOfAccountsCode attribute.
95       * 
96       * @return Returns the chartOfAccountsCode
97       */
98      public String getChartOfAccountsCode() {
99          return chartOfAccountsCode;
100     }
101 
102     /**
103      * Sets the chartOfAccountsCode attribute.
104      * 
105      * @param chartOfAccountsCode The chartOfAccountsCode to set.
106      */
107     public void setChartOfAccountsCode(String chartOfAccountsCode) {
108         this.chartOfAccountsCode = chartOfAccountsCode;
109     }
110 
111 
112     /**
113      * Gets the organizationCode attribute.
114      * 
115      * @return Returns the organizationCode
116      */
117     public String getOrganizationCode() {
118         return organizationCode;
119     }
120 
121     /**
122      * Sets the organizationCode attribute.
123      * 
124      * @param organizationCode The organizationCode to set.
125      */
126     public void setOrganizationCode(String organizationCode) {
127         this.organizationCode = organizationCode;
128     }
129 
130 
131     /**
132      * Gets the hrmsShortDescription attribute.
133      * 
134      * @return Returns the hrmsShortDescription
135      */
136     public String getHrmsShortDescription() {
137         return hrmsShortDescription;
138     }
139 
140     /**
141      * Sets the hrmsShortDescription attribute.
142      * 
143      * @param hrmsShortDescription The hrmsShortDescription to set.
144      */
145     public void setHrmsShortDescription(String hrmsShortDescription) {
146         this.hrmsShortDescription = hrmsShortDescription;
147     }
148 
149 
150     /**
151      * Gets the hrmsCompany attribute.
152      * 
153      * @return Returns the hrmsCompany
154      */
155     public String getHrmsCompany() {
156         return hrmsCompany;
157     }
158 
159     /**
160      * Sets the hrmsCompany attribute.
161      * 
162      * @param hrmsCompany The hrmsCompany to set.
163      */
164     public void setHrmsCompany(String hrmsCompany) {
165         this.hrmsCompany = hrmsCompany;
166     }
167 
168 
169     /**
170      * Gets the hrmsSetIdLocation attribute.
171      * 
172      * @return Returns the hrmsSetIdLocation
173      */
174     public String getHrmsSetIdLocation() {
175         return hrmsSetIdLocation;
176     }
177 
178     /**
179      * Sets the hrmsSetIdLocation attribute.
180      * 
181      * @param hrmsSetIdLocation The hrmsSetIdLocation to set.
182      */
183     public void setHrmsSetIdLocation(String hrmsSetIdLocation) {
184         this.hrmsSetIdLocation = hrmsSetIdLocation;
185     }
186 
187 
188     /**
189      * Gets the hrmsLocation attribute.
190      * 
191      * @return Returns the hrmsLocation
192      */
193     public String getHrmsLocation() {
194         return hrmsLocation;
195     }
196 
197     /**
198      * Sets the hrmsLocation attribute.
199      * 
200      * @param hrmsLocation The hrmsLocation to set.
201      */
202     public void setHrmsLocation(String hrmsLocation) {
203         this.hrmsLocation = hrmsLocation;
204     }
205 
206 
207     /**
208      * Gets the hrmsTaxLocationCode attribute.
209      * 
210      * @return Returns the hrmsTaxLocationCode
211      */
212     public String getHrmsTaxLocationCode() {
213         return hrmsTaxLocationCode;
214     }
215 
216     /**
217      * Sets the hrmsTaxLocationCode attribute.
218      * 
219      * @param hrmsTaxLocationCode The hrmsTaxLocationCode to set.
220      */
221     public void setHrmsTaxLocationCode(String hrmsTaxLocationCode) {
222         this.hrmsTaxLocationCode = hrmsTaxLocationCode;
223     }
224 
225 
226     /**
227      * Gets the hrmsPersonnelApproverUniversalId attribute.
228      * 
229      * @return Returns the hrmsPersonnelApproverUniversalId
230      */
231     public String getHrmsPersonnelApproverUniversalId() {
232         return hrmsPersonnelApproverUniversalId;
233     }
234 
235     /**
236      * Sets the hrmsPersonnelApproverUniversalId attribute.
237      * 
238      * @param hrmsPersonnelApproverUniversalId The hrmsPersonnelApproverUniversalId to set.
239      */
240     public void setHrmsPersonnelApproverUniversalId(String hrmsPersonnelApproverUniversalId) {
241         this.hrmsPersonnelApproverUniversalId = hrmsPersonnelApproverUniversalId;
242     }
243 
244 
245     /**
246      * Gets the hrmsManagerPositionNumber attribute.
247      * 
248      * @return Returns the hrmsManagerPositionNumber
249      */
250     public String getHrmsManagerPositionNumber() {
251         return hrmsManagerPositionNumber;
252     }
253 
254     /**
255      * Sets the hrmsManagerPositionNumber attribute.
256      * 
257      * @param hrmsManagerPositionNumber The hrmsManagerPositionNumber to set.
258      */
259     public void setHrmsManagerPositionNumber(String hrmsManagerPositionNumber) {
260         this.hrmsManagerPositionNumber = hrmsManagerPositionNumber;
261     }
262 
263 
264     /**
265      * Gets the hrmsBudgetYearEndDate attribute.
266      * 
267      * @return Returns the hrmsBudgetYearEndDate
268      */
269     public Integer getHrmsBudgetYearEndDate() {
270         return hrmsBudgetYearEndDate;
271     }
272 
273     /**
274      * Sets the hrmsBudgetYearEndDate attribute.
275      * 
276      * @param hrmsBudgetYearEndDate The hrmsBudgetYearEndDate to set.
277      */
278     public void setHrmsBudgetYearEndDate(Integer hrmsBudgetYearEndDate) {
279         this.hrmsBudgetYearEndDate = hrmsBudgetYearEndDate;
280     }
281 
282 
283     /**
284      * Gets the hrmsBudgetLevel attribute.
285      * 
286      * @return Returns the hrmsBudgetLevel
287      */
288     public String getHrmsBudgetLevel() {
289         return hrmsBudgetLevel;
290     }
291 
292     /**
293      * Sets the hrmsBudgetLevel attribute.
294      * 
295      * @param hrmsBudgetLevel The hrmsBudgetLevel to set.
296      */
297     public void setHrmsBudgetLevel(String hrmsBudgetLevel) {
298         this.hrmsBudgetLevel = hrmsBudgetLevel;
299     }
300 
301 
302     /**
303      * Gets the hrmsGeneralLedgerExpense attribute.
304      * 
305      * @return Returns the hrmsGeneralLedgerExpense
306      */
307     public String getHrmsGeneralLedgerExpense() {
308         return hrmsGeneralLedgerExpense;
309     }
310 
311     /**
312      * Sets the hrmsGeneralLedgerExpense attribute.
313      * 
314      * @param hrmsGeneralLedgerExpense The hrmsGeneralLedgerExpense to set.
315      */
316     public void setHrmsGeneralLedgerExpense(String hrmsGeneralLedgerExpense) {
317         this.hrmsGeneralLedgerExpense = hrmsGeneralLedgerExpense;
318     }
319 
320 
321     /**
322      * Gets the hrmsEqualEmploymentOpportunity4Function attribute.
323      * 
324      * @return Returns the hrmsEqualEmploymentOpportunity4Function
325      */
326     public String getHrmsEqualEmploymentOpportunity4Function() {
327         return hrmsEqualEmploymentOpportunity4Function;
328     }
329 
330     /**
331      * Sets the hrmsEqualEmploymentOpportunity4Function attribute.
332      * 
333      * @param hrmsEqualEmploymentOpportunity4Function The hrmsEqualEmploymentOpportunity4Function to set.
334      */
335     public void setHrmsEqualEmploymentOpportunity4Function(String hrmsEqualEmploymentOpportunity4Function) {
336         this.hrmsEqualEmploymentOpportunity4Function = hrmsEqualEmploymentOpportunity4Function;
337     }
338 
339 
340     /**
341      * Gets the hrmsAccidentInsurance attribute.
342      * 
343      * @return Returns the hrmsAccidentInsurance
344      */
345     public String getHrmsAccidentInsurance() {
346         return hrmsAccidentInsurance;
347     }
348 
349     /**
350      * Sets the hrmsAccidentInsurance attribute.
351      * 
352      * @param hrmsAccidentInsurance The hrmsAccidentInsurance to set.
353      */
354     public void setHrmsAccidentInsurance(String hrmsAccidentInsurance) {
355         this.hrmsAccidentInsurance = hrmsAccidentInsurance;
356     }
357 
358 
359     /**
360      * Gets the hrmsSocialInsuranceAccidentNumber attribute.
361      * 
362      * @return Returns the hrmsSocialInsuranceAccidentNumber
363      */
364     public String getHrmsSocialInsuranceAccidentNumber() {
365         return hrmsSocialInsuranceAccidentNumber;
366     }
367 
368     /**
369      * Sets the hrmsSocialInsuranceAccidentNumber attribute.
370      * 
371      * @param hrmsSocialInsuranceAccidentNumber The hrmsSocialInsuranceAccidentNumber to set.
372      */
373     public void setHrmsSocialInsuranceAccidentNumber(String hrmsSocialInsuranceAccidentNumber) {
374         this.hrmsSocialInsuranceAccidentNumber = hrmsSocialInsuranceAccidentNumber;
375     }
376 
377 
378     /**
379      * Gets the hrmsHazard attribute.
380      * 
381      * @return Returns the hrmsHazard
382      */
383     public String getHrmsHazard() {
384         return hrmsHazard;
385     }
386 
387     /**
388      * Sets the hrmsHazard attribute.
389      * 
390      * @param hrmsHazard The hrmsHazard to set.
391      */
392     public void setHrmsHazard(String hrmsHazard) {
393         this.hrmsHazard = hrmsHazard;
394     }
395 
396 
397     /**
398      * Gets the hrmsEstablishmentId attribute.
399      * 
400      * @return Returns the hrmsEstablishmentId
401      */
402     public String getHrmsEstablishmentId() {
403         return hrmsEstablishmentId;
404     }
405 
406     /**
407      * Sets the hrmsEstablishmentId attribute.
408      * 
409      * @param hrmsEstablishmentId The hrmsEstablishmentId to set.
410      */
411     public void setHrmsEstablishmentId(String hrmsEstablishmentId) {
412         this.hrmsEstablishmentId = hrmsEstablishmentId;
413     }
414 
415 
416     /**
417      * Gets the hrmsRiskCode attribute.
418      * 
419      * @return Returns the hrmsRiskCode
420      */
421     public String getHrmsRiskCode() {
422         return hrmsRiskCode;
423     }
424 
425     /**
426      * Sets the hrmsRiskCode attribute.
427      * 
428      * @param hrmsRiskCode The hrmsRiskCode to set.
429      */
430     public void setHrmsRiskCode(String hrmsRiskCode) {
431         this.hrmsRiskCode = hrmsRiskCode;
432     }
433 
434 
435     /**
436      * Gets the hrmsFullTimeEmploymentEditIndicator attribute.
437      * 
438      * @return Returns the hrmsFullTimeEmploymentEditIndicator
439      */
440     public String getHrmsFullTimeEmploymentEditIndicator() {
441         return hrmsFullTimeEmploymentEditIndicator;
442     }
443 
444     /**
445      * Sets the hrmsFullTimeEmploymentEditIndicator attribute.
446      * 
447      * @param hrmsFullTimeEmploymentEditIndicator The hrmsFullTimeEmploymentEditIndicator to set.
448      */
449     public void setHrmsFullTimeEmploymentEditIndicator(String hrmsFullTimeEmploymentEditIndicator) {
450         this.hrmsFullTimeEmploymentEditIndicator = hrmsFullTimeEmploymentEditIndicator;
451     }
452 
453 
454     /**
455      * Gets the hrmsDepartmentTenureFlag attribute.
456      * 
457      * @return Returns the hrmsDepartmentTenureFlag
458      */
459     public String getHrmsDepartmentTenureFlag() {
460         return hrmsDepartmentTenureFlag;
461     }
462 
463     /**
464      * Sets the hrmsDepartmentTenureFlag attribute.
465      * 
466      * @param hrmsDepartmentTenureFlag The hrmsDepartmentTenureFlag to set.
467      */
468     public void setHrmsDepartmentTenureFlag(String hrmsDepartmentTenureFlag) {
469         this.hrmsDepartmentTenureFlag = hrmsDepartmentTenureFlag;
470     }
471 
472 
473     /**
474      * Gets the hrmsTimeAndLaborDistributionInformation attribute.
475      * 
476      * @return Returns the hrmsTimeAndLaborDistributionInformation
477      */
478     public String getHrmsTimeAndLaborDistributionInformation() {
479         return hrmsTimeAndLaborDistributionInformation;
480     }
481 
482     /**
483      * Sets the hrmsTimeAndLaborDistributionInformation attribute.
484      * 
485      * @param hrmsTimeAndLaborDistributionInformation The hrmsTimeAndLaborDistributionInformation to set.
486      */
487     public void setHrmsTimeAndLaborDistributionInformation(String hrmsTimeAndLaborDistributionInformation) {
488         this.hrmsTimeAndLaborDistributionInformation = hrmsTimeAndLaborDistributionInformation;
489     }
490 
491 
492     /**
493      * Gets the hrmsUseBudgetsIndicator attribute.
494      * 
495      * @return Returns the hrmsUseBudgetsIndicator
496      */
497     public String getHrmsUseBudgetsIndicator() {
498         return hrmsUseBudgetsIndicator;
499     }
500 
501     /**
502      * Sets the hrmsUseBudgetsIndicator attribute.
503      * 
504      * @param hrmsUseBudgetsIndicator The hrmsUseBudgetsIndicator to set.
505      */
506     public void setHrmsUseBudgetsIndicator(String hrmsUseBudgetsIndicator) {
507         this.hrmsUseBudgetsIndicator = hrmsUseBudgetsIndicator;
508     }
509 
510 
511     /**
512      * Gets the hrmsUseEncumbrancesIndicator attribute.
513      * 
514      * @return Returns the hrmsUseEncumbrancesIndicator
515      */
516     public String getHrmsUseEncumbrancesIndicator() {
517         return hrmsUseEncumbrancesIndicator;
518     }
519 
520     /**
521      * Sets the hrmsUseEncumbrancesIndicator attribute.
522      * 
523      * @param hrmsUseEncumbrancesIndicator The hrmsUseEncumbrancesIndicator to set.
524      */
525     public void setHrmsUseEncumbrancesIndicator(String hrmsUseEncumbrancesIndicator) {
526         this.hrmsUseEncumbrancesIndicator = hrmsUseEncumbrancesIndicator;
527     }
528 
529 
530     /**
531      * Gets the hrmsUseDistributionIndicator attribute.
532      * 
533      * @return Returns the hrmsUseDistributionIndicator
534      */
535     public String getHrmsUseDistributionIndicator() {
536         return hrmsUseDistributionIndicator;
537     }
538 
539     /**
540      * Sets the hrmsUseDistributionIndicator attribute.
541      * 
542      * @param hrmsUseDistributionIndicator The hrmsUseDistributionIndicator to set.
543      */
544     public void setHrmsUseDistributionIndicator(String hrmsUseDistributionIndicator) {
545         this.hrmsUseDistributionIndicator = hrmsUseDistributionIndicator;
546     }
547 
548 
549     /**
550      * Gets the hrmsBudgetDepartmentId attribute.
551      * 
552      * @return Returns the hrmsBudgetDepartmentId
553      */
554     public String getHrmsBudgetDepartmentId() {
555         return hrmsBudgetDepartmentId;
556     }
557 
558     /**
559      * Sets the hrmsBudgetDepartmentId attribute.
560      * 
561      * @param hrmsBudgetDepartmentId The hrmsBudgetDepartmentId to set.
562      */
563     public void setHrmsBudgetDepartmentId(String hrmsBudgetDepartmentId) {
564         this.hrmsBudgetDepartmentId = hrmsBudgetDepartmentId;
565     }
566 
567 
568     /**
569      * Gets the hrmsDistributionProrateOption attribute.
570      * 
571      * @return Returns the hrmsDistributionProrateOption
572      */
573     public String getHrmsDistributionProrateOption() {
574         return hrmsDistributionProrateOption;
575     }
576 
577     /**
578      * Sets the hrmsDistributionProrateOption attribute.
579      * 
580      * @param hrmsDistributionProrateOption The hrmsDistributionProrateOption to set.
581      */
582     public void setHrmsDistributionProrateOption(String hrmsDistributionProrateOption) {
583         this.hrmsDistributionProrateOption = hrmsDistributionProrateOption;
584     }
585 
586 
587     /**
588      * Gets the hrmsHealthProgramStatisticsDepartmentCode attribute.
589      * 
590      * @return Returns the hrmsHealthProgramStatisticsDepartmentCode
591      */
592     public String getHrmsHealthProgramStatisticsDepartmentCode() {
593         return hrmsHealthProgramStatisticsDepartmentCode;
594     }
595 
596     /**
597      * Sets the hrmsHealthProgramStatisticsDepartmentCode attribute.
598      * 
599      * @param hrmsHealthProgramStatisticsDepartmentCode The hrmsHealthProgramStatisticsDepartmentCode to set.
600      */
601     public void setHrmsHealthProgramStatisticsDepartmentCode(String hrmsHealthProgramStatisticsDepartmentCode) {
602         this.hrmsHealthProgramStatisticsDepartmentCode = hrmsHealthProgramStatisticsDepartmentCode;
603     }
604 
605 
606     /**
607      * Gets the hrmsHealthProgramStatisticsFaculty attribute.
608      * 
609      * @return Returns the hrmsHealthProgramStatisticsFaculty
610      */
611     public String getHrmsHealthProgramStatisticsFaculty() {
612         return hrmsHealthProgramStatisticsFaculty;
613     }
614 
615     /**
616      * Sets the hrmsHealthProgramStatisticsFaculty attribute.
617      * 
618      * @param hrmsHealthProgramStatisticsFaculty The hrmsHealthProgramStatisticsFaculty to set.
619      */
620     public void setHrmsHealthProgramStatisticsFaculty(String hrmsHealthProgramStatisticsFaculty) {
621         this.hrmsHealthProgramStatisticsFaculty = hrmsHealthProgramStatisticsFaculty;
622     }
623 
624 
625     /**
626      * Gets the hrmsAccountingOwner attribute.
627      * 
628      * @return Returns the hrmsAccountingOwner
629      */
630     public String getHrmsAccountingOwner() {
631         return hrmsAccountingOwner;
632     }
633 
634     /**
635      * Sets the hrmsAccountingOwner attribute.
636      * 
637      * @param hrmsAccountingOwner The hrmsAccountingOwner to set.
638      */
639     public void setHrmsAccountingOwner(String hrmsAccountingOwner) {
640         this.hrmsAccountingOwner = hrmsAccountingOwner;
641     }
642 
643 
644     /**
645      * Gets the hrmsCountryGroup attribute.
646      * 
647      * @return Returns the hrmsCountryGroup
648      */
649     public String getHrmsCountryGroup() {
650         return hrmsCountryGroup;
651     }
652 
653     /**
654      * Sets the hrmsCountryGroup attribute.
655      * 
656      * @param hrmsCountryGroup The hrmsCountryGroup to set.
657      */
658     public void setHrmsCountryGroup(String hrmsCountryGroup) {
659         this.hrmsCountryGroup = hrmsCountryGroup;
660     }
661 
662 
663     /**
664      * Gets the hrmsIuOrganizationMailDropCode attribute.
665      * 
666      * @return Returns the hrmsIuOrganizationMailDropCode
667      */
668     public String getHrmsIuOrganizationMailDropCode() {
669         return hrmsIuOrganizationMailDropCode;
670     }
671 
672     /**
673      * Sets the hrmsIuOrganizationMailDropCode attribute.
674      * 
675      * @param hrmsIuOrganizationMailDropCode The hrmsIuOrganizationMailDropCode to set.
676      */
677     public void setHrmsIuOrganizationMailDropCode(String hrmsIuOrganizationMailDropCode) {
678         this.hrmsIuOrganizationMailDropCode = hrmsIuOrganizationMailDropCode;
679     }
680 
681 
682     /**
683      * Gets the hrmsIuOrganizationAddress2 attribute.
684      * 
685      * @return Returns the hrmsIuOrganizationAddress2
686      */
687     public String getHrmsIuOrganizationAddress2() {
688         return hrmsIuOrganizationAddress2;
689     }
690 
691     /**
692      * Sets the hrmsIuOrganizationAddress2 attribute.
693      * 
694      * @param hrmsIuOrganizationAddress2 The hrmsIuOrganizationAddress2 to set.
695      */
696     public void setHrmsIuOrganizationAddress2(String hrmsIuOrganizationAddress2) {
697         this.hrmsIuOrganizationAddress2 = hrmsIuOrganizationAddress2;
698     }
699 
700 
701     /**
702      * Gets the hrmsIuOrganizationAddress3 attribute.
703      * 
704      * @return Returns the hrmsIuOrganizationAddress3
705      */
706     public String getHrmsIuOrganizationAddress3() {
707         return hrmsIuOrganizationAddress3;
708     }
709 
710     /**
711      * Sets the hrmsIuOrganizationAddress3 attribute.
712      * 
713      * @param hrmsIuOrganizationAddress3 The hrmsIuOrganizationAddress3 to set.
714      */
715     public void setHrmsIuOrganizationAddress3(String hrmsIuOrganizationAddress3) {
716         this.hrmsIuOrganizationAddress3 = hrmsIuOrganizationAddress3;
717     }
718 
719 
720     /**
721      * Gets the hrmsIuCampusCode attribute.
722      * 
723      * @return Returns the hrmsIuCampusCode
724      */
725     public String getHrmsIuCampusCode() {
726         return hrmsIuCampusCode;
727     }
728 
729     /**
730      * Sets the hrmsIuCampusCode attribute.
731      * 
732      * @param hrmsIuCampusCode The hrmsIuCampusCode to set.
733      */
734     public void setHrmsIuCampusCode(String hrmsIuCampusCode) {
735         this.hrmsIuCampusCode = hrmsIuCampusCode;
736     }
737 
738 
739     /**
740      * Gets the hrmsIuCampusBuilding attribute.
741      * 
742      * @return Returns the hrmsIuCampusBuilding
743      */
744     public String getHrmsIuCampusBuilding() {
745         return hrmsIuCampusBuilding;
746     }
747 
748     /**
749      * Sets the hrmsIuCampusBuilding attribute.
750      * 
751      * @param hrmsIuCampusBuilding The hrmsIuCampusBuilding to set.
752      */
753     public void setHrmsIuCampusBuilding(String hrmsIuCampusBuilding) {
754         this.hrmsIuCampusBuilding = hrmsIuCampusBuilding;
755     }
756 
757 
758     /**
759      * Gets the hrmsIuCampusRoom attribute.
760      * 
761      * @return Returns the hrmsIuCampusRoom
762      */
763     public String getHrmsIuCampusRoom() {
764         return hrmsIuCampusRoom;
765     }
766 
767     /**
768      * Sets the hrmsIuCampusRoom attribute.
769      * 
770      * @param hrmsIuCampusRoom The hrmsIuCampusRoom to set.
771      */
772     public void setHrmsIuCampusRoom(String hrmsIuCampusRoom) {
773         this.hrmsIuCampusRoom = hrmsIuCampusRoom;
774     }
775 
776     /**
777      * Gets the hrmsIuOccupationalUnitAllowedFlag attribute.
778      * 
779      * @return Returns the hrmsIuOccupationalUnitAllowedFlag.
780      */
781     public final boolean isHrmsIuOccupationalUnitAllowedFlag() {
782         return hrmsIuOccupationalUnitAllowedFlag;
783     }
784 
785     /**
786      * Sets the hrmsIuOccupationalUnitAllowedFlag attribute value.
787      * 
788      * @param hrmsIuOccupationalUnitAllowedFlag The hrmsIuOccupationalUnitAllowedFlag to set.
789      */
790     public final void setHrmsIuOccupationalUnitAllowedFlag(boolean hrmsIuOccupationalUnitAllowedFlag) {
791         this.hrmsIuOccupationalUnitAllowedFlag = hrmsIuOccupationalUnitAllowedFlag;
792     }
793 
794     /**
795      * Gets the hrmsIuPositionAllowedFlag attribute.
796      * 
797      * @return Returns the hrmsIuPositionAllowedFlag.
798      */
799     public final boolean isHrmsIuPositionAllowedFlag() {
800         return hrmsIuPositionAllowedFlag;
801     }
802 
803     /**
804      * Sets the hrmsIuPositionAllowedFlag attribute value.
805      * 
806      * @param hrmsIuPositionAllowedFlag The hrmsIuPositionAllowedFlag to set.
807      */
808     public final void setHrmsIuPositionAllowedFlag(boolean hrmsIuPositionAllowedFlag) {
809         this.hrmsIuPositionAllowedFlag = hrmsIuPositionAllowedFlag;
810     }
811 
812     /**
813      * Gets the hrmsIuTenureAllowedFlag attribute.
814      * 
815      * @return Returns the hrmsIuTenureAllowedFlag.
816      */
817     public final boolean isHrmsIuTenureAllowedFlag() {
818         return hrmsIuTenureAllowedFlag;
819     }
820 
821     /**
822      * Sets the hrmsIuTenureAllowedFlag attribute value.
823      * 
824      * @param hrmsIuTenureAllowedFlag The hrmsIuTenureAllowedFlag to set.
825      */
826     public final void setHrmsIuTenureAllowedFlag(boolean hrmsIuTenureAllowedFlag) {
827         this.hrmsIuTenureAllowedFlag = hrmsIuTenureAllowedFlag;
828     }
829 
830     /**
831      * Gets the hrmsIuTitleAllowedFlag attribute.
832      * 
833      * @return Returns the hrmsIuTitleAllowedFlag.
834      */
835     public final boolean isHrmsIuTitleAllowedFlag() {
836         return hrmsIuTitleAllowedFlag;
837     }
838 
839     /**
840      * Sets the hrmsIuTitleAllowedFlag attribute value.
841      * 
842      * @param hrmsIuTitleAllowedFlag The hrmsIuTitleAllowedFlag to set.
843      */
844     public final void setHrmsIuTitleAllowedFlag(boolean hrmsIuTitleAllowedFlag) {
845         this.hrmsIuTitleAllowedFlag = hrmsIuTitleAllowedFlag;
846     }
847 
848     /**
849      * Gets the fiscalApproverUniversalId attribute.
850      * 
851      * @return Returns the fiscalApproverUniversalId
852      */
853     public String getFiscalApproverUniversalId() {
854         return fiscalApproverUniversalId;
855     }
856 
857     /**
858      * Sets the fiscalApproverUniversalId attribute.
859      * 
860      * @param fiscalApproverUniversalId The fiscalApproverUniversalId to set.
861      */
862     public void setFiscalApproverUniversalId(String fiscalApproverUniversalId) {
863         this.fiscalApproverUniversalId = fiscalApproverUniversalId;
864     }
865 
866 
867     /**
868      * Gets the hrmsLastUpdateDate attribute.
869      * 
870      * @return Returns the hrmsLastUpdateDate
871      */
872     public Timestamp getHrmsLastUpdateDate() {
873         return hrmsLastUpdateDate;
874     }
875 
876     /**
877      * Sets the hrmsLastUpdateDate attribute.
878      * 
879      * @param hrmsLastUpdateDate The hrmsLastUpdateDate to set.
880      */
881     public void setHrmsLastUpdateDate(Timestamp hrmsLastUpdateDate) {
882         this.hrmsLastUpdateDate = hrmsLastUpdateDate;
883     }
884 
885 
886     /**
887      * Gets the chartOfAccounts attribute.
888      * 
889      * @return Returns the chartOfAccounts
890      */
891     public Chart getChartOfAccounts() {
892         return chartOfAccounts;
893     }
894 
895     /**
896      * Sets the chartOfAccounts attribute.
897      * 
898      * @param chartOfAccounts The chartOfAccounts to set.
899      * @deprecated
900      */
901     public void setChartOfAccounts(Chart chartOfAccounts) {
902         this.chartOfAccounts = chartOfAccounts;
903     }
904 
905     /**
906      * Gets the organization attribute.
907      * 
908      * @return Returns the organization
909      */
910     public Organization getOrganization() {
911         return organization;
912     }
913 
914     /**
915      * Sets the organization attribute.
916      * 
917      * @param organization The organization to set.
918      * @deprecated
919      */
920     public void setOrganization(Organization organization) {
921         this.organization = organization;
922     }
923 
924     public Person getHrmsPersonnelApproverUniversal() {
925         hrmsPersonnelApproverUniversal = SpringContext.getBean(org.kuali.rice.kim.api.identity.PersonService.class).updatePersonIfNecessary(hrmsPersonnelApproverUniversalId, hrmsPersonnelApproverUniversal);
926         return hrmsPersonnelApproverUniversal;
927     }
928 
929     /**
930      * Sets the hrmsPersonnelApproverUniversal attribute.
931      * 
932      * @param hrmsPersonnelApproverUniversal The hrmsPersonnelApproverUniversal to set.
933      * @deprecated
934      */
935     public void setHrmsPersonnelApproverUniversal(Person hrmsPersonnelApproverUniversal) {
936         this.hrmsPersonnelApproverUniversal = hrmsPersonnelApproverUniversal;
937     }
938 
939     /**
940      * Gets the hrmsIuCampus attribute.
941      * 
942      * @return Returns the hrmsIuCampus
943      */
944     public CampusEbo getHrmsIuCampus() {
945         if ( StringUtils.isBlank(hrmsIuCampusCode) ) {
946             hrmsIuCampus = null;
947         } else {
948             if ( hrmsIuCampus == null || !StringUtils.equals( hrmsIuCampus.getCode(),hrmsIuCampusCode) ) {
949                 ModuleService moduleService = SpringContext.getBean(KualiModuleService.class).getResponsibleModuleService(CampusEbo.class);
950                 if ( moduleService != null ) {
951                     Map<String,Object> keys = new HashMap<String, Object>(1);
952                     keys.put(LocationConstants.PrimaryKeyConstants.CODE, hrmsIuCampusCode);
953                     hrmsIuCampus = moduleService.getExternalizableBusinessObject(CampusEbo.class, keys);
954                 } else {
955                     throw new RuntimeException( "CONFIGURATION ERROR: No responsible module found for EBO class.  Unable to proceed." );
956                 }
957             }
958         }
959         return hrmsIuCampus;
960     }
961 
962     /**
963      * Sets the hrmsIuCampus attribute.
964      * 
965      * @param hrmsIuCampus The hrmsIuCampus to set.
966      * @deprecated
967      */
968     public void setHrmsIuCampus(CampusEbo hrmsIuCampus) {
969         this.hrmsIuCampus = hrmsIuCampus;
970     }
971 
972     public Person getFiscalApproverUniversal() {
973         fiscalApproverUniversal = SpringContext.getBean(org.kuali.rice.kim.api.identity.PersonService.class).updatePersonIfNecessary(fiscalApproverUniversalId, fiscalApproverUniversal);
974         return fiscalApproverUniversal;
975     }
976 
977     /**
978      * Sets the fiscalApproverUniversal attribute.
979      * 
980      * @param fiscalApproverUniversal The fiscalApproverUniversal to set.
981      * @deprecated
982      */
983     public void setFiscalApproverUniversal(Person fiscalApproverUniversal) {
984         this.fiscalApproverUniversal = fiscalApproverUniversal;
985     }
986 
987 }
988