001: /*
002: * Copyright 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.labor.bo;
018:
019: import java.math.BigDecimal;
020: import java.sql.Date;
021: import java.sql.Timestamp;
022:
023: import org.kuali.core.bo.DocumentType;
024: import org.kuali.kfs.bo.GeneralLedgerPendingEntry;
025: import org.kuali.kfs.bo.OriginationCode;
026: import org.kuali.module.chart.bo.AccountingPeriod;
027: import org.kuali.module.gl.bo.UniversityDate;
028:
029: /**
030: * Labor business object for LaborLedgerPendingEntry.
031: */
032: public class LaborLedgerPendingEntry extends GeneralLedgerPendingEntry
033: implements LaborTransaction {
034: private String positionNumber;
035: private Date transactionPostingDate;
036: private Date payPeriodEndDate;
037: private BigDecimal transactionTotalHours;
038: private Integer payrollEndDateFiscalYear;
039: private String payrollEndDateFiscalPeriodCode;
040: private String emplid;
041: private Integer employeeRecord;
042: private String earnCode;
043: private String payGroup;
044: private String salaryAdministrationPlan;
045: private String grade;
046: private String runIdentifier;
047: private String laborLedgerOriginalChartOfAccountsCode;
048: private String laborLedgerOriginalAccountNumber;
049: private String laborLedgerOriginalSubAccountNumber;
050: private String laborLedgerOriginalFinancialObjectCode;
051: private String laborLedgerOriginalFinancialSubObjectCode;
052: private String hrmsCompany;
053: private String setid;
054: private Timestamp transactionDateTimeStamp;
055: private String transactionEntryOffsetCode;
056: private AccountingPeriod universityFiscalPeriod;
057: private AccountingPeriod payrollEndDateFiscalPeriod;
058: private UniversityDate reversalDate;
059: private PositionData positionData;
060:
061: /**
062: * Default constructor.
063: */
064: public LaborLedgerPendingEntry() {
065: super ();
066: }
067:
068: /**
069: * Gets the positionNumber.
070: *
071: * @return Returns the positionNumber
072: */
073: public String getPositionNumber() {
074: return positionNumber;
075: }
076:
077: /**
078: * Sets the positionNumber.
079: *
080: * @param positionNumber The positionNumber to set.
081: */
082: public void setPositionNumber(String positionNumber) {
083: this .positionNumber = positionNumber;
084: }
085:
086: /**
087: * Gets the transactionPostingDate.
088: *
089: * @return Returns the transactionPostingDate
090: */
091: public Date getTransactionPostingDate() {
092: return transactionPostingDate;
093: }
094:
095: /**
096: * Sets the transactionPostingDate.
097: *
098: * @param transactionPostingDate The transactionPostingDate to set.
099: */
100: public void setTransactionPostingDate(Date transactionPostingDate) {
101: this .transactionPostingDate = transactionPostingDate;
102: }
103:
104: /**
105: * Gets the payPeriodEndDate.
106: *
107: * @return Returns the payPeriodEndDate
108: */
109: public Date getPayPeriodEndDate() {
110: return payPeriodEndDate;
111: }
112:
113: /**
114: * Sets the payPeriodEndDate.
115: *
116: * @param payPeriodEndDate The payPeriodEndDate to set.
117: */
118: public void setPayPeriodEndDate(Date payPeriodEndDate) {
119: this .payPeriodEndDate = payPeriodEndDate;
120: }
121:
122: /**
123: * Gets the transactionTotalHours.
124: *
125: * @return Returns the transactionTotalHours
126: */
127: public BigDecimal getTransactionTotalHours() {
128: return transactionTotalHours;
129: }
130:
131: /**
132: * Sets the transactionTotalHours.
133: *
134: * @param transactionTotalHours The transactionTotalHours to set.
135: */
136: public void setTransactionTotalHours(
137: BigDecimal transactionTotalHours) {
138: this .transactionTotalHours = transactionTotalHours;
139: }
140:
141: /**
142: * Gets the payrollEndDateFiscalYear.
143: *
144: * @return Returns the payrollEndDateFiscalYear
145: */
146: public Integer getPayrollEndDateFiscalYear() {
147: return payrollEndDateFiscalYear;
148: }
149:
150: /**
151: * Sets the payrollEndDateFiscalYear.
152: *
153: * @param payrollEndDateFiscalYear The payrollEndDateFiscalYear to set.
154: */
155: public void setPayrollEndDateFiscalYear(
156: Integer payrollEndDateFiscalYear) {
157: this .payrollEndDateFiscalYear = payrollEndDateFiscalYear;
158: }
159:
160: /**
161: * Gets the payrollEndDateFiscalPeriodCode.
162: *
163: * @return Returns the payrollEndDateFiscalPeriodCode
164: */
165: public String getPayrollEndDateFiscalPeriodCode() {
166: return payrollEndDateFiscalPeriodCode;
167: }
168:
169: /**
170: * Sets the payrollEndDateFiscalPeriodCode.
171: *
172: * @param payrollEndDateFiscalPeriodCode The payrollEndDateFiscalPeriodCode to set.
173: */
174: public void setPayrollEndDateFiscalPeriodCode(
175: String payrollEndDateFiscalPeriodCode) {
176: this .payrollEndDateFiscalPeriodCode = payrollEndDateFiscalPeriodCode;
177: }
178:
179: /**
180: * Gets the emplid.
181: *
182: * @return Returns the emplid
183: */
184: public String getEmplid() {
185: return emplid;
186: }
187:
188: /**
189: * Sets the emplid.
190: *
191: * @param emplid The emplid to set.
192: */
193: public void setEmplid(String emplid) {
194: this .emplid = emplid;
195: }
196:
197: /**
198: * Gets the employeeRecord.
199: *
200: * @return Returns the employeeRecord
201: */
202: public Integer getEmployeeRecord() {
203: return employeeRecord;
204: }
205:
206: /**
207: * Sets the employeeRecord.
208: *
209: * @param employeeRecord The employeeRecord to set.
210: */
211: public void setEmployeeRecord(Integer employeeRecord) {
212: this .employeeRecord = employeeRecord;
213: }
214:
215: /**
216: * Gets the earnCode.
217: *
218: * @return Returns the earnCode
219: */
220: public String getEarnCode() {
221: return earnCode;
222: }
223:
224: /**
225: * Sets the earnCode.
226: *
227: * @param earnCode The earnCode to set.
228: */
229: public void setEarnCode(String earnCode) {
230: this .earnCode = earnCode;
231: }
232:
233: /**
234: * Gets the payGroup.
235: *
236: * @return Returns the payGroup
237: */
238: public String getPayGroup() {
239: return payGroup;
240: }
241:
242: /**
243: * Sets the payGroup.
244: *
245: * @param payGroup The payGroup to set.
246: */
247: public void setPayGroup(String payGroup) {
248: this .payGroup = payGroup;
249: }
250:
251: /**
252: * Gets the salaryAdministrationPlan.
253: *
254: * @return Returns the salaryAdministrationPlan
255: */
256: public String getSalaryAdministrationPlan() {
257: return salaryAdministrationPlan;
258: }
259:
260: /**
261: * Sets the salaryAdministrationPlan.
262: *
263: * @param salaryAdministrationPlan The salaryAdministrationPlan to set.
264: */
265: public void setSalaryAdministrationPlan(
266: String salaryAdministrationPlan) {
267: this .salaryAdministrationPlan = salaryAdministrationPlan;
268: }
269:
270: /**
271: * Gets the grade.
272: *
273: * @return Returns the grade
274: */
275: public String getGrade() {
276: return grade;
277: }
278:
279: /**
280: * Sets the grade.
281: *
282: * @param grade The grade to set.
283: */
284: public void setGrade(String grade) {
285: this .grade = grade;
286: }
287:
288: /**
289: * Gets the runIdentifier.
290: *
291: * @return Returns the runIdentifier
292: */
293: public String getRunIdentifier() {
294: return runIdentifier;
295: }
296:
297: /**
298: * Sets the runIdentifier.
299: *
300: * @param runIdentifier The runIdentifier to set.
301: */
302: public void setRunIdentifier(String runIdentifier) {
303: this .runIdentifier = runIdentifier;
304: }
305:
306: /**
307: * Gets the laborLedgerOriginalChartOfAccountsCode.
308: *
309: * @return Returns the laborLedgerOriginalChartOfAccountsCode
310: */
311: public String getLaborLedgerOriginalChartOfAccountsCode() {
312: return laborLedgerOriginalChartOfAccountsCode;
313: }
314:
315: /**
316: * Sets the laborLedgerOriginalChartOfAccountsCode.
317: *
318: * @param laborLedgerOriginalChartOfAccountsCode The laborLedgerOriginalChartOfAccountsCode to set.
319: */
320: public void setLaborLedgerOriginalChartOfAccountsCode(
321: String laborLedgerOriginalChartOfAccountsCode) {
322: this .laborLedgerOriginalChartOfAccountsCode = laborLedgerOriginalChartOfAccountsCode;
323: }
324:
325: /**
326: * Gets the laborLedgerOriginalAccountNumber.
327: *
328: * @return Returns the laborLedgerOriginalAccountNumber
329: */
330: public String getLaborLedgerOriginalAccountNumber() {
331: return laborLedgerOriginalAccountNumber;
332: }
333:
334: /**
335: * Sets the laborLedgerOriginalAccountNumber.
336: *
337: * @param laborLedgerOriginalAccountNumber The laborLedgerOriginalAccountNumber to set.
338: */
339: public void setLaborLedgerOriginalAccountNumber(
340: String laborLedgerOriginalAccountNumber) {
341: this .laborLedgerOriginalAccountNumber = laborLedgerOriginalAccountNumber;
342: }
343:
344: /**
345: * Gets the laborLedgerOriginalSubAccountNumber.
346: *
347: * @return Returns the laborLedgerOriginalSubAccountNumber
348: */
349: public String getLaborLedgerOriginalSubAccountNumber() {
350: return laborLedgerOriginalSubAccountNumber;
351: }
352:
353: /**
354: * Sets the laborLedgerOriginalSubAccountNumber.
355: *
356: * @param laborLedgerOriginalSubAccountNumber The laborLedgerOriginalSubAccountNumber to set.
357: */
358: public void setLaborLedgerOriginalSubAccountNumber(
359: String laborLedgerOriginalSubAccountNumber) {
360: this .laborLedgerOriginalSubAccountNumber = laborLedgerOriginalSubAccountNumber;
361: }
362:
363: /**
364: * Gets the laborLedgerOriginalFinancialObjectCode.
365: *
366: * @return Returns the laborLedgerOriginalFinancialObjectCode
367: */
368: public String getLaborLedgerOriginalFinancialObjectCode() {
369: return laborLedgerOriginalFinancialObjectCode;
370: }
371:
372: /**
373: * Sets the laborLedgerOriginalFinancialObjectCode.
374: *
375: * @param laborLedgerOriginalFinancialObjectCode The laborLedgerOriginalFinancialObjectCode to set.
376: */
377: public void setLaborLedgerOriginalFinancialObjectCode(
378: String laborLedgerOriginalFinancialObjectCode) {
379: this .laborLedgerOriginalFinancialObjectCode = laborLedgerOriginalFinancialObjectCode;
380: }
381:
382: /**
383: * Gets the laborLedgerOriginalFinancialSubObjectCode.
384: *
385: * @return Returns the laborLedgerOriginalFinancialSubObjectCode
386: */
387: public String getLaborLedgerOriginalFinancialSubObjectCode() {
388: return laborLedgerOriginalFinancialSubObjectCode;
389: }
390:
391: /**
392: * Sets the laborLedgerOriginalFinancialSubObjectCode.
393: *
394: * @param laborLedgerOriginalFinancialSubObjectCode The laborLedgerOriginalFinancialSubObjectCode to set.
395: */
396: public void setLaborLedgerOriginalFinancialSubObjectCode(
397: String laborLedgerOriginalFinancialSubObjectCode) {
398: this .laborLedgerOriginalFinancialSubObjectCode = laborLedgerOriginalFinancialSubObjectCode;
399: }
400:
401: /**
402: * Gets the hrmsCompany.
403: *
404: * @return Returns the hrmsCompany
405: */
406: public String getHrmsCompany() {
407: return hrmsCompany;
408: }
409:
410: /**
411: * Sets the hrmsCompany.
412: *
413: * @param hrmsCompany The hrmsCompany to set.
414: */
415: public void setHrmsCompany(String hrmsCompany) {
416: this .hrmsCompany = hrmsCompany;
417: }
418:
419: /**
420: * Gets the setid.
421: *
422: * @return Returns the setid
423: */
424: public String getSetid() {
425: return setid;
426: }
427:
428: /**
429: * Sets the setid.
430: *
431: * @param setid The setid to set.
432: */
433: public void setSetid(String setid) {
434: this .setid = setid;
435: }
436:
437: /**
438: * Gets the transactionDateTimeStamp.
439: *
440: * @return Returns the transactionDateTimeStamp
441: */
442: public Timestamp getTransactionDateTimeStamp() {
443: return transactionDateTimeStamp;
444: }
445:
446: /**
447: * Sets the transactionDateTimeStamp.
448: *
449: * @param transactionDateTimeStamp The transactionDateTimeStamp to set.
450: */
451: public void setTransactionDateTimeStamp(
452: Timestamp transactionDateTimeStamp) {
453: this .transactionDateTimeStamp = transactionDateTimeStamp;
454: }
455:
456: /**
457: * Gets the payrollEndDateFiscalPeriod.
458: *
459: * @return Returns the payrollEndDateFiscalPeriod.
460: */
461: public AccountingPeriod getPayrollEndDateFiscalPeriod() {
462: return payrollEndDateFiscalPeriod;
463: }
464:
465: /**
466: * Sets the payrollEndDateFiscalPeriod.
467: *
468: * @param payrollEndDateFiscalPeriod The payrollEndDateFiscalPeriod to set.
469: */
470: @Deprecated
471: public void setPayrollEndDateFiscalPeriod(
472: AccountingPeriod payrollEndDateFiscalPeriod) {
473: this .payrollEndDateFiscalPeriod = payrollEndDateFiscalPeriod;
474: }
475:
476: /**
477: * Gets the reversalDate.
478: *
479: * @return Returns the reversalDate.
480: */
481: public UniversityDate getReversalDate() {
482: return reversalDate;
483: }
484:
485: /**
486: * Sets the reversalDate.
487: *
488: * @param reversalDate The reversalDate to set.
489: */
490: @Deprecated
491: public void setReversalDate(UniversityDate reversalDate) {
492: this .reversalDate = reversalDate;
493: }
494:
495: /**
496: * Gets the universityFiscalPeriod.
497: *
498: * @return Returns the universityFiscalPeriod.
499: */
500: public AccountingPeriod getUniversityFiscalPeriod() {
501: return universityFiscalPeriod;
502: }
503:
504: /**
505: * Sets the universityFiscalPeriod.
506: *
507: * @param universityFiscalPeriod The universityFiscalPeriod to set.
508: */
509: @Deprecated
510: public void setUniversityFiscalPeriod(
511: AccountingPeriod universityFiscalPeriod) {
512: this .universityFiscalPeriod = universityFiscalPeriod;
513: }
514:
515: /**
516: * Gets the positionData.
517: *
518: * @return Returns the positionData.
519: */
520: public PositionData getPositionData() {
521: return positionData;
522: }
523:
524: /**
525: * Sets the positionData.
526: *
527: * @param positionData The positionData to set.
528: */
529: public void setPositionData(PositionData positionData) {
530: this .positionData = positionData;
531: }
532:
533: /**
534: * Gets the ReferenceDocumentType.
535: *
536: * @see org.kuali.module.labor.bo.LaborTransaction#getReferenceFinancialDocumentType()
537: */
538: public DocumentType getReferenceFinancialDocumentType() {
539: return super .getReferenceDocumentType();
540: }
541:
542: /**
543: * Gets the ReferenceOriginationCode.
544: *
545: * @see org.kuali.module.labor.bo.LaborTransaction#getReferenceFinancialSystemOrigination()
546: */
547: public OriginationCode getReferenceFinancialSystemOrigination() {
548: return super .getReferenceOriginationCode();
549: }
550:
551: /**
552: * Sets the transactionEntryOffsetCode.
553: *
554: * @param transactionEntryOffsetCode The transactionEntryOffsetCode to set.
555: */
556: public void setTransactionEntryOffsetCode(
557: String transactionEntryOffsetCode) {
558: this .transactionEntryOffsetCode = transactionEntryOffsetCode;
559: }
560:
561: /**
562: * Gets the transactionEntryOffsetCode.
563: *
564: * @see org.kuali.module.labor.bo.LaborTransaction#getTransactionEntryOffsetCode()
565: */
566: public String getTransactionEntryOffsetCode() {
567: return transactionEntryOffsetCode;
568: }
569:
570: /**
571: * Gets the TransactionEntryProcessedTs.
572: *
573: * @see org.kuali.module.labor.bo.LaborTransaction#getTransactionEntryProcessedTimestamp()
574: */
575: public Date getTransactionEntryProcessedTimestamp() {
576: return super.getTransactionEntryProcessedTs();
577: }
578: }
|