001: /*
002: * Copyright 2005-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.kfs.KFSPropertyConstants;
023:
024: /**
025: * This class is used to represent a disbursement voucher wire transfer.
026: */
027: public class DisbursementVoucherWireTransfer extends
028: PersistableBusinessObjectBase {
029:
030: private String documentNumber;
031: private String disbursementVoucherBankName;
032: private String disbVchrBankRoutingNumber;
033: private String disbVchrBankCityName;
034: private String disbVchrBankStateCode;
035: private String disbVchrBankCountryCode;
036: private String disbVchrAttentionLineText;
037: private String disbVchrAdditionalWireText;
038: private String disbVchrPayeeAccountNumber;
039: private String disbVchrCurrencyTypeName;
040: private String disbVchrCurrencyTypeCode;
041: private boolean disbursementVoucherWireTransferFeeWaiverIndicator;
042: private String disbursementVoucherPayeeAccountName;
043: private String disbursementVoucherPayeeAccountTypeCode;
044: private String disbursementVoucherAutomatedClearingHouseProfileNumber;
045: private String disbursementVoucherForeignCurrencyTypeName;
046: private String disbursementVoucherForeignCurrencyTypeCode;
047:
048: /**
049: * Default no-arg constructor.
050: */
051: public DisbursementVoucherWireTransfer() {
052: disbursementVoucherWireTransferFeeWaiverIndicator = false;
053: }
054:
055: /**
056: * Gets the documentNumber attribute.
057: *
058: * @return Returns the documentNumber
059: */
060: public String getDocumentNumber() {
061: return documentNumber;
062: }
063:
064: /**
065: * Sets the documentNumber attribute.
066: *
067: * @param documentNumber The documentNumber to set.
068: */
069: public void setDocumentNumber(String documentNumber) {
070: this .documentNumber = documentNumber;
071: }
072:
073: /**
074: * Gets the disbursementVoucherBankName attribute.
075: *
076: * @return Returns the disbursementVoucherBankName
077: */
078: public String getDisbursementVoucherBankName() {
079: return disbursementVoucherBankName;
080: }
081:
082: /**
083: * Sets the disbursementVoucherBankName attribute.
084: *
085: * @param disbursementVoucherBankName The disbursementVoucherBankName to set.
086: */
087: public void setDisbursementVoucherBankName(
088: String disbursementVoucherBankName) {
089: this .disbursementVoucherBankName = disbursementVoucherBankName;
090: }
091:
092: /**
093: * Gets the disbVchrBankRoutingNumber attribute.
094: *
095: * @return Returns the disbVchrBankRoutingNumber
096: */
097: public String getDisbVchrBankRoutingNumber() {
098: return disbVchrBankRoutingNumber;
099: }
100:
101: /**
102: * Sets the disbVchrBankRoutingNumber attribute.
103: *
104: * @param disbVchrBankRoutingNumber The disbVchrBankRoutingNumber to set.
105: */
106: public void setDisbVchrBankRoutingNumber(
107: String disbVchrBankRoutingNumber) {
108: this .disbVchrBankRoutingNumber = disbVchrBankRoutingNumber;
109: }
110:
111: /**
112: * Gets the disbVchrBankCityName attribute.
113: *
114: * @return Returns the disbVchrBankCityName
115: */
116: public String getDisbVchrBankCityName() {
117: return disbVchrBankCityName;
118: }
119:
120: /**
121: * Sets the disbVchrBankCityName attribute.
122: *
123: * @param disbVchrBankCityName The disbVchrBankCityName to set.
124: */
125: public void setDisbVchrBankCityName(String disbVchrBankCityName) {
126: this .disbVchrBankCityName = disbVchrBankCityName;
127: }
128:
129: /**
130: * Gets the disbVchrBankStateCode attribute.
131: *
132: * @return Returns the disbVchrBankStateCode
133: */
134: public String getDisbVchrBankStateCode() {
135: return disbVchrBankStateCode;
136: }
137:
138: /**
139: * Sets the disbVchrBankStateCode attribute.
140: *
141: * @param disbVchrBankStateCode The disbVchrBankStateCode to set.
142: */
143: public void setDisbVchrBankStateCode(String disbVchrBankStateCode) {
144: this .disbVchrBankStateCode = disbVchrBankStateCode;
145: }
146:
147: /**
148: * Gets the disbVchrBankCountryCode attribute.
149: *
150: * @return Returns the disbVchrBankCountryCode
151: */
152: public String getDisbVchrBankCountryCode() {
153: return disbVchrBankCountryCode;
154: }
155:
156: /**
157: * Sets the disbVchrBankCountryCode attribute.
158: *
159: * @param disbVchrBankCountryCode The disbVchrBankCountryCode to set.
160: */
161: public void setDisbVchrBankCountryCode(
162: String disbVchrBankCountryCode) {
163: this .disbVchrBankCountryCode = disbVchrBankCountryCode;
164: }
165:
166: /**
167: * Gets the disbVchrAttentionLineText attribute.
168: *
169: * @return Returns the disbVchrAttentionLineText
170: */
171: public String getDisbVchrAttentionLineText() {
172: return disbVchrAttentionLineText;
173: }
174:
175: /**
176: * Sets the disbVchrAttentionLineText attribute.
177: *
178: * @param disbVchrAttentionLineText The disbVchrAttentionLineText to set.
179: */
180: public void setDisbVchrAttentionLineText(
181: String disbVchrAttentionLineText) {
182: this .disbVchrAttentionLineText = disbVchrAttentionLineText;
183: }
184:
185: /**
186: * Gets the disbVchrAdditionalWireText attribute.
187: *
188: * @return Returns the disbVchrAdditionalWireText
189: */
190: public String getDisbVchrAdditionalWireText() {
191: return disbVchrAdditionalWireText;
192: }
193:
194: /**
195: * Sets the disbVchrAdditionalWireText attribute.
196: *
197: * @param disbVchrAdditionalWireText The disbVchrAdditionalWireText to set.
198: */
199: public void setDisbVchrAdditionalWireText(
200: String disbVchrAdditionalWireText) {
201: this .disbVchrAdditionalWireText = disbVchrAdditionalWireText;
202: }
203:
204: /**
205: * Gets the disbVchrPayeeAccountNumber attribute.
206: *
207: * @return Returns the disbVchrPayeeAccountNumber
208: */
209: public String getDisbVchrPayeeAccountNumber() {
210: return disbVchrPayeeAccountNumber;
211: }
212:
213: /**
214: * Sets the disbVchrPayeeAccountNumber attribute.
215: *
216: * @param disbVchrPayeeAccountNumber The disbVchrPayeeAccountNumber to set.
217: */
218: public void setDisbVchrPayeeAccountNumber(
219: String disbVchrPayeeAccountNumber) {
220: this .disbVchrPayeeAccountNumber = disbVchrPayeeAccountNumber;
221: }
222:
223: /**
224: * Gets the disbVchrCurrencyTypeName attribute.
225: *
226: * @return Returns the disbVchrCurrencyTypeName
227: */
228: public String getDisbVchrCurrencyTypeName() {
229: return disbVchrCurrencyTypeName;
230: }
231:
232: /**
233: * Sets the disbVchrCurrencyTypeName attribute.
234: *
235: * @param disbVchrCurrencyTypeName The disbVchrCurrencyTypeName to set.
236: */
237: public void setDisbVchrCurrencyTypeName(
238: String disbVchrCurrencyTypeName) {
239: this .disbVchrCurrencyTypeName = disbVchrCurrencyTypeName;
240: }
241:
242: /**
243: * Gets the disbursementVoucherForeignCurrencyTypeName attribute. This field is here because the currency type field is
244: * presented in different places on screen, and value conflicts occur unless we have an alias.
245: *
246: * @return Returns the disbursementVoucherForeignCurrencyTypeName
247: */
248: public String getDisbursementVoucherForeignCurrencyTypeName() {
249: return disbursementVoucherForeignCurrencyTypeName;
250: }
251:
252: /**
253: * Sets the disbursementVoucherForeignCurrencyTypeName attribute. This field is here because the currency type field is
254: * presented in different places on screen, and value conflicts occur unless we have an alias.
255: *
256: * @param disbursementVoucherForeignCurrencyTypeName The disbursementVoucherForeignCurrencyTypeName to set.
257: */
258: public void setDisbursementVoucherForeignCurrencyTypeName(
259: String disbursementVoucherForeignCurrencyTypeName) {
260: this .disbursementVoucherForeignCurrencyTypeName = disbursementVoucherForeignCurrencyTypeName;
261: }
262:
263: /**
264: * Gets the disbVchrCurrencyTypeCode attribute.
265: *
266: * @return Returns the disbVchrCurrencyTypeCode
267: */
268: public String getDisbVchrCurrencyTypeCode() {
269: return disbVchrCurrencyTypeCode;
270: }
271:
272: /**
273: * Sets the disbVchrCurrencyTypeCode attribute.
274: *
275: * @param disbVchrCurrencyTypeCode The disbVchrCurrencyTypeCode to set.
276: */
277: public void setDisbVchrCurrencyTypeCode(
278: String disbVchrCurrencyTypeCode) {
279: this .disbVchrCurrencyTypeCode = disbVchrCurrencyTypeCode;
280: }
281:
282: /**
283: * Gets the disbursementVoucherForeignCurrencyTypeCode attribute. This field is here because the currency type field is
284: * presented in different places on screen, and value conflicts occur unless we have an alias.
285: *
286: * @return Returns the disbursementVoucherForeignCurrencyTypeCode
287: */
288: public String getDisbursementVoucherForeignCurrencyTypeCode() {
289: return disbursementVoucherForeignCurrencyTypeCode;
290: }
291:
292: /**
293: * Sets the disbursementVoucherForeignCurrencyTypeCode attribute. This field is here because the currency type field is
294: * presented in different places on screen, and value conflicts occur unless we have an alias.
295: *
296: * @param disbursementVoucherForeignCurrencyTypeCode The disbursementVoucherForeignCurrencyTypeCode to set.
297: */
298: public void setDisbursementVoucherForeignCurrencyTypeCode(
299: String disbursementVoucherForeignCurrencyTypeCode) {
300: this .disbursementVoucherForeignCurrencyTypeCode = disbursementVoucherForeignCurrencyTypeCode;
301: }
302:
303: /**
304: * Gets the disbursementVoucherWireTransferFeeWaiverIndicator attribute.
305: *
306: * @return Returns the disbursementVoucherWireTransferFeeWaiverIndicator
307: */
308: public boolean isDisbursementVoucherWireTransferFeeWaiverIndicator() {
309: return disbursementVoucherWireTransferFeeWaiverIndicator;
310: }
311:
312: /**
313: * Sets the disbursementVoucherWireTransferFeeWaiverIndicator attribute.
314: *
315: * @param disbursementVoucherWireTransferFeeWaiverIndicator The disbursementVoucherWireTransferFeeWaiverIndicator to set.
316: */
317: public void setDisbursementVoucherWireTransferFeeWaiverIndicator(
318: boolean disbursementVoucherWireTransferFeeWaiverIndicator) {
319: this .disbursementVoucherWireTransferFeeWaiverIndicator = disbursementVoucherWireTransferFeeWaiverIndicator;
320: }
321:
322: /**
323: * Gets the disbursementVoucherPayeeAccountName attribute.
324: *
325: * @return Returns the disbursementVoucherPayeeAccountName
326: */
327: public String getDisbursementVoucherPayeeAccountName() {
328: return disbursementVoucherPayeeAccountName;
329: }
330:
331: /**
332: * Sets the disbursementVoucherPayeeAccountName attribute.
333: *
334: * @param disbursementVoucherPayeeAccountName The disbursementVoucherPayeeAccountName to set.
335: */
336: public void setDisbursementVoucherPayeeAccountName(
337: String disbursementVoucherPayeeAccountName) {
338: this .disbursementVoucherPayeeAccountName = disbursementVoucherPayeeAccountName;
339: }
340:
341: /**
342: * Gets the disbursementVoucherPayeeAccountTypeCode attribute.
343: *
344: * @return Returns the disbursementVoucherPayeeAccountTypeCode
345: */
346: public String getDisbursementVoucherPayeeAccountTypeCode() {
347: return disbursementVoucherPayeeAccountTypeCode;
348: }
349:
350: /**
351: * Sets the disbursementVoucherPayeeAccountTypeCode attribute.
352: *
353: * @param disbursementVoucherPayeeAccountTypeCode The disbursementVoucherPayeeAccountTypeCode to set.
354: */
355: public void setDisbursementVoucherPayeeAccountTypeCode(
356: String disbursementVoucherPayeeAccountTypeCode) {
357: this .disbursementVoucherPayeeAccountTypeCode = disbursementVoucherPayeeAccountTypeCode;
358: }
359:
360: /**
361: * Gets the disbursementVoucherAutomatedClearingHouseProfileNumber attribute.
362: *
363: * @return Returns the disbursementVoucherAutomatedClearingHouseProfileNumber
364: */
365: public String getDisbursementVoucherAutomatedClearingHouseProfileNumber() {
366: return disbursementVoucherAutomatedClearingHouseProfileNumber;
367: }
368:
369: /**
370: * Sets the disbursementVoucherAutomatedClearingHouseProfileNumber attribute.
371: *
372: * @param disbursementVoucherAutomatedClearingHouseProfileNumber The disbursementVoucherAutomatedClearingHouseProfileNumber to
373: * set.
374: */
375: public void setDisbursementVoucherAutomatedClearingHouseProfileNumber(
376: String disbursementVoucherAutomatedClearingHouseProfileNumber) {
377: this .disbursementVoucherAutomatedClearingHouseProfileNumber = disbursementVoucherAutomatedClearingHouseProfileNumber;
378: }
379:
380: public void setDisbVchrForeignBankIndicatorName(String name) {
381: }
382:
383: /**
384: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
385: */
386: protected LinkedHashMap toStringMapper() {
387: LinkedHashMap m = new LinkedHashMap();
388: m
389: .put(KFSPropertyConstants.DOCUMENT_NUMBER,
390: this.documentNumber);
391: return m;
392: }
393:
394: }
|