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.util.LinkedHashMap;
020:
021: import org.kuali.core.bo.PersistableBusinessObjectBase;
022: import org.kuali.core.util.KualiDecimal;
023: import org.kuali.kfs.KFSPropertyConstants;
024:
025: /**
026: * Represents a cashiering document
027: */
028: public class CashieringDocument extends PersistableBusinessObjectBase {
029:
030: private String documentNumber;
031: private String depositFinancialSystemOriginationCode;
032: private String financialDocumentDepositNumber;
033: private KualiDecimal financialDocumentCheckAmount;
034: private KualiDecimal financialDocumentAdvanceDepositAmount;
035: private KualiDecimal financialDocumentRevolvingFundAmount;
036: private Integer financialDocumentNextCreditCardLineNumber;
037: private KualiDecimal financialDocumentCashAmount;
038: private KualiDecimal financialDocumentCreditCardAmount;
039: private KualiDecimal financialDocumentTotalCoinAmount;
040: private KualiDecimal financialDocumentChangeOutAmount;
041: private Integer nextCheckLineNumber;
042: private Integer nextAdvanceDepositLineNumber;
043: private Integer nextRevolvingFundLineNumber;
044:
045: /**
046: * Default constructor.
047: */
048: public CashieringDocument() {
049:
050: }
051:
052: /**
053: * Gets the documentNumber attribute.
054: *
055: * @return Returns the documentNumber
056: */
057: public String getDocumentNumber() {
058: return documentNumber;
059: }
060:
061: /**
062: * Sets the documentNumber attribute.
063: *
064: * @param documentNumber The documentNumber to set.
065: */
066: public void setDocumentNumber(String documentNumber) {
067: this .documentNumber = documentNumber;
068: }
069:
070: /**
071: * Gets the depositFinancialSystemOriginationCode attribute.
072: *
073: * @return Returns the depositFinancialSystemOriginationCode
074: */
075: public String getDepositFinancialSystemOriginationCode() {
076: return depositFinancialSystemOriginationCode;
077: }
078:
079: /**
080: * Sets the depositFinancialSystemOriginationCode attribute.
081: *
082: * @param depositFinancialSystemOriginationCode The depositFinancialSystemOriginationCode to set.
083: */
084: public void setDepositFinancialSystemOriginationCode(
085: String depositFinancialSystemOriginationCode) {
086: this .depositFinancialSystemOriginationCode = depositFinancialSystemOriginationCode;
087: }
088:
089: /**
090: * Gets the financialDocumentDepositNumber attribute.
091: *
092: * @return Returns the financialDocumentDepositNumber
093: */
094: public String getFinancialDocumentDepositNumber() {
095: return financialDocumentDepositNumber;
096: }
097:
098: /**
099: * Sets the financialDocumentDepositNumber attribute.
100: *
101: * @param financialDocumentDepositNumber The financialDocumentDepositNumber to set.
102: */
103: public void setFinancialDocumentDepositNumber(
104: String financialDocumentDepositNumber) {
105: this .financialDocumentDepositNumber = financialDocumentDepositNumber;
106: }
107:
108: /**
109: * Gets the financialDocumentCheckAmount attribute.
110: *
111: * @return Returns the financialDocumentCheckAmount
112: */
113: public KualiDecimal getFinancialDocumentCheckAmount() {
114: return financialDocumentCheckAmount;
115: }
116:
117: /**
118: * Sets the financialDocumentCheckAmount attribute.
119: *
120: * @param financialDocumentCheckAmount The financialDocumentCheckAmount to set.
121: */
122: public void setFinancialDocumentCheckAmount(
123: KualiDecimal financialDocumentCheckAmount) {
124: this .financialDocumentCheckAmount = financialDocumentCheckAmount;
125: }
126:
127: /**
128: * Gets the financialDocumentAdvanceDepositAmount attribute.
129: *
130: * @return Returns the financialDocumentAdvanceDepositAmount
131: */
132: public KualiDecimal getFinancialDocumentAdvanceDepositAmount() {
133: return financialDocumentAdvanceDepositAmount;
134: }
135:
136: /**
137: * Sets the financialDocumentAdvanceDepositAmount attribute.
138: *
139: * @param financialDocumentAdvanceDepositAmount The financialDocumentAdvanceDepositAmount to set.
140: */
141: public void setFinancialDocumentAdvanceDepositAmount(
142: KualiDecimal financialDocumentAdvanceDepositAmount) {
143: this .financialDocumentAdvanceDepositAmount = financialDocumentAdvanceDepositAmount;
144: }
145:
146: /**
147: * Gets the financialDocumentRevolvingFundAmount attribute.
148: *
149: * @return Returns the financialDocumentRevolvingFundAmount
150: */
151: public KualiDecimal getFinancialDocumentRevolvingFundAmount() {
152: return financialDocumentRevolvingFundAmount;
153: }
154:
155: /**
156: * Sets the financialDocumentRevolvingFundAmount attribute.
157: *
158: * @param financialDocumentRevolvingFundAmount The financialDocumentRevolvingFundAmount to set.
159: */
160: public void setFinancialDocumentRevolvingFundAmount(
161: KualiDecimal financialDocumentRevolvingFundAmount) {
162: this .financialDocumentRevolvingFundAmount = financialDocumentRevolvingFundAmount;
163: }
164:
165: /**
166: * Gets the financialDocumentNextCreditCardLineNumber attribute.
167: *
168: * @return Returns the financialDocumentNextCreditCardLineNumber
169: */
170: public Integer getFinancialDocumentNextCreditCardLineNumber() {
171: return financialDocumentNextCreditCardLineNumber;
172: }
173:
174: /**
175: * Sets the financialDocumentNextCreditCardLineNumber attribute.
176: *
177: * @param financialDocumentNextCreditCardLineNumber The financialDocumentNextCreditCardLineNumber to set.
178: */
179: public void setFinancialDocumentNextCreditCardLineNumber(
180: Integer financialDocumentNextCreditCardLineNumber) {
181: this .financialDocumentNextCreditCardLineNumber = financialDocumentNextCreditCardLineNumber;
182: }
183:
184: /**
185: * Gets the financialDocumentCashAmount attribute.
186: *
187: * @return Returns the financialDocumentCashAmount
188: */
189: public KualiDecimal getFinancialDocumentCashAmount() {
190: return financialDocumentCashAmount;
191: }
192:
193: /**
194: * Sets the financialDocumentCashAmount attribute.
195: *
196: * @param financialDocumentCashAmount The financialDocumentCashAmount to set.
197: */
198: public void setFinancialDocumentCashAmount(
199: KualiDecimal financialDocumentCashAmount) {
200: this .financialDocumentCashAmount = financialDocumentCashAmount;
201: }
202:
203: /**
204: * Gets the financialDocumentCreditCardAmount attribute.
205: *
206: * @return Returns the financialDocumentCreditCardAmount
207: */
208: public KualiDecimal getFinancialDocumentCreditCardAmount() {
209: return financialDocumentCreditCardAmount;
210: }
211:
212: /**
213: * Sets the financialDocumentCreditCardAmount attribute.
214: *
215: * @param financialDocumentCreditCardAmount The financialDocumentCreditCardAmount to set.
216: */
217: public void setFinancialDocumentCreditCardAmount(
218: KualiDecimal financialDocumentCreditCardAmount) {
219: this .financialDocumentCreditCardAmount = financialDocumentCreditCardAmount;
220: }
221:
222: /**
223: * Gets the financialDocumentTotalCoinAmount attribute.
224: *
225: * @return Returns the financialDocumentTotalCoinAmount
226: */
227: public KualiDecimal getFinancialDocumentTotalCoinAmount() {
228: return financialDocumentTotalCoinAmount;
229: }
230:
231: /**
232: * Sets the financialDocumentTotalCoinAmount attribute.
233: *
234: * @param financialDocumentTotalCoinAmount The financialDocumentTotalCoinAmount to set.
235: */
236: public void setFinancialDocumentTotalCoinAmount(
237: KualiDecimal financialDocumentTotalCoinAmount) {
238: this .financialDocumentTotalCoinAmount = financialDocumentTotalCoinAmount;
239: }
240:
241: /**
242: * Gets the financialDocumentChangeOutAmount attribute.
243: *
244: * @return Returns the financialDocumentChangeOutAmount
245: */
246: public KualiDecimal getFinancialDocumentChangeOutAmount() {
247: return financialDocumentChangeOutAmount;
248: }
249:
250: /**
251: * Sets the financialDocumentChangeOutAmount attribute.
252: *
253: * @param financialDocumentChangeOutAmount The financialDocumentChangeOutAmount to set.
254: */
255: public void setFinancialDocumentChangeOutAmount(
256: KualiDecimal financialDocumentChangeOutAmount) {
257: this .financialDocumentChangeOutAmount = financialDocumentChangeOutAmount;
258: }
259:
260: /**
261: * Gets the nextCheckLineNumber attribute.
262: *
263: * @return Returns the nextCheckLineNumber
264: */
265: public Integer getNextCheckLineNumber() {
266: return nextCheckLineNumber;
267: }
268:
269: /**
270: * Sets the nextCheckLineNumber attribute.
271: *
272: * @param nextCheckLineNumber The nextCheckLineNumber to set.
273: */
274: public void setNextCheckLineNumber(Integer nextCheckLineNumber) {
275: this .nextCheckLineNumber = nextCheckLineNumber;
276: }
277:
278: /**
279: * Gets the nextAdvanceDepositLineNumber attribute.
280: *
281: * @return Returns the nextAdvanceDepositLineNumber
282: */
283: public Integer getNextAdvanceDepositLineNumber() {
284: return nextAdvanceDepositLineNumber;
285: }
286:
287: /**
288: * Sets the nextAdvanceDepositLineNumber attribute.
289: *
290: * @param nextAdvanceDepositLineNumber The nextAdvanceDepositLineNumber to set.
291: */
292: public void setNextAdvanceDepositLineNumber(
293: Integer nextAdvanceDepositLineNumber) {
294: this .nextAdvanceDepositLineNumber = nextAdvanceDepositLineNumber;
295: }
296:
297: /**
298: * Gets the nextRevolvingFundLineNumber attribute.
299: *
300: * @return Returns the nextRevolvingFundLineNumber
301: */
302: public Integer getNextRevolvingFundLineNumber() {
303: return nextRevolvingFundLineNumber;
304: }
305:
306: /**
307: * Sets the nextRevolvingFundLineNumber attribute.
308: *
309: * @param nextRevolvingFundLineNumber The nextRevolvingFundLineNumber to set.
310: */
311: public void setNextRevolvingFundLineNumber(
312: Integer nextRevolvingFundLineNumber) {
313: this .nextRevolvingFundLineNumber = nextRevolvingFundLineNumber;
314: }
315:
316: /**
317: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
318: */
319: protected LinkedHashMap toStringMapper() {
320: LinkedHashMap m = new LinkedHashMap();
321: m
322: .put(KFSPropertyConstants.DOCUMENT_NUMBER,
323: this.documentNumber);
324: return m;
325: }
326: }
|