001 /*
002 * Copyright 2011 The Kuali Foundation.
003 *
004 * Licensed under the Educational Community License, Version 2.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/ecl2.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.kfs.module.bc.businessobject;
018
019 import java.math.BigDecimal;
020 import java.util.LinkedHashMap;
021
022 import org.kuali.kfs.coa.businessobject.Account;
023 import org.kuali.kfs.coa.businessobject.Chart;
024 import org.kuali.kfs.coa.businessobject.ObjectCode;
025 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
026 import org.kuali.rice.kns.util.KualiInteger;
027
028 /**
029 *
030 */
031 public class BudgetConstructionAppointmentFundingLoad extends PersistableBusinessObjectBase {
032
033 private Integer universityFiscalYear;
034 private String chartOfAccountsCode;
035 private String accountNumber;
036 private String subAccountNumber;
037 private String financialObjectCode;
038 private String financialSubObjectCode;
039 private String positionNumber;
040 private String emplid;
041 private String appointmentFundingDurationCode;
042 private KualiInteger appointmentRequestedCsfAmount;
043 private BigDecimal appointmentRequestedCsfFteQuantity;
044 private BigDecimal appointmentRequestedCsfTimePercent;
045 private KualiInteger appointmentTotalIntendedAmount;
046 private BigDecimal appointmentTotalIntendedFteQuantity;
047 private KualiInteger appointmentRequestedAmount;
048 private BigDecimal appointmentRequestedTimePercent;
049 private BigDecimal appointmentRequestedFteQuantity;
050 private BigDecimal appointmentRequestedPayRate;
051 private String appointmentFundingDeleteCode;
052 private Integer appointmentFundingMonth;
053
054 private ObjectCode financialObject;
055 private Chart chartOfAccounts;
056 private Account account;
057
058 /**
059 * Default constructor.
060 */
061 public BudgetConstructionAppointmentFundingLoad() {
062
063 }
064
065 /**
066 * Gets the universityFiscalYear attribute.
067 *
068 * @return Returns the universityFiscalYear
069 */
070 public Integer getUniversityFiscalYear() {
071 return universityFiscalYear;
072 }
073
074 /**
075 * Sets the universityFiscalYear attribute.
076 *
077 * @param universityFiscalYear The universityFiscalYear to set.
078 */
079 public void setUniversityFiscalYear(Integer universityFiscalYear) {
080 this.universityFiscalYear = universityFiscalYear;
081 }
082
083
084 /**
085 * Gets the chartOfAccountsCode attribute.
086 *
087 * @return Returns the chartOfAccountsCode
088 */
089 public String getChartOfAccountsCode() {
090 return chartOfAccountsCode;
091 }
092
093 /**
094 * Sets the chartOfAccountsCode attribute.
095 *
096 * @param chartOfAccountsCode The chartOfAccountsCode to set.
097 */
098 public void setChartOfAccountsCode(String chartOfAccountsCode) {
099 this.chartOfAccountsCode = chartOfAccountsCode;
100 }
101
102
103 /**
104 * Gets the accountNumber attribute.
105 *
106 * @return Returns the accountNumber
107 */
108 public String getAccountNumber() {
109 return accountNumber;
110 }
111
112 /**
113 * Sets the accountNumber attribute.
114 *
115 * @param accountNumber The accountNumber to set.
116 */
117 public void setAccountNumber(String accountNumber) {
118 this.accountNumber = accountNumber;
119 }
120
121
122 /**
123 * Gets the subAccountNumber attribute.
124 *
125 * @return Returns the subAccountNumber
126 */
127 public String getSubAccountNumber() {
128 return subAccountNumber;
129 }
130
131 /**
132 * Sets the subAccountNumber attribute.
133 *
134 * @param subAccountNumber The subAccountNumber to set.
135 */
136 public void setSubAccountNumber(String subAccountNumber) {
137 this.subAccountNumber = subAccountNumber;
138 }
139
140
141 /**
142 * Gets the financialObjectCode attribute.
143 *
144 * @return Returns the financialObjectCode
145 */
146 public String getFinancialObjectCode() {
147 return financialObjectCode;
148 }
149
150 /**
151 * Sets the financialObjectCode attribute.
152 *
153 * @param financialObjectCode The financialObjectCode to set.
154 */
155 public void setFinancialObjectCode(String financialObjectCode) {
156 this.financialObjectCode = financialObjectCode;
157 }
158
159
160 /**
161 * Gets the financialSubObjectCode attribute.
162 *
163 * @return Returns the financialSubObjectCode
164 */
165 public String getFinancialSubObjectCode() {
166 return financialSubObjectCode;
167 }
168
169 /**
170 * Sets the financialSubObjectCode attribute.
171 *
172 * @param financialSubObjectCode The financialSubObjectCode to set.
173 */
174 public void setFinancialSubObjectCode(String financialSubObjectCode) {
175 this.financialSubObjectCode = financialSubObjectCode;
176 }
177
178
179 /**
180 * Gets the positionNumber attribute.
181 *
182 * @return Returns the positionNumber
183 */
184 public String getPositionNumber() {
185 return positionNumber;
186 }
187
188 /**
189 * Sets the positionNumber attribute.
190 *
191 * @param positionNumber The positionNumber to set.
192 */
193 public void setPositionNumber(String positionNumber) {
194 this.positionNumber = positionNumber;
195 }
196
197
198 /**
199 * Gets the emplid attribute.
200 *
201 * @return Returns the emplid
202 */
203 public String getEmplid() {
204 return emplid;
205 }
206
207 /**
208 * Sets the emplid attribute.
209 *
210 * @param emplid The emplid to set.
211 */
212 public void setEmplid(String emplid) {
213 this.emplid = emplid;
214 }
215
216
217 /**
218 * Gets the appointmentFundingDurationCode attribute.
219 *
220 * @return Returns the appointmentFundingDurationCode
221 */
222 public String getAppointmentFundingDurationCode() {
223 return appointmentFundingDurationCode;
224 }
225
226 /**
227 * Sets the appointmentFundingDurationCode attribute.
228 *
229 * @param appointmentFundingDurationCode The appointmentFundingDurationCode to set.
230 */
231 public void setAppointmentFundingDurationCode(String appointmentFundingDurationCode) {
232 this.appointmentFundingDurationCode = appointmentFundingDurationCode;
233 }
234
235
236 /**
237 * Gets the appointmentRequestedCsfAmount attribute.
238 *
239 * @return Returns the appointmentRequestedCsfAmount.
240 */
241 public KualiInteger getAppointmentRequestedCsfAmount() {
242 return appointmentRequestedCsfAmount;
243 }
244
245 /**
246 * Sets the appointmentRequestedCsfAmount attribute value.
247 *
248 * @param appointmentRequestedCsfAmount The appointmentRequestedCsfAmount to set.
249 */
250 public void setAppointmentRequestedCsfAmount(KualiInteger appointmentRequestedCsfAmount) {
251 this.appointmentRequestedCsfAmount = appointmentRequestedCsfAmount;
252 }
253
254 /**
255 * Gets the appointmentRequestedCsfFteQuantity attribute.
256 *
257 * @return Returns the appointmentRequestedCsfFteQuantity
258 */
259 public BigDecimal getAppointmentRequestedCsfFteQuantity() {
260 return appointmentRequestedCsfFteQuantity;
261 }
262
263 /**
264 * Sets the appointmentRequestedCsfFteQuantity attribute.
265 *
266 * @param appointmentRequestedCsfFteQuantity The appointmentRequestedCsfFteQuantity to set.
267 */
268 public void setAppointmentRequestedCsfFteQuantity(BigDecimal appointmentRequestedCsfFteQuantity) {
269 this.appointmentRequestedCsfFteQuantity = appointmentRequestedCsfFteQuantity;
270 }
271
272
273 /**
274 * Gets the appointmentRequestedCsfTimePercent attribute.
275 *
276 * @return Returns the appointmentRequestedCsfTimePercent
277 */
278 public BigDecimal getAppointmentRequestedCsfTimePercent() {
279 return appointmentRequestedCsfTimePercent;
280 }
281
282 /**
283 * Sets the appointmentRequestedCsfTimePercent attribute.
284 *
285 * @param appointmentRequestedCsfTimePercent The appointmentRequestedCsfTimePercent to set.
286 */
287 public void setAppointmentRequestedCsfTimePercent(BigDecimal appointmentRequestedCsfTimePercent) {
288 this.appointmentRequestedCsfTimePercent = appointmentRequestedCsfTimePercent;
289 }
290
291
292 /**
293 * Gets the appointmentTotalIntendedAmount attribute.
294 *
295 * @return Returns the appointmentTotalIntendedAmount.
296 */
297 public KualiInteger getAppointmentTotalIntendedAmount() {
298 return appointmentTotalIntendedAmount;
299 }
300
301 /**
302 * Sets the appointmentTotalIntendedAmount attribute value.
303 *
304 * @param appointmentTotalIntendedAmount The appointmentTotalIntendedAmount to set.
305 */
306 public void setAppointmentTotalIntendedAmount(KualiInteger appointmentTotalIntendedAmount) {
307 this.appointmentTotalIntendedAmount = appointmentTotalIntendedAmount;
308 }
309
310 /**
311 * Gets the appointmentTotalIntendedFteQuantity attribute.
312 *
313 * @return Returns the appointmentTotalIntendedFteQuantity
314 */
315 public BigDecimal getAppointmentTotalIntendedFteQuantity() {
316 return appointmentTotalIntendedFteQuantity;
317 }
318
319 /**
320 * Sets the appointmentTotalIntendedFteQuantity attribute.
321 *
322 * @param appointmentTotalIntendedFteQuantity The appointmentTotalIntendedFteQuantity to set.
323 */
324 public void setAppointmentTotalIntendedFteQuantity(BigDecimal appointmentTotalIntendedFteQuantity) {
325 this.appointmentTotalIntendedFteQuantity = appointmentTotalIntendedFteQuantity;
326 }
327
328
329 /**
330 * Gets the appointmentRequestedAmount attribute.
331 *
332 * @return Returns the appointmentRequestedAmount.
333 */
334 public KualiInteger getAppointmentRequestedAmount() {
335 return appointmentRequestedAmount;
336 }
337
338 /**
339 * Sets the appointmentRequestedAmount attribute value.
340 *
341 * @param appointmentRequestedAmount The appointmentRequestedAmount to set.
342 */
343 public void setAppointmentRequestedAmount(KualiInteger appointmentRequestedAmount) {
344 this.appointmentRequestedAmount = appointmentRequestedAmount;
345 }
346
347 /**
348 * Gets the appointmentRequestedTimePercent attribute.
349 *
350 * @return Returns the appointmentRequestedTimePercent
351 */
352 public BigDecimal getAppointmentRequestedTimePercent() {
353 return appointmentRequestedTimePercent;
354 }
355
356 /**
357 * Sets the appointmentRequestedTimePercent attribute.
358 *
359 * @param appointmentRequestedTimePercent The appointmentRequestedTimePercent to set.
360 */
361 public void setAppointmentRequestedTimePercent(BigDecimal appointmentRequestedTimePercent) {
362 this.appointmentRequestedTimePercent = appointmentRequestedTimePercent;
363 }
364
365
366 /**
367 * Gets the appointmentRequestedFteQuantity attribute.
368 *
369 * @return Returns the appointmentRequestedFteQuantity
370 */
371 public BigDecimal getAppointmentRequestedFteQuantity() {
372 return appointmentRequestedFteQuantity;
373 }
374
375 /**
376 * Sets the appointmentRequestedFteQuantity attribute.
377 *
378 * @param appointmentRequestedFteQuantity The appointmentRequestedFteQuantity to set.
379 */
380 public void setAppointmentRequestedFteQuantity(BigDecimal appointmentRequestedFteQuantity) {
381 this.appointmentRequestedFteQuantity = appointmentRequestedFteQuantity;
382 }
383
384
385 /**
386 * Gets the appointmentRequestedPayRate attribute.
387 *
388 * @return Returns the appointmentRequestedPayRate
389 */
390 public BigDecimal getAppointmentRequestedPayRate() {
391 return appointmentRequestedPayRate;
392 }
393
394 /**
395 * Sets the appointmentRequestedPayRate attribute.
396 *
397 * @param appointmentRequestedPayRate The appointmentRequestedPayRate to set.
398 */
399 public void setAppointmentRequestedPayRate(BigDecimal appointmentRequestedPayRate) {
400 this.appointmentRequestedPayRate = appointmentRequestedPayRate;
401 }
402
403
404 /**
405 * Gets the appointmentFundingDeleteCode attribute.
406 *
407 * @return Returns the appointmentFundingDeleteCode
408 */
409 public String getAppointmentFundingDeleteCode() {
410 return appointmentFundingDeleteCode;
411 }
412
413 /**
414 * Sets the appointmentFundingDeleteCode attribute.
415 *
416 * @param appointmentFundingDeleteCode The appointmentFundingDeleteCode to set.
417 */
418 public void setAppointmentFundingDeleteCode(String appointmentFundingDeleteCode) {
419 this.appointmentFundingDeleteCode = appointmentFundingDeleteCode;
420 }
421
422
423 /**
424 * Gets the appointmentFundingMonth attribute.
425 *
426 * @return Returns the appointmentFundingMonth
427 */
428 public Integer getAppointmentFundingMonth() {
429 return appointmentFundingMonth;
430 }
431
432 /**
433 * Sets the appointmentFundingMonth attribute.
434 *
435 * @param appointmentFundingMonth The appointmentFundingMonth to set.
436 */
437 public void setAppointmentFundingMonth(Integer appointmentFundingMonth) {
438 this.appointmentFundingMonth = appointmentFundingMonth;
439 }
440
441
442 /**
443 * Gets the financialObject attribute.
444 *
445 * @return Returns the financialObject
446 */
447 public ObjectCode getFinancialObject() {
448 return financialObject;
449 }
450
451 /**
452 * Sets the financialObject attribute.
453 *
454 * @param financialObject The financialObject to set.
455 * @deprecated
456 */
457 public void setFinancialObject(ObjectCode financialObject) {
458 this.financialObject = financialObject;
459 }
460
461 /**
462 * Gets the chartOfAccounts attribute.
463 *
464 * @return Returns the chartOfAccounts
465 */
466 public Chart getChartOfAccounts() {
467 return chartOfAccounts;
468 }
469
470 /**
471 * Sets the chartOfAccounts attribute.
472 *
473 * @param chartOfAccounts The chartOfAccounts to set.
474 * @deprecated
475 */
476 public void setChartOfAccounts(Chart chartOfAccounts) {
477 this.chartOfAccounts = chartOfAccounts;
478 }
479
480 /**
481 * Gets the account attribute.
482 *
483 * @return Returns the account
484 */
485 public Account getAccount() {
486 return account;
487 }
488
489 /**
490 * Sets the account attribute.
491 *
492 * @param account The account to set.
493 * @deprecated
494 */
495 public void setAccount(Account account) {
496 this.account = account;
497 }
498
499 /**
500 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
501 */
502 protected LinkedHashMap toStringMapper() {
503 LinkedHashMap m = new LinkedHashMap();
504 if (this.universityFiscalYear != null) {
505 m.put("universityFiscalYear", this.universityFiscalYear.toString());
506 }
507 m.put("chartOfAccountsCode", this.chartOfAccountsCode);
508 m.put("accountNumber", this.accountNumber);
509 m.put("subAccountNumber", this.subAccountNumber);
510 m.put("financialObjectCode", this.financialObjectCode);
511 m.put("financialSubObjectCode", this.financialSubObjectCode);
512 m.put("positionNumber", this.positionNumber);
513 m.put("emplid", this.emplid);
514 return m;
515 }
516 }