1 /*
2 * Copyright 2005-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.util.LinkedHashMap;
20
21 import org.kuali.ole.sys.OLEPropertyConstants;
22 import org.kuali.rice.core.api.util.type.KualiDecimal;
23 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
24
25 /**
26 * This class is used to represent a disbursement voucher pre-conference registrant.
27 */
28 public class DisbursementVoucherPreConferenceRegistrant extends PersistableBusinessObjectBase {
29
30 private String documentNumber;
31 private Integer financialDocumentLineNumber;
32 private String disbVchrPreConfDepartmentCd;
33 private String dvConferenceRegistrantName;
34 private String dvPreConferenceRequestNumber;
35 private KualiDecimal disbVchrExpenseAmount;
36
37 /**
38 * Default no-arg constructor.
39 */
40 public DisbursementVoucherPreConferenceRegistrant() {
41
42 }
43
44 /**
45 * Gets the documentNumber attribute.
46 *
47 * @return Returns the documentNumber
48 */
49 public String getDocumentNumber() {
50 return documentNumber;
51 }
52
53
54 /**
55 * Sets the documentNumber attribute.
56 *
57 * @param documentNumber The documentNumber to set.
58 */
59 public void setDocumentNumber(String documentNumber) {
60 this.documentNumber = documentNumber;
61 }
62
63 /**
64 * Gets the financialDocumentLineNumber attribute.
65 *
66 * @return Returns the financialDocumentLineNumber
67 */
68 public Integer getFinancialDocumentLineNumber() {
69 return financialDocumentLineNumber;
70 }
71
72
73 /**
74 * Sets the financialDocumentLineNumber attribute.
75 *
76 * @param financialDocumentLineNumber The financialDocumentLineNumber to set.
77 */
78 public void setFinancialDocumentLineNumber(Integer financialDocumentLineNumber) {
79 this.financialDocumentLineNumber = financialDocumentLineNumber;
80 }
81
82 /**
83 * Gets the disbVchrPreConfDepartmentCd attribute.
84 *
85 * @return Returns the disbVchrPreConfDepartmentCd
86 */
87 public String getDisbVchrPreConfDepartmentCd() {
88 return disbVchrPreConfDepartmentCd;
89 }
90
91
92 /**
93 * Sets the disbVchrPreConfDepartmentCd attribute.
94 *
95 * @param disbVchrPreConfDepartmentCd The disbVchrPreConfDepartmentCd to set.
96 */
97 public void setDisbVchrPreConfDepartmentCd(String disbVchrPreConfDepartmentCd) {
98 this.disbVchrPreConfDepartmentCd = disbVchrPreConfDepartmentCd;
99 }
100
101 /**
102 * Gets the dvConferenceRegistrantName attribute.
103 *
104 * @return Returns the dvConferenceRegistrantName
105 */
106 public String getDvConferenceRegistrantName() {
107 return dvConferenceRegistrantName;
108 }
109
110
111 /**
112 * Sets the dvConferenceRegistrantName attribute.
113 *
114 * @param dvConferenceRegistrantName The dvConferenceRegistrantName to set.
115 */
116 public void setDvConferenceRegistrantName(String dvConferenceRegistrantName) {
117 this.dvConferenceRegistrantName = dvConferenceRegistrantName;
118 }
119
120 /**
121 * Gets the dvPreConferenceRequestNumber attribute.
122 *
123 * @return Returns the dvPreConferenceRequestNumber
124 */
125 public String getDvPreConferenceRequestNumber() {
126 return dvPreConferenceRequestNumber;
127 }
128
129
130 /**
131 * Sets the dvPreConferenceRequestNumber attribute.
132 *
133 * @param dvPreConferenceRequestNumber The dvPreConferenceRequestNumber to set.
134 */
135 public void setDvPreConferenceRequestNumber(String dvPreConferenceRequestNumber) {
136 this.dvPreConferenceRequestNumber = dvPreConferenceRequestNumber;
137 }
138
139 /**
140 * Gets the disbVchrExpenseAmount attribute.
141 *
142 * @return Returns the disbVchrExpenseAmount
143 */
144 public KualiDecimal getDisbVchrExpenseAmount() {
145 return disbVchrExpenseAmount;
146 }
147
148
149 /**
150 * Sets the disbVchrExpenseAmount attribute.
151 *
152 * @param disbVchrExpenseAmount The disbVchrExpenseAmount to set.
153 */
154 public void setDisbVchrExpenseAmount(KualiDecimal disbVchrExpenseAmount) {
155 this.disbVchrExpenseAmount = disbVchrExpenseAmount;
156 }
157
158 /**
159 * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
160 */
161 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
162 LinkedHashMap m = new LinkedHashMap();
163 m.put(OLEPropertyConstants.DOCUMENT_NUMBER, this.documentNumber);
164 if (financialDocumentLineNumber != null) {
165 m.put("financialDocumentLineNumber", this.financialDocumentLineNumber.toString());
166 }
167 return m;
168 }
169 }