View Javadoc
1   /*
2    * Copyright 2006 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  package org.kuali.ole.fp.businessobject;
18  
19  import java.sql.Timestamp;
20  import java.util.LinkedHashMap;
21  
22  import org.kuali.ole.fp.document.CashReceiptDocument;
23  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
24  
25  /**
26   * This class represents a deposit cash receipt control which contains cash receipt header used for validating receipts
27   */
28  public class DepositCashReceiptControl extends PersistableBusinessObjectBase {
29      private String financialDocumentDepositNumber;
30      private Integer financialDocumentDepositLineNumber;
31      private String financialDocumentCashReceiptNumber;
32  
33      private Timestamp financialSystemsCashReceiptProcessingTimestamp;
34      private String financialSystemsProcessingOperatorIdentifier;
35  
36      private Deposit deposit;
37      private CashReceiptDocument cashReceiptDocument;
38  
39  
40      /**
41       * Default constructor.
42       */
43      public DepositCashReceiptControl() {
44  
45      }
46  
47      /**
48       * Gets the cashReceiptDocument attribute. 
49       * @return Returns the cashReceiptDocument.
50       */
51      public CashReceiptDocument getCashReceiptDocument() {
52          return cashReceiptDocument;
53      }
54  
55      /**
56       * Sets the cashReceiptDocument attribute value.
57       * @param cashReceiptDocument The cashReceiptDocument to set.
58       */
59      public void setCashReceiptDocument(CashReceiptDocument cashReceiptDocument) {
60          this.cashReceiptDocument = cashReceiptDocument;
61      }
62  
63  
64  
65      /**
66       * @return current value of deposit.
67       */
68      public Deposit getDeposit() {
69          return deposit;
70      }
71  
72      /**
73       * Sets the deposit attribute value.
74       * 
75       * @param deposit The deposit to set.
76       */
77      public void setDeposit(Deposit deposit) {
78          this.deposit = deposit;
79      }
80  
81  
82      /**
83       * @return current value of financialDocumentCashReceiptNumber.
84       */
85      public String getFinancialDocumentCashReceiptNumber() {
86          return financialDocumentCashReceiptNumber;
87      }
88  
89      /**
90       * Sets the financialDocumentCashReceiptNumber attribute value.
91       * 
92       * @param financialDocumentCashReceiptNumber The financialDocumentCashReceiptNumber to set.
93       */
94      public void setFinancialDocumentCashReceiptNumber(String financialDocumentCashReceiptNumber) {
95          this.financialDocumentCashReceiptNumber = financialDocumentCashReceiptNumber;
96      }
97  
98  
99      /**
100      * @return current value of financialDocumentDepositNumber.
101      */
102     public String getFinancialDocumentDepositNumber() {
103         return financialDocumentDepositNumber;
104     }
105 
106     /**
107      * Sets the financialDocumentDepositNumber attribute value.
108      * 
109      * @param financialDocumentDepositNumber The financialDocumentDepositNumber to set.
110      */
111     public void setFinancialDocumentDepositNumber(String financialDocumentDepositNumber) {
112         this.financialDocumentDepositNumber = financialDocumentDepositNumber;
113     }
114 
115 
116     /**
117      * @return current value of financialDocumentDepositLineNumber.
118      */
119     public Integer getFinancialDocumentDepositLineNumber() {
120         return financialDocumentDepositLineNumber;
121     }
122 
123     /**
124      * Sets the financialDocumentDepositLineNumber attribute value.
125      * 
126      * @param financialDocumentDepositLineNumber The financialDocumentDepositLineNumber to set.
127      */
128     public void setFinancialDocumentDepositLineNumber(Integer financialDocumentDepositLineNumber) {
129         this.financialDocumentDepositLineNumber = financialDocumentDepositLineNumber;
130     }
131 
132 
133     /**
134      * @return current value of financialSystemsCashReceiptProcessingTimestamp.
135      */
136     public Timestamp getFinancialSystemsCashReceiptProcessingTimestamp() {
137         return financialSystemsCashReceiptProcessingTimestamp;
138     }
139 
140     /**
141      * Sets the financialSystemsCashReceiptProcessingTimestamp attribute value.
142      * 
143      * @param financialSystemsCashReceiptProcessingTimestamp The financialSystemsCashReceiptProcessingTimestamp to set.
144      */
145     public void setFinancialSystemsCashReceiptProcessingTimestamp(Timestamp financialSystemsCashReceiptProcessingTimestamp) {
146         this.financialSystemsCashReceiptProcessingTimestamp = financialSystemsCashReceiptProcessingTimestamp;
147     }
148 
149 
150     /**
151      * @return current value of financialSystemsProcessingOperatorIdentifier.
152      */
153     public String getFinancialSystemsProcessingOperatorIdentifier() {
154         return financialSystemsProcessingOperatorIdentifier;
155     }
156 
157     /**
158      * Sets the financialSystemsProcessingOperatorIdentifier attribute value.
159      * 
160      * @param financialSystemsProcessingOperatorIdentifier The financialSystemsProcessingOperatorIdentifier to set.
161      */
162     public void setFinancialSystemsProcessingOperatorIdentifier(String financialSystemsProcessingOperatorIdentifier) {
163         this.financialSystemsProcessingOperatorIdentifier = financialSystemsProcessingOperatorIdentifier;
164     }
165 
166 
167     /**
168      * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
169      */
170     protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
171         LinkedHashMap m = new LinkedHashMap();
172         m.put("financialDocumentDepositNumber", getFinancialDocumentDepositNumber());
173         m.put("financialDocumentDepositLineNumber", getFinancialDocumentDepositLineNumber());
174         m.put("financialDocumentCashReceiptNumber", getFinancialDocumentCashReceiptNumber());
175         return m;
176     }
177 }