View Javadoc
1   /*
2    * The Kuali Financial System, a comprehensive financial management system for higher education.
3    * 
4    * Copyright 2005-2014 The Kuali Foundation
5    * 
6    * This program is free software: you can redistribute it and/or modify
7    * it under the terms of the GNU Affero General Public License as
8    * published by the Free Software Foundation, either version 3 of the
9    * License, or (at your option) any later version.
10   * 
11   * This program is distributed in the hope that it will be useful,
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   * GNU Affero General Public License for more details.
15   * 
16   * You should have received a copy of the GNU Affero General Public License
17   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18   */
19  
20  package org.kuali.kfs.module.bc.businessobject;
21  
22  import java.util.LinkedHashMap;
23  
24  import org.kuali.kfs.coa.businessobject.Account;
25  import org.kuali.kfs.coa.businessobject.Chart;
26  import org.kuali.kfs.coa.businessobject.FundGroup;
27  import org.kuali.kfs.coa.businessobject.Organization;
28  import org.kuali.kfs.coa.businessobject.SubAccount;
29  import org.kuali.kfs.coa.businessobject.SubFundGroup;
30  import org.kuali.rice.core.api.util.type.KualiInteger;
31  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
32  
33  /**
34   * 
35   */
36  public class BudgetConstructionAccountSummary extends PersistableBusinessObjectBase {
37  
38      private String principalId;
39      private String organizationChartOfAccountsCode;
40      private String organizationCode;
41      private String chartOfAccountsCode;
42      private String fundGroupCode;
43      private String subFundGroupCode;
44      private String accountNumber;
45      private String subAccountNumber;
46      private String incomeExpenseCode;
47      private KualiInteger accountLineAnnualBalanceAmount;
48      private KualiInteger financialBeginningBalanceLineAmount;
49      private String subFundSortCode;
50  
51      private Chart organizationChartOfAccounts;
52      private Organization organization;
53      private Account account;
54      private Chart chartOfAccounts;
55      private SubAccount subAccount;
56      private SubFundGroup subFundGroup;
57      private FundGroup fundGroup;
58  
59      /**
60       * Default constructor.
61       */
62      public BudgetConstructionAccountSummary() {
63          
64  
65      }
66  
67      /**
68       * Gets the principalId attribute.
69       * 
70       * @return Returns the principalId
71       */
72      public String getPrincipalId() {
73          return principalId;
74      }
75  
76      /**
77       * Sets the principalId attribute.
78       * 
79       * @param principalId The principalId to set.
80       */
81      public void setPrincipalId(String principalId) {
82          this.principalId = principalId;
83      }
84  
85  
86      /**
87       * Gets the organizationChartOfAccountsCode attribute.
88       * 
89       * @return Returns the organizationChartOfAccountsCode
90       */
91      public String getOrganizationChartOfAccountsCode() {
92          return organizationChartOfAccountsCode;
93      }
94  
95      /**
96       * Sets the organizationChartOfAccountsCode attribute.
97       * 
98       * @param organizationChartOfAccountsCode The organizationChartOfAccountsCode to set.
99       */
100     public void setOrganizationChartOfAccountsCode(String organizationChartOfAccountsCode) {
101         this.organizationChartOfAccountsCode = organizationChartOfAccountsCode;
102     }
103 
104 
105     /**
106      * Gets the organizationCode attribute.
107      * 
108      * @return Returns the organizationCode
109      */
110     public String getOrganizationCode() {
111         return organizationCode;
112     }
113 
114     /**
115      * Sets the organizationCode attribute.
116      * 
117      * @param organizationCode The organizationCode to set.
118      */
119     public void setOrganizationCode(String organizationCode) {
120         this.organizationCode = organizationCode;
121     }
122 
123 
124     /**
125      * Gets the chartOfAccountsCode attribute.
126      * 
127      * @return Returns the chartOfAccountsCode
128      */
129     public String getChartOfAccountsCode() {
130         return chartOfAccountsCode;
131     }
132 
133     /**
134      * Sets the chartOfAccountsCode attribute.
135      * 
136      * @param chartOfAccountsCode The chartOfAccountsCode to set.
137      */
138     public void setChartOfAccountsCode(String chartOfAccountsCode) {
139         this.chartOfAccountsCode = chartOfAccountsCode;
140     }
141 
142 
143     /**
144      * Gets the fundGroupCode attribute.
145      * 
146      * @return Returns the fundGroupCode
147      */
148     public String getFundGroupCode() {
149         return fundGroupCode;
150     }
151 
152     /**
153      * Sets the fundGroupCode attribute.
154      * 
155      * @param fundGroupCode The fundGroupCode to set.
156      */
157     public void setFundGroupCode(String fundGroupCode) {
158         this.fundGroupCode = fundGroupCode;
159     }
160 
161 
162     /**
163      * Gets the subFundGroupCode attribute.
164      * 
165      * @return Returns the subFundGroupCode
166      */
167     public String getSubFundGroupCode() {
168         return subFundGroupCode;
169     }
170 
171     /**
172      * Sets the subFundGroupCode attribute.
173      * 
174      * @param subFundGroupCode The subFundGroupCode to set.
175      */
176     public void setSubFundGroupCode(String subFundGroupCode) {
177         this.subFundGroupCode = subFundGroupCode;
178     }
179 
180 
181     /**
182      * Gets the accountNumber attribute.
183      * 
184      * @return Returns the accountNumber
185      */
186     public String getAccountNumber() {
187         return accountNumber;
188     }
189 
190     /**
191      * Sets the accountNumber attribute.
192      * 
193      * @param accountNumber The accountNumber to set.
194      */
195     public void setAccountNumber(String accountNumber) {
196         this.accountNumber = accountNumber;
197     }
198 
199 
200     /**
201      * Gets the subAccountNumber attribute.
202      * 
203      * @return Returns the subAccountNumber
204      */
205     public String getSubAccountNumber() {
206         return subAccountNumber;
207     }
208 
209     /**
210      * Sets the subAccountNumber attribute.
211      * 
212      * @param subAccountNumber The subAccountNumber to set.
213      */
214     public void setSubAccountNumber(String subAccountNumber) {
215         this.subAccountNumber = subAccountNumber;
216     }
217 
218 
219     /**
220      * Gets the incomeExpenseCode attribute.
221      * 
222      * @return Returns the incomeExpenseCode
223      */
224     public String getIncomeExpenseCode() {
225         return incomeExpenseCode;
226     }
227 
228     /**
229      * Sets the incomeExpenseCode attribute.
230      * 
231      * @param incomeExpenseCode The incomeExpenseCode to set.
232      */
233     public void setIncomeExpenseCode(String incomeExpenseCode) {
234         this.incomeExpenseCode = incomeExpenseCode;
235     }
236 
237 
238     /**
239      * Gets the accountLineAnnualBalanceAmount attribute.
240      * 
241      * @return Returns the accountLineAnnualBalanceAmount.
242      */
243     public KualiInteger getAccountLineAnnualBalanceAmount() {
244         return accountLineAnnualBalanceAmount;
245     }
246 
247     /**
248      * Sets the accountLineAnnualBalanceAmount attribute value.
249      * 
250      * @param accountLineAnnualBalanceAmount The accountLineAnnualBalanceAmount to set.
251      */
252     public void setAccountLineAnnualBalanceAmount(KualiInteger accountLineAnnualBalanceAmount) {
253         this.accountLineAnnualBalanceAmount = accountLineAnnualBalanceAmount;
254     }
255 
256     /**
257      * Gets the financialBeginningBalanceLineAmount attribute.
258      * 
259      * @return Returns the financialBeginningBalanceLineAmount.
260      */
261     public KualiInteger getFinancialBeginningBalanceLineAmount() {
262         return financialBeginningBalanceLineAmount;
263     }
264 
265     /**
266      * Sets the financialBeginningBalanceLineAmount attribute value.
267      * 
268      * @param financialBeginningBalanceLineAmount The financialBeginningBalanceLineAmount to set.
269      */
270     public void setFinancialBeginningBalanceLineAmount(KualiInteger financialBeginningBalanceLineAmount) {
271         this.financialBeginningBalanceLineAmount = financialBeginningBalanceLineAmount;
272     }
273 
274     /**
275      * Gets the subFundSortCode attribute.
276      * 
277      * @return Returns the subFundSortCode
278      */
279     public String getSubFundSortCode() {
280         return subFundSortCode;
281     }
282 
283     /**
284      * Sets the subFundSortCode attribute.
285      * 
286      * @param subFundSortCode The subFundSortCode to set.
287      */
288     public void setSubFundSortCode(String subFundSortCode) {
289         this.subFundSortCode = subFundSortCode;
290     }
291 
292 
293     /**
294      * Gets the organizationChartOfAccounts attribute.
295      * 
296      * @return Returns the organizationChartOfAccounts
297      */
298     public Chart getOrganizationChartOfAccounts() {
299         return organizationChartOfAccounts;
300     }
301 
302     /**
303      * Sets the organizationChartOfAccounts attribute.
304      * 
305      * @param organizationChartOfAccounts The organizationChartOfAccounts to set.
306      * @deprecated
307      */
308     public void setOrganizationChartOfAccounts(Chart organizationChartOfAccounts) {
309         this.organizationChartOfAccounts = organizationChartOfAccounts;
310     }
311 
312     /**
313      * Gets the organization attribute.
314      * 
315      * @return Returns the organization
316      */
317     public Organization getOrganization() {
318         return organization;
319     }
320 
321     /**
322      * Sets the organization attribute.
323      * 
324      * @param organization The organization to set.
325      * @deprecated
326      */
327     public void setOrganization(Organization organization) {
328         this.organization = organization;
329     }
330 
331     /**
332      * Gets the account attribute.
333      * 
334      * @return Returns the account
335      */
336     public Account getAccount() {
337         return account;
338     }
339 
340     /**
341      * Sets the account attribute.
342      * 
343      * @param account The account to set.
344      * @deprecated
345      */
346     public void setAccount(Account account) {
347         this.account = account;
348     }
349 
350     /**
351      * Gets the chartOfAccounts attribute.
352      * 
353      * @return Returns the chartOfAccounts
354      */
355     public Chart getChartOfAccounts() {
356         return chartOfAccounts;
357     }
358 
359     /**
360      * Sets the chartOfAccounts attribute.
361      * 
362      * @param chartOfAccounts The chartOfAccounts to set.
363      * @deprecated
364      */
365     public void setChartOfAccounts(Chart chartOfAccounts) {
366         this.chartOfAccounts = chartOfAccounts;
367     }
368 
369     /**
370      * Gets the subAccount attribute.
371      * 
372      * @return Returns the subAccount.
373      */
374     public SubAccount getSubAccount() {
375         return subAccount;
376     }
377 
378     /**
379      * Sets the subAccount attribute value.
380      * 
381      * @param subAccount The subAccount to set.
382      * @deprecated
383      */
384     public void setSubAccount(SubAccount subAccount) {
385         this.subAccount = subAccount;
386     }
387 
388     /**
389      * Gets the subFundGroup attribute.
390      * 
391      * @return Returns the subFundGroup.
392      */
393     public SubFundGroup getSubFundGroup() {
394         return subFundGroup;
395     }
396 
397     /**
398      * Sets the subFundGroup attribute value.
399      * 
400      * @param subFundGroup The subFundGroup to set.
401      * @deprecated
402      */
403     public void setSubFundGroup(SubFundGroup subFundGroup) {
404         this.subFundGroup = subFundGroup;
405     }
406 
407     /**
408      * Gets the fundGroup attribute.
409      * 
410      * @return Returns the fundGroup.
411      */
412     public FundGroup getFundGroup() {
413         return fundGroup;
414     }
415 
416     /**
417      * Sets the fundGroup attribute value.
418      * 
419      * @param fundGroup The fundGroup to set.
420      * @deprecated
421      */
422     public void setFundGroup(FundGroup fundGroup) {
423         this.fundGroup = fundGroup;
424     }
425 
426     /**
427      * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
428      */
429     protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
430         LinkedHashMap m = new LinkedHashMap();
431         m.put("principalId", this.principalId);
432         m.put("organizationChartOfAccountsCode", this.organizationChartOfAccountsCode);
433         m.put("organizationCode", this.organizationCode);
434         m.put("chartOfAccountsCode", this.chartOfAccountsCode);
435         m.put("fundGroupCode", this.fundGroupCode);
436         m.put("subFundGroupCode", this.subFundGroupCode);
437         m.put("accountNumber", this.accountNumber);
438         m.put("subAccountNumber", this.subAccountNumber);
439         m.put("incomeExpenseCode", this.incomeExpenseCode);
440         return m;
441     }
442 
443 }
444