View Javadoc
1   /*
2    * Copyright 2005-2008 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.math.BigDecimal;
20  import java.util.LinkedHashMap;
21  
22  import org.kuali.ole.sys.businessobject.FiscalYearBasedBusinessObject;
23  import org.kuali.ole.sys.businessobject.SystemOptions;
24  import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
25  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
26  
27  /**
28   * 
29   */
30  public class IndirectCostRecoveryRateDetail extends PersistableBusinessObjectBase implements MutableInactivatable, FiscalYearBasedBusinessObject {
31  
32      /**
33       * Default no-arg constructor.
34       */
35      public IndirectCostRecoveryRateDetail() {
36      }
37  
38      private Integer universityFiscalYear;
39      private String financialIcrSeriesIdentifier;
40      private Integer awardIndrCostRcvyEntryNbr;
41      private String transactionDebitIndicator;
42      private BigDecimal awardIndrCostRcvyRatePct;
43      private String chartOfAccountsCode;
44      private String accountNumber;
45      private String subAccountNumber;
46      private String financialObjectCode;
47      private String financialSubObjectCode;
48      private boolean active;
49  
50      private SystemOptions universityFiscal;
51      private IndirectCostRecoveryRate indirectCostRecoveryRate;
52      
53      /*
54       * Don't use reference objects because Chart, Account, Sub-Account, etc. contain special characters. RO 2/8/06 private Chart
55       * chartOfAccounts; private Account account; private SubAccount subAccount; private ObjectCode financialObject; private SubObjCd
56       * financialSubObject; private ObjectCode offsetBalanceSheetObjectCode;
57       */
58  
59      /*
60       * public Account getAccount() { return account; } public void setAccount(Account account) { this.account = account; }
61       */
62      public String getAccountNumber() {
63          return accountNumber;
64      }
65  
66  
67      public void setAccountNumber(String accountNumber) {
68          this.accountNumber = accountNumber;
69      }
70  
71  
72      public Integer getAwardIndrCostRcvyEntryNbr() {
73          return awardIndrCostRcvyEntryNbr;
74      }
75  
76  
77      public void setAwardIndrCostRcvyEntryNbr(Integer awardIndrCostRcvyEntryNbr) {
78          this.awardIndrCostRcvyEntryNbr = awardIndrCostRcvyEntryNbr;
79      }
80  
81  
82      public BigDecimal getAwardIndrCostRcvyRatePct() {
83          return awardIndrCostRcvyRatePct;
84      }
85  
86  
87      public void setAwardIndrCostRcvyRatePct(BigDecimal awardIndrCostRcvyRatePct) {
88          this.awardIndrCostRcvyRatePct = awardIndrCostRcvyRatePct;
89      }
90  
91      /*
92       * public Chart getChartOfAccounts() { return chartOfAccounts; } public void setChartOfAccounts(Chart chartOfAccounts) {
93       * this.chartOfAccounts = chartOfAccounts; }
94       */
95      public String getChartOfAccountsCode() {
96          return chartOfAccountsCode;
97      }
98  
99  
100     public void setChartOfAccountsCode(String chartOfAccountsCode) {
101         this.chartOfAccountsCode = chartOfAccountsCode;
102     }
103 
104 
105     public String getFinancialIcrSeriesIdentifier() {
106         return financialIcrSeriesIdentifier;
107     }
108 
109 
110     public void setFinancialIcrSeriesIdentifier(String financialIcrSeriesIdentifier) {
111         this.financialIcrSeriesIdentifier = financialIcrSeriesIdentifier;
112     }
113 
114 
115     /*
116      * public ObjectCode getFinancialObject() { return financialObject; } public void setFinancialObject(ObjectCode financialObject) {
117      * this.financialObject = financialObject; }
118      */
119     public String getFinancialObjectCode() {
120         return financialObjectCode;
121     }
122 
123 
124     public void setFinancialObjectCode(String financialObjectCode) {
125         this.financialObjectCode = financialObjectCode;
126     }
127 
128     /*
129      * public SubObjCd getFinancialSubObject() { return financialSubObject; } public void setFinancialSubObject(SubObjCd
130      * financialSubObject) { this.financialSubObject = financialSubObject; }
131      */
132 
133     public String getFinancialSubObjectCode() {
134         return financialSubObjectCode;
135     }
136 
137 
138     public void setFinancialSubObjectCode(String financialSubObjectCode) {
139         this.financialSubObjectCode = financialSubObjectCode;
140     }
141 
142     /*
143      * public SubAccount getSubAccount() { return subAccount; } public void setSubAccount(SubAccount subAccount) { this.subAccount =
144      * subAccount; }
145      */
146 
147     public String getSubAccountNumber() {
148         return subAccountNumber;
149     }
150 
151 
152     public void setSubAccountNumber(String subAccountNumber) {
153         this.subAccountNumber = subAccountNumber;
154     }
155 
156 
157     public String getTransactionDebitIndicator() {
158         return transactionDebitIndicator;
159     }
160 
161 
162     public void setTransactionDebitIndicator(String transactionDebitIndicator) {
163         this.transactionDebitIndicator = transactionDebitIndicator;
164     }
165 
166 
167     public SystemOptions getUniversityFiscal() {
168         return universityFiscal;
169     }
170 
171 
172     public void setUniversityFiscal(SystemOptions universityFiscal) {
173         this.universityFiscal = universityFiscal;
174     }
175 
176 
177     public Integer getUniversityFiscalYear() {
178         return universityFiscalYear;
179     }
180 
181 
182     public void setUniversityFiscalYear(Integer universityFiscalYear) {
183         this.universityFiscalYear = universityFiscalYear;
184     }
185 
186 
187     /**
188      * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
189      */
190     protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
191 
192         LinkedHashMap m = new LinkedHashMap();
193         m.put("universityFiscal", this.universityFiscalYear);
194         m.put("financialIcrSeriesIdentifier", this.financialIcrSeriesIdentifier);
195         m.put("awardIndrCostRcvyEntryNbr", this.awardIndrCostRcvyEntryNbr);
196 
197         return m;
198     }
199 
200 
201     public boolean isActive() {
202         return active;
203     }
204 
205 
206     public void setActive(boolean active) {
207         this.active = active;
208     }
209 
210     public IndirectCostRecoveryRate getIndirectCostRecoveryRate() {
211         return indirectCostRecoveryRate;
212     }
213 
214     public void setIndirectCostRecoveryRate(IndirectCostRecoveryRate indirectCostRecoveryRate) {
215         this.indirectCostRecoveryRate = indirectCostRecoveryRate;
216     }
217 }