001/*
002 * Copyright 2007 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/*
017 * Created on Jul 9, 2004
018 *
019 */
020package org.kuali.ole.pdp.businessobject;
021
022import java.util.LinkedHashMap;
023
024import org.kuali.ole.sys.OLEPropertyConstants;
025import org.kuali.ole.sys.businessobject.TimestampedBusinessObjectBase;
026import org.kuali.rice.core.api.util.type.KualiInteger;
027
028public class PaymentNoteText extends TimestampedBusinessObjectBase {
029
030    private KualiInteger id; // PMT_NTE_ID
031
032    private KualiInteger paymentDetailId;
033    private PaymentDetail paymentDetail; // PMT_DTL_ID
034
035    private KualiInteger customerNoteLineNbr; // CUST_NTE_LN_NBR
036    private String customerNoteText; // CUST_NTE_TXT
037    
038    public PaymentNoteText() {
039        super();
040    }
041
042    /**
043     * @hibernate.id column="PMT_NTE_ID" generator-class="sequence"
044     * @hibernate.generator-param name="sequence" value="PDP.PDP_PMT_NTE_ID_SEQ"
045     * @return Returns the paymentNoteId.
046     */
047    public KualiInteger getId() {
048        return id;
049    }
050
051    /**
052     * @param paymentNoteId The paymentNoteId to set.
053     */
054    public void setId(KualiInteger paymentNoteId) {
055        this.id = paymentNoteId;
056    }
057
058    /**
059     * @return
060     * @hibernate.property column="CUST_NTE_LN_NBR" not-null="true"
061     */
062    public KualiInteger getCustomerNoteLineNbr() {
063        return customerNoteLineNbr;
064    }
065
066    /**
067     * @return
068     * @hibernate.property column="CUST_NTE_TXT" length="60" not-null="true"
069     */
070    public String getCustomerNoteText() {
071        return customerNoteText;
072    }
073
074    /**
075     * @return
076     * @hibernate.many-to-one column="PMT_DTL_ID" class="edu.iu.uis.pdp.bo.PaymentDetail"
077     */
078    public PaymentDetail getPaymentDetail() {
079        return paymentDetail;
080    }
081
082    /**
083     * @param integer
084     */
085    public void setCustomerNoteLineNbr(KualiInteger integer) {
086        customerNoteLineNbr = integer;
087    }
088
089    /**
090     * @param string
091     */
092    public void setCustomerNoteText(String string) {
093        customerNoteText = string;
094    }
095
096    /**
097     * @param integer
098     */
099    public void setPaymentDetail(PaymentDetail pd) {
100        paymentDetail = pd;
101    }
102
103    /**
104     * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
105     */
106    
107    protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
108        LinkedHashMap m = new LinkedHashMap();
109        
110        m.put(OLEPropertyConstants.ID, this.id);
111
112        return m;
113    }
114  
115}