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.sql.Timestamp;
23  import java.util.LinkedHashMap;
24  
25  import org.kuali.ole.pdp.PdpPropertyConstants;
26  import org.kuali.ole.sys.businessobject.TimestampedBusinessObjectBase;
27  
28  public class FormatProcess extends TimestampedBusinessObjectBase {
29  
30      private String physicalCampusProcessCode; // PHYS_CMP_PROC_CD
31      private Timestamp beginFormat; // BEG_FMT_TS
32      private int paymentProcIdentifier;
33      
34      private PaymentProcess paymentProcess;
35  
36      public PaymentProcess getPaymentProcess() {
37          return paymentProcess;
38      }
39  
40      public void setPaymentProcess(PaymentProcess paymentProcess) {
41          this.paymentProcess = paymentProcess;
42      }
43  
44      public int getPaymentProcIdentifier() {
45          return paymentProcIdentifier;
46      }
47  
48      public void setPaymentProcIdentifier(int paymentProcIdentifier) {
49          this.paymentProcIdentifier = paymentProcIdentifier;
50      }
51  
52      public FormatProcess() {
53          super();
54      }
55  
56      public Timestamp getBeginFormat() {
57          return beginFormat;
58      }
59  
60      public void setBeginFormat(Timestamp beginFormat) {
61          this.beginFormat = beginFormat;
62      }
63  
64      /**
65       * @return
66       * @hibernate.id column="PHYS_CMP_PROC_CD" length="2" generator-class="assigned"
67       */
68      public String getPhysicalCampusProcessCode() {
69          return physicalCampusProcessCode;
70      }
71  
72      /**
73       * @param string
74       */
75      public void setPhysicalCampusProcessCode(String string) {
76          physicalCampusProcessCode = string;
77      }
78  
79      /**
80       * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
81       */
82      
83      protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
84          LinkedHashMap m = new LinkedHashMap();
85          
86          m.put(PdpPropertyConstants.PHYS_CAMPUS_PROCESS_CODE, this.physicalCampusProcessCode);
87          m.put(PdpPropertyConstants.PAYMENT_PROC_IDENTIFIER, this.paymentProcIdentifier);
88          
89          return m;
90      }
91  
92  }