001/*
002 * Copyright 2006 The Kuali Foundation
003 * 
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 * 
008 * http://www.opensource.org/licenses/ecl2.php
009 * 
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package org.kuali.ole.gl.businessobject;
017
018import java.util.LinkedHashMap;
019
020/**
021 * This class represents a poster output summary entry
022 */
023public class PosterOutputSummaryEntry extends PosterOutputSummaryBalanceTypeFiscalYearAndPeriodTotal {
024    private String fundGroup;
025    
026    /**
027     * Constructs a PosterOutputSummaryEntry object
028     * @param balanceTypeCode the balance type code to set
029     * @param universityFiscalYear the fiscal year to set
030     * @param fiscalPeriodCode the fiscal period code to set
031     * @param fundGroupCode the fund group code to set
032     */
033    public PosterOutputSummaryEntry(String balanceTypeCode, Integer universityFiscalYear, String fiscalPeriodCode, String fundGroupCode) {
034        super(balanceTypeCode, universityFiscalYear, fiscalPeriodCode);
035        this.fundGroup = fundGroupCode;
036    }
037
038    public String getFundGroup() {
039        return fundGroup;
040    }
041
042    /**
043     * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
044     */
045    
046    protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
047        LinkedHashMap pks = new LinkedHashMap<String, Object>();
048        pks.put("universityFiscalYear", this.getUniversityFiscalYear());
049        pks.put("fiscalPeriodCode",this.getFiscalPeriodCode());
050        pks.put("balanceTypeCode",this.getBalanceTypeCode());
051        pks.put("fundGroup",this.getFundGroup());
052        pks.put("objectTypeCode",this.getObjectTypeCode());
053        pks.put("creditAmount",this.getCreditAmount());
054        pks.put("debitAmount",this.getDebitAmount());
055        pks.put("budgetAmount",this.getBudgetAmount());
056        pks.put("netAmount",this.getNetAmount());
057        return pks;
058    }
059    
060}