001: /*
002: * Copyright 2006-2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.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/ecl1.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: package org.kuali.module.financial.bo;
018:
019: import java.sql.Timestamp;
020: import java.util.LinkedHashMap;
021:
022: import org.kuali.core.bo.PersistableBusinessObjectBase;
023:
024: /**
025: * This class represents a deposit cash receipt control which contains cash receipt header used for validating receipts
026: */
027: public class DepositCashReceiptControl extends
028: PersistableBusinessObjectBase {
029: private String financialDocumentDepositNumber;
030: private Integer financialDocumentDepositLineNumber;
031: private String financialDocumentCashReceiptNumber;
032:
033: private Timestamp financialSystemsCashReceiptProcessingTimestamp;
034: private String financialSystemsProcessingOperatorIdentifier;
035:
036: private Deposit deposit;
037: private CashReceiptHeader cashReceiptHeader;
038:
039: /**
040: * Default constructor.
041: */
042: public DepositCashReceiptControl() {
043:
044: }
045:
046: /**
047: * @return current value of cashReceiptHeader.
048: */
049: public CashReceiptHeader getCashReceiptHeader() {
050: return cashReceiptHeader;
051: }
052:
053: /**
054: * Sets the cashReceiptHeader attribute value.
055: *
056: * @param cashReceiptHeader The cashReceiptHeader to set.
057: */
058: public void setCashReceiptHeader(CashReceiptHeader cashReceiptHeader) {
059: this .cashReceiptHeader = cashReceiptHeader;
060: }
061:
062: /**
063: * @return current value of deposit.
064: */
065: public Deposit getDeposit() {
066: return deposit;
067: }
068:
069: /**
070: * Sets the deposit attribute value.
071: *
072: * @param deposit The deposit to set.
073: */
074: public void setDeposit(Deposit deposit) {
075: this .deposit = deposit;
076: }
077:
078: /**
079: * @return current value of financialDocumentCashReceiptNumber.
080: */
081: public String getFinancialDocumentCashReceiptNumber() {
082: return financialDocumentCashReceiptNumber;
083: }
084:
085: /**
086: * Sets the financialDocumentCashReceiptNumber attribute value.
087: *
088: * @param financialDocumentCashReceiptNumber The financialDocumentCashReceiptNumber to set.
089: */
090: public void setFinancialDocumentCashReceiptNumber(
091: String financialDocumentCashReceiptNumber) {
092: this .financialDocumentCashReceiptNumber = financialDocumentCashReceiptNumber;
093: }
094:
095: /**
096: * @return current value of financialDocumentDepositNumber.
097: */
098: public String getFinancialDocumentDepositNumber() {
099: return financialDocumentDepositNumber;
100: }
101:
102: /**
103: * Sets the financialDocumentDepositNumber attribute value.
104: *
105: * @param financialDocumentDepositNumber The financialDocumentDepositNumber to set.
106: */
107: public void setFinancialDocumentDepositNumber(
108: String financialDocumentDepositNumber) {
109: this .financialDocumentDepositNumber = financialDocumentDepositNumber;
110: }
111:
112: /**
113: * @return current value of financialDocumentDepositLineNumber.
114: */
115: public Integer getFinancialDocumentDepositLineNumber() {
116: return financialDocumentDepositLineNumber;
117: }
118:
119: /**
120: * Sets the financialDocumentDepositLineNumber attribute value.
121: *
122: * @param financialDocumentDepositLineNumber The financialDocumentDepositLineNumber to set.
123: */
124: public void setFinancialDocumentDepositLineNumber(
125: Integer financialDocumentDepositLineNumber) {
126: this .financialDocumentDepositLineNumber = financialDocumentDepositLineNumber;
127: }
128:
129: /**
130: * @return current value of financialSystemsCashReceiptProcessingTimestamp.
131: */
132: public Timestamp getFinancialSystemsCashReceiptProcessingTimestamp() {
133: return financialSystemsCashReceiptProcessingTimestamp;
134: }
135:
136: /**
137: * Sets the financialSystemsCashReceiptProcessingTimestamp attribute value.
138: *
139: * @param financialSystemsCashReceiptProcessingTimestamp The financialSystemsCashReceiptProcessingTimestamp to set.
140: */
141: public void setFinancialSystemsCashReceiptProcessingTimestamp(
142: Timestamp financialSystemsCashReceiptProcessingTimestamp) {
143: this .financialSystemsCashReceiptProcessingTimestamp = financialSystemsCashReceiptProcessingTimestamp;
144: }
145:
146: /**
147: * @return current value of financialSystemsProcessingOperatorIdentifier.
148: */
149: public String getFinancialSystemsProcessingOperatorIdentifier() {
150: return financialSystemsProcessingOperatorIdentifier;
151: }
152:
153: /**
154: * Sets the financialSystemsProcessingOperatorIdentifier attribute value.
155: *
156: * @param financialSystemsProcessingOperatorIdentifier The financialSystemsProcessingOperatorIdentifier to set.
157: */
158: public void setFinancialSystemsProcessingOperatorIdentifier(
159: String financialSystemsProcessingOperatorIdentifier) {
160: this .financialSystemsProcessingOperatorIdentifier = financialSystemsProcessingOperatorIdentifier;
161: }
162:
163: /**
164: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
165: */
166: protected LinkedHashMap toStringMapper() {
167: LinkedHashMap m = new LinkedHashMap();
168: m.put("financialDocumentDepositNumber",
169: getFinancialDocumentDepositNumber());
170: m.put("financialDocumentDepositLineNumber",
171: getFinancialDocumentDepositLineNumber());
172: m.put("financialDocumentCashReceiptNumber",
173: getFinancialDocumentCashReceiptNumber());
174: return m;
175: }
176: }
|