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  package org.kuali.ole.gl.businessobject;
17  
18  import java.util.LinkedHashMap;
19  
20  /**
21   * This class represents a poster output summary entry
22   */
23  public class PosterOutputSummaryEntry extends PosterOutputSummaryBalanceTypeFiscalYearAndPeriodTotal {
24      private String fundGroup;
25      
26      /**
27       * Constructs a PosterOutputSummaryEntry object
28       * @param balanceTypeCode the balance type code to set
29       * @param universityFiscalYear the fiscal year to set
30       * @param fiscalPeriodCode the fiscal period code to set
31       * @param fundGroupCode the fund group code to set
32       */
33      public PosterOutputSummaryEntry(String balanceTypeCode, Integer universityFiscalYear, String fiscalPeriodCode, String fundGroupCode) {
34          super(balanceTypeCode, universityFiscalYear, fiscalPeriodCode);
35          this.fundGroup = fundGroupCode;
36      }
37  
38      public String getFundGroup() {
39          return fundGroup;
40      }
41  
42      /**
43       * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
44       */
45      
46      protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
47          LinkedHashMap pks = new LinkedHashMap<String, Object>();
48          pks.put("universityFiscalYear", this.getUniversityFiscalYear());
49          pks.put("fiscalPeriodCode",this.getFiscalPeriodCode());
50          pks.put("balanceTypeCode",this.getBalanceTypeCode());
51          pks.put("fundGroup",this.getFundGroup());
52          pks.put("objectTypeCode",this.getObjectTypeCode());
53          pks.put("creditAmount",this.getCreditAmount());
54          pks.put("debitAmount",this.getDebitAmount());
55          pks.put("budgetAmount",this.getBudgetAmount());
56          pks.put("netAmount",this.getNetAmount());
57          return pks;
58      }
59      
60  }