001/*
002 * Copyright 2011 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.select.businessobject;
017
018import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
019import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
020
021import java.util.LinkedHashMap;
022
023public class OlePaymentMethod extends PersistableBusinessObjectBase implements MutableInactivatable {
024    private Integer paymentMethodId;
025    private String paymentMethod;
026    private String paymentMethodDescription;
027    private boolean active;
028
029    /**
030     * Gets payment method id.
031     *
032     * @return paymentMethodId.
033     */
034
035    public Integer getPaymentMethodId() {
036        return paymentMethodId;
037    }
038
039    /**
040     * Sets payment method id.
041     *
042     * @param paymentMethodId to set.
043     */
044    public void setPaymentMethodId(Integer paymentMethodId) {
045        this.paymentMethodId = paymentMethodId;
046    }
047
048    /**
049     * Gets payment method.
050     *
051     * @return paymentMethod.
052     */
053    public String getPaymentMethod() {
054        return paymentMethod;
055    }
056
057    /**
058     * Sets payment method.
059     *
060     * @param payment method to set.
061     */
062    public void setPaymentMethod(String paymentMethod) {
063        this.paymentMethod = paymentMethod;
064    }
065
066    /**
067     * Gets payment Method Description.
068     *
069     * @return paymentMethodDescription.
070     */
071    public String getPaymentMethodDescription() {
072        return paymentMethodDescription;
073    }
074
075
076    /**
077     * Sets payment method description.
078     *
079     * @param paymentMethodDescription to set.
080     */
081    public void setPaymentMethodDescription(String paymentMethodDescription) {
082        this.paymentMethodDescription = paymentMethodDescription;
083    }
084
085
086    /**
087     * Gets active indicator.
088     *
089     * @return active.
090     */
091    public boolean isActive() {
092        return active;
093    }
094
095    /**
096     * Sets active indicator.
097     *
098     * @param active.
099     */
100    public void setActive(boolean active) {
101        this.active = active;
102    }
103
104
105    /**
106     * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
107     */
108
109    protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
110        LinkedHashMap m = new LinkedHashMap();
111        m.put("paymentMethodId", this.paymentMethodId);
112        return m;
113    }
114}