1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.coa.businessobject;
17
18 import java.util.ArrayList;
19 import java.util.LinkedHashMap;
20 import java.util.List;
21
22 import org.kuali.ole.sys.OLEPropertyConstants;
23 import org.kuali.ole.sys.businessobject.FiscalYearBasedBusinessObject;
24 import org.kuali.ole.sys.businessobject.SystemOptions;
25 import org.kuali.ole.sys.context.SpringContext;
26 import org.kuali.ole.sys.service.UniversityDateService;
27 import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
28 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
29
30 public class IndirectCostRecoveryRate extends PersistableBusinessObjectBase implements MutableInactivatable, FiscalYearBasedBusinessObject {
31
32 private Integer universityFiscalYear;
33 private String financialIcrSeriesIdentifier;
34 private boolean active;
35 private List indirectCostRecoveryRateDetails;
36
37 private SystemOptions universityFiscal;
38
39 public IndirectCostRecoveryRate() {
40 universityFiscalYear = SpringContext.getBean(UniversityDateService.class).getCurrentFiscalYear();
41 indirectCostRecoveryRateDetails = new ArrayList<IndirectCostRecoveryRateDetail>();
42 }
43
44
45 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
46
47 LinkedHashMap m = new LinkedHashMap();
48 m.put(OLEPropertyConstants.UNIVERSITY_FISCAL_YEAR, this.universityFiscalYear);
49 m.put(OLEPropertyConstants.FINANCIAL_ICR_SERIES_IDENTIFIER, this.financialIcrSeriesIdentifier);
50
51 return m;
52 }
53
54 public Integer getUniversityFiscalYear() {
55 return universityFiscalYear;
56 }
57
58 public void setUniversityFiscalYear(Integer universityFiscalYear) {
59 this.universityFiscalYear = universityFiscalYear;
60 }
61
62 public SystemOptions getUniversityFiscal() {
63 return universityFiscal;
64 }
65
66 public void setUniversityFiscal(SystemOptions universityFiscal) {
67 this.universityFiscal = universityFiscal;
68 }
69
70 public List getIndirectCostRecoveryRateDetails() {
71 return indirectCostRecoveryRateDetails;
72 }
73
74 public void setIndirectCostRecoveryRateDetails(List indirectCostRecoveryRateDetails) {
75 this.indirectCostRecoveryRateDetails = indirectCostRecoveryRateDetails;
76 }
77
78 public String getFinancialIcrSeriesIdentifier() {
79 return financialIcrSeriesIdentifier;
80 }
81
82 public void setFinancialIcrSeriesIdentifier(String financialIcrSeriesIdentifier) {
83 this.financialIcrSeriesIdentifier = financialIcrSeriesIdentifier;
84 }
85
86 public boolean isActive() {
87 return active;
88 }
89
90 public void setActive(boolean active) {
91 this.active = active;
92 }
93
94 }