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 */
016
017package org.kuali.ole.module.cg.businessobject;
018
019import java.util.LinkedHashMap;
020
021import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
022import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
023
024/**
025 * 
026 */
027public class LetterOfCreditFundGroup extends PersistableBusinessObjectBase implements MutableInactivatable {
028
029    private String letterOfCreditFundGroupCode;
030    private String letterOfCreditFundGroupDescription;
031    private boolean active;
032
033    /**
034     * Default constructor.
035     */
036    public LetterOfCreditFundGroup() {
037    }
038
039    /**
040     * Gets the letterOfCreditFundGroupCode attribute.
041     * 
042     * @return Returns the letterOfCreditFundGroupCode
043     */
044    public String getLetterOfCreditFundGroupCode() {
045        return letterOfCreditFundGroupCode;
046    }
047
048    /**
049     * Sets the letterOfCreditFundGroupCode attribute.
050     * 
051     * @param letterOfCreditFundGroupCode The letterOfCreditFundGroupCode to set.
052     */
053    public void setLetterOfCreditFundGroupCode(String letterOfCreditFundGroupCode) {
054        this.letterOfCreditFundGroupCode = letterOfCreditFundGroupCode;
055    }
056
057
058    /**
059     * Gets the letterOfCreditFundGroupDescription attribute.
060     * 
061     * @return Returns the letterOfCreditFundGroupDescription
062     */
063    public String getLetterOfCreditFundGroupDescription() {
064        return letterOfCreditFundGroupDescription;
065    }
066
067    /**
068     * Sets the letterOfCreditFundGroupDescription attribute.
069     * 
070     * @param letterOfCreditFundGroupDescription The letterOfCreditFundGroupDescription to set.
071     */
072    public void setLetterOfCreditFundGroupDescription(String letterOfCreditFundGroupDescription) {
073        this.letterOfCreditFundGroupDescription = letterOfCreditFundGroupDescription;
074    }
075
076    /**
077     * Gets the active attribute.
078     * 
079     * @return Returns the active.
080     */
081    public boolean isActive() {
082        return active;
083    }
084
085    /**
086     * Sets the active attribute value.
087     * 
088     * @param active The active to set.
089     */
090    public void setActive(boolean active) {
091        this.active = active;
092    }
093
094    /**
095     * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
096     */
097    protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
098        LinkedHashMap m = new LinkedHashMap();
099        m.put("letterOfCreditFundGroupCode", this.letterOfCreditFundGroupCode);
100        return m;
101    }
102}