001/*
002 * The Kuali Financial System, a comprehensive financial management system for higher education.
003 * 
004 * Copyright 2005-2014 The Kuali Foundation
005 * 
006 * This program is free software: you can redistribute it and/or modify
007 * it under the terms of the GNU Affero General Public License as
008 * published by the Free Software Foundation, either version 3 of the
009 * License, or (at your option) any later version.
010 * 
011 * This program is distributed in the hope that it will be useful,
012 * but WITHOUT ANY WARRANTY; without even the implied warranty of
013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
014 * GNU Affero General Public License for more details.
015 * 
016 * You should have received a copy of the GNU Affero General Public License
017 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
018 */
019
020package org.kuali.kfs.module.purap.businessobject;
021
022import java.util.LinkedHashMap;
023
024import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
025import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
026
027/**
028 * Purchase Order Transmission Method Business Object.
029 */
030public class PurchaseOrderTransmissionMethod extends PersistableBusinessObjectBase implements MutableInactivatable{
031
032    private String purchaseOrderTransmissionMethodCode;
033    private String purchaseOrderTransmissionMethodDescription;
034    private boolean active;
035    private boolean displayToUser;
036
037    /**
038     * Default constructor.
039     */
040    public PurchaseOrderTransmissionMethod() {
041
042    }
043
044    public String getPurchaseOrderTransmissionMethodCode() {
045        return purchaseOrderTransmissionMethodCode;
046    }
047
048    public void setPurchaseOrderTransmissionMethodCode(String purchaseOrderTransmissionMethodCode) {
049        this.purchaseOrderTransmissionMethodCode = purchaseOrderTransmissionMethodCode;
050    }
051
052    public String getPurchaseOrderTransmissionMethodDescription() {
053        return purchaseOrderTransmissionMethodDescription;
054    }
055
056    public void setPurchaseOrderTransmissionMethodDescription(String purchaseOrderTransmissionMethodDescription) {
057        this.purchaseOrderTransmissionMethodDescription = purchaseOrderTransmissionMethodDescription;
058    }
059
060    public boolean isActive() {
061        return active;
062    }
063    
064    public void setActive(boolean active) {
065        this.active = active;
066    }
067
068    /**
069     * @return the displayToUser
070     */
071    public boolean isDisplayToUser() {
072        return displayToUser;
073    }
074
075    /**
076     * @param displayToUser the displayToUser to set
077     */
078    public void setDisplayToUser(boolean displayToUser) {
079        this.displayToUser = displayToUser;
080    }
081    
082    /**
083     * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
084     */
085    protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
086        LinkedHashMap m = new LinkedHashMap();
087        m.put("purchaseOrderTransmissionMethodCode", this.purchaseOrderTransmissionMethodCode);
088        return m;
089    }
090
091}