View Javadoc
1   /*
2    * Copyright 2007 The Kuali Foundation
3    * 
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    * http://www.opensource.org/licenses/ecl2.php
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  /*
17   * Created on Jul 9, 2004
18   *
19   */
20  package org.kuali.ole.pdp.businessobject;
21  
22  import java.util.LinkedHashMap;
23  
24  import org.kuali.ole.sys.OLEPropertyConstants;
25  import org.kuali.ole.sys.businessobject.TimestampedBusinessObjectBase;
26  import org.kuali.rice.core.api.util.type.KualiInteger;
27  
28  public class PaymentNoteText extends TimestampedBusinessObjectBase {
29  
30      private KualiInteger id; // PMT_NTE_ID
31  
32      private KualiInteger paymentDetailId;
33      private PaymentDetail paymentDetail; // PMT_DTL_ID
34  
35      private KualiInteger customerNoteLineNbr; // CUST_NTE_LN_NBR
36      private String customerNoteText; // CUST_NTE_TXT
37      
38      public PaymentNoteText() {
39          super();
40      }
41  
42      /**
43       * @hibernate.id column="PMT_NTE_ID" generator-class="sequence"
44       * @hibernate.generator-param name="sequence" value="PDP.PDP_PMT_NTE_ID_SEQ"
45       * @return Returns the paymentNoteId.
46       */
47      public KualiInteger getId() {
48          return id;
49      }
50  
51      /**
52       * @param paymentNoteId The paymentNoteId to set.
53       */
54      public void setId(KualiInteger paymentNoteId) {
55          this.id = paymentNoteId;
56      }
57  
58      /**
59       * @return
60       * @hibernate.property column="CUST_NTE_LN_NBR" not-null="true"
61       */
62      public KualiInteger getCustomerNoteLineNbr() {
63          return customerNoteLineNbr;
64      }
65  
66      /**
67       * @return
68       * @hibernate.property column="CUST_NTE_TXT" length="60" not-null="true"
69       */
70      public String getCustomerNoteText() {
71          return customerNoteText;
72      }
73  
74      /**
75       * @return
76       * @hibernate.many-to-one column="PMT_DTL_ID" class="edu.iu.uis.pdp.bo.PaymentDetail"
77       */
78      public PaymentDetail getPaymentDetail() {
79          return paymentDetail;
80      }
81  
82      /**
83       * @param integer
84       */
85      public void setCustomerNoteLineNbr(KualiInteger integer) {
86          customerNoteLineNbr = integer;
87      }
88  
89      /**
90       * @param string
91       */
92      public void setCustomerNoteText(String string) {
93          customerNoteText = string;
94      }
95  
96      /**
97       * @param integer
98       */
99      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 }