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 */
016 /*
017 * Created on Jul 9, 2004
018 *
019 */
020 package org.kuali.kfs.pdp.businessobject;
021
022 import java.sql.Timestamp;
023 import java.util.LinkedHashMap;
024
025 import org.kuali.kfs.pdp.PdpPropertyConstants;
026 import org.kuali.kfs.sys.businessobject.TimestampedBusinessObjectBase;
027
028 public class FormatProcess extends TimestampedBusinessObjectBase {
029
030 private String physicalCampusProcessCode; // PHYS_CMP_PROC_CD
031 private Timestamp beginFormat; // BEG_FMT_TS
032 private int paymentProcIdentifier;
033
034 private PaymentProcess paymentProcess;
035
036 public PaymentProcess getPaymentProcess() {
037 return paymentProcess;
038 }
039
040 public void setPaymentProcess(PaymentProcess paymentProcess) {
041 this.paymentProcess = paymentProcess;
042 }
043
044 public int getPaymentProcIdentifier() {
045 return paymentProcIdentifier;
046 }
047
048 public void setPaymentProcIdentifier(int paymentProcIdentifier) {
049 this.paymentProcIdentifier = paymentProcIdentifier;
050 }
051
052 public FormatProcess() {
053 super();
054 }
055
056 public Timestamp getBeginFormat() {
057 return beginFormat;
058 }
059
060 public void setBeginFormat(Timestamp beginFormat) {
061 this.beginFormat = beginFormat;
062 }
063
064 /**
065 * @return
066 * @hibernate.id column="PHYS_CMP_PROC_CD" length="2" generator-class="assigned"
067 */
068 public String getPhysicalCampusProcessCode() {
069 return physicalCampusProcessCode;
070 }
071
072 /**
073 * @param string
074 */
075 public void setPhysicalCampusProcessCode(String string) {
076 physicalCampusProcessCode = string;
077 }
078
079 /**
080 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
081 */
082 @Override
083 protected LinkedHashMap toStringMapper() {
084 LinkedHashMap m = new LinkedHashMap();
085
086 m.put(PdpPropertyConstants.PHYS_CAMPUS_PROCESS_CODE, this.physicalCampusProcessCode);
087 m.put(PdpPropertyConstants.PAYMENT_PROC_IDENTIFIER, this.paymentProcIdentifier);
088
089 return m;
090 }
091
092 }