0001: /*
0002: * Copyright 2006-2007 The Kuali Foundation.
0003: *
0004: * Licensed under the Educational Community License, Version 1.0 (the "License");
0005: * you may not use this file except in compliance with the License.
0006: * You may obtain a copy of the License at
0007: *
0008: * http://www.opensource.org/licenses/ecl1.php
0009: *
0010: * Unless required by applicable law or agreed to in writing, software
0011: * distributed under the License is distributed on an "AS IS" BASIS,
0012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013: * See the License for the specific language governing permissions and
0014: * limitations under the License.
0015: */
0016:
0017: package org.kuali.module.labor.bo;
0018:
0019: import java.math.BigDecimal;
0020: import java.sql.Date;
0021: import java.sql.Timestamp;
0022: import java.util.LinkedHashMap;
0023:
0024: import org.kuali.core.bo.DocumentType;
0025: import org.kuali.core.util.KualiDecimal;
0026: import org.kuali.kfs.KFSPropertyConstants;
0027: import org.kuali.kfs.bo.Options;
0028: import org.kuali.kfs.bo.OriginationCode;
0029: import org.kuali.module.chart.bo.Account;
0030: import org.kuali.module.chart.bo.AccountingPeriod;
0031: import org.kuali.module.chart.bo.Chart;
0032: import org.kuali.module.chart.bo.ObjectCode;
0033: import org.kuali.module.chart.bo.ObjectType;
0034: import org.kuali.module.chart.bo.ProjectCode;
0035: import org.kuali.module.chart.bo.SubAccount;
0036: import org.kuali.module.chart.bo.SubObjCd;
0037: import org.kuali.module.chart.bo.codes.BalanceTyp;
0038: import org.kuali.module.gl.bo.Entry;
0039: import org.kuali.module.gl.bo.TransientBalanceInquiryAttributes;
0040:
0041: /**
0042: * Labor business object for LedgerEntry
0043: */
0044: public class LedgerEntry extends Entry {
0045:
0046: private Integer universityFiscalYear;
0047: private String chartOfAccountsCode;
0048: private String accountNumber;
0049: private String subAccountNumber;
0050: private String financialObjectCode;
0051: private String financialSubObjectCode;
0052: private String financialBalanceTypeCode;
0053: private String financialObjectTypeCode;
0054: private String universityFiscalPeriodCode;
0055: private String financialDocumentTypeCode;
0056: private String financialSystemOriginationCode;
0057: private String documentNumber;
0058: private Integer transactionLedgerEntrySequenceNumber;
0059: private String positionNumber;
0060: private String projectCode;
0061: private String transactionLedgerEntryDescription;
0062: private KualiDecimal transactionLedgerEntryAmount;
0063: private String transactionDebitCreditCode;
0064: private Date transactionDate;
0065: private String organizationDocumentNumber;
0066: private String organizationReferenceId;
0067: private String referenceFinancialDocumentTypeCode;
0068: private String referenceFinancialSystemOriginationCode;
0069: private String referenceFinancialDocumentNumber;
0070: private Date financialDocumentReversalDate;
0071: private String transactionEncumbranceUpdateCode;
0072: private Date transactionPostingDate;
0073: private Date payPeriodEndDate;
0074: private BigDecimal transactionTotalHours;
0075: private Integer payrollEndDateFiscalYear;
0076: private String payrollEndDateFiscalPeriodCode;
0077: private String emplid;
0078: private Integer employeeRecord;
0079: private String earnCode;
0080: private String payGroup;
0081: private String salaryAdministrationPlan;
0082: private String grade;
0083: private String runIdentifier;
0084: private String laborLedgerOriginalChartOfAccountsCode;
0085: private String laborLedgerOriginalAccountNumber;
0086: private String laborLedgerOriginalSubAccountNumber;
0087: private String laborLedgerOriginalFinancialObjectCode;
0088: private String laborLedgerOriginalFinancialSubObjectCode;
0089: private String hrmsCompany;
0090: private String setid;
0091: private Timestamp transactionDateTimeStamp;
0092:
0093: private ObjectCode financialObject;
0094: private Chart chartOfAccounts;
0095: private Account account;
0096: private SubAccount subAccount;
0097: private SubObjCd financialSubObject;
0098: private ObjectType financialObjectType;
0099: private BalanceTyp balanceType;
0100: private AccountingPeriod universityFiscalPeriod;
0101: private AccountingPeriod payrollEndDateFiscalPeriod;
0102: private DocumentType documentType;
0103: private DocumentType referenceDocumentType;
0104: private Options option;
0105: private OriginationCode referenceOriginationCode;
0106: private ProjectCode project;
0107: private OriginationCode financialSystemOrigination;
0108: private LedgerBalance ledgerBalance;
0109: private LaborObject laborObject;
0110:
0111: /**
0112: * Default constructor.
0113: */
0114: public LedgerEntry() {
0115: super ();
0116: this
0117: .setDummyBusinessObject(new TransientBalanceInquiryAttributes());
0118: }
0119:
0120: /**
0121: * Constructs a LedgerEntry.java.
0122: *
0123: * @param transaction the given transaction
0124: */
0125: public LedgerEntry(LaborTransaction transaction) {
0126: super (transaction);
0127: this .setEarnCode(transaction.getEarnCode());
0128: this .setEmplid(transaction.getEmplid());
0129: this .setEmployeeRecord(transaction.getEmployeeRecord());
0130: this .setGrade(transaction.getGrade());
0131: this .setHrmsCompany(transaction.getHrmsCompany());
0132: this .setLaborLedgerOriginalAccountNumber(transaction
0133: .getLaborLedgerOriginalAccountNumber());
0134: this .setLaborLedgerOriginalChartOfAccountsCode(transaction
0135: .getLaborLedgerOriginalChartOfAccountsCode());
0136: this .setLaborLedgerOriginalFinancialObjectCode(transaction
0137: .getLaborLedgerOriginalFinancialObjectCode());
0138: this .setLaborLedgerOriginalFinancialSubObjectCode(transaction
0139: .getLaborLedgerOriginalFinancialSubObjectCode());
0140: this .setLaborLedgerOriginalSubAccountNumber(transaction
0141: .getLaborLedgerOriginalSubAccountNumber());
0142: this .setPayGroup(transaction.getPayGroup());
0143: this .setPayPeriodEndDate(transaction.getPayPeriodEndDate());
0144: this .setPayrollEndDateFiscalPeriodCode(transaction
0145: .getPayrollEndDateFiscalPeriodCode());
0146: this .setPayrollEndDateFiscalYear(transaction
0147: .getPayrollEndDateFiscalYear());
0148: this .setPositionNumber(transaction.getPositionNumber());
0149: }
0150:
0151: /**
0152: * Gets the universityFiscalYear
0153: *
0154: * @return Returns the universityFiscalYear
0155: */
0156: public Integer getUniversityFiscalYear() {
0157: return universityFiscalYear;
0158: }
0159:
0160: /**
0161: * Sets the universityFiscalYear
0162: *
0163: * @param universityFiscalYear The universityFiscalYear to set.
0164: */
0165: public void setUniversityFiscalYear(Integer universityFiscalYear) {
0166: this .universityFiscalYear = universityFiscalYear;
0167: }
0168:
0169: /**
0170: * Gets the chartOfAccountsCode
0171: *
0172: * @return Returns the chartOfAccountsCode
0173: */
0174: public String getChartOfAccountsCode() {
0175: return chartOfAccountsCode;
0176: }
0177:
0178: /**
0179: * Sets the chartOfAccountsCode
0180: *
0181: * @param chartOfAccountsCode The chartOfAccountsCode to set.
0182: */
0183: public void setChartOfAccountsCode(String chartOfAccountsCode) {
0184: this .chartOfAccountsCode = chartOfAccountsCode;
0185: }
0186:
0187: /**
0188: * Gets the accountNumber
0189: *
0190: * @return Returns the accountNumber
0191: */
0192: public String getAccountNumber() {
0193: return accountNumber;
0194: }
0195:
0196: /**
0197: * Sets the accountNumber
0198: *
0199: * @param accountNumber The accountNumber to set.
0200: */
0201: public void setAccountNumber(String accountNumber) {
0202: this .accountNumber = accountNumber;
0203: }
0204:
0205: /**
0206: * Gets the subAccountNumber
0207: *
0208: * @return Returns the subAccountNumber
0209: */
0210: public String getSubAccountNumber() {
0211: return subAccountNumber;
0212: }
0213:
0214: /**
0215: * Sets the subAccountNumber
0216: *
0217: * @param subAccountNumber The subAccountNumber to set.
0218: */
0219: public void setSubAccountNumber(String subAccountNumber) {
0220: this .subAccountNumber = subAccountNumber;
0221: }
0222:
0223: /**
0224: * Gets the financialObjectCode
0225: *
0226: * @return Returns the financialObjectCode
0227: */
0228: public String getFinancialObjectCode() {
0229: return financialObjectCode;
0230: }
0231:
0232: /**
0233: * Sets the financialObjectCode
0234: *
0235: * @param financialObjectCode The financialObjectCode to set.
0236: */
0237: public void setFinancialObjectCode(String financialObjectCode) {
0238: this .financialObjectCode = financialObjectCode;
0239: }
0240:
0241: /**
0242: * Gets the financialSubObjectCode
0243: *
0244: * @return Returns the financialSubObjectCode
0245: */
0246: public String getFinancialSubObjectCode() {
0247: return financialSubObjectCode;
0248: }
0249:
0250: /**
0251: * Sets the financialSubObjectCode
0252: *
0253: * @param financialSubObjectCode The financialSubObjectCode to set.
0254: */
0255: public void setFinancialSubObjectCode(String financialSubObjectCode) {
0256: this .financialSubObjectCode = financialSubObjectCode;
0257: }
0258:
0259: /**
0260: * Gets the financialBalanceTypeCode
0261: *
0262: * @return Returns the financialBalanceTypeCode
0263: */
0264: public String getFinancialBalanceTypeCode() {
0265: return financialBalanceTypeCode;
0266: }
0267:
0268: /**
0269: * Sets the financialBalanceTypeCode
0270: *
0271: * @param financialBalanceTypeCode The financialBalanceTypeCode to set.
0272: */
0273: public void setFinancialBalanceTypeCode(
0274: String financialBalanceTypeCode) {
0275: this .financialBalanceTypeCode = financialBalanceTypeCode;
0276: }
0277:
0278: /**
0279: * Gets the financialObjectTypeCode
0280: *
0281: * @return Returns the financialObjectTypeCode
0282: */
0283: public String getFinancialObjectTypeCode() {
0284: return financialObjectTypeCode;
0285: }
0286:
0287: /**
0288: * Sets the financialObjectTypeCode
0289: *
0290: * @param financialObjectTypeCode The financialObjectTypeCode to set.
0291: */
0292: public void setFinancialObjectTypeCode(
0293: String financialObjectTypeCode) {
0294: this .financialObjectTypeCode = financialObjectTypeCode;
0295: }
0296:
0297: /**
0298: * Gets the universityFiscalPeriodCode
0299: *
0300: * @return Returns the universityFiscalPeriodCode
0301: */
0302: public String getUniversityFiscalPeriodCode() {
0303: return universityFiscalPeriodCode;
0304: }
0305:
0306: /**
0307: * Sets the universityFiscalPeriodCode
0308: *
0309: * @param universityFiscalPeriodCode The universityFiscalPeriodCode to set.
0310: */
0311: public void setUniversityFiscalPeriodCode(
0312: String universityFiscalPeriodCode) {
0313: this .universityFiscalPeriodCode = universityFiscalPeriodCode;
0314: }
0315:
0316: /**
0317: * Gets the financialDocumentTypeCode
0318: *
0319: * @return Returns the financialDocumentTypeCode
0320: */
0321: public String getFinancialDocumentTypeCode() {
0322: return financialDocumentTypeCode;
0323: }
0324:
0325: /**
0326: * Gets the financialSystemOriginationCode
0327: *
0328: * @return Returns the financialSystemOriginationCode.
0329: */
0330: public String getFinancialSystemOriginationCode() {
0331: return financialSystemOriginationCode;
0332: }
0333:
0334: /**
0335: * Sets the financialSystemOriginationCode
0336: *
0337: * @param financialSystemOriginationCode The financialSystemOriginationCode to set.
0338: */
0339: public void setFinancialSystemOriginationCode(
0340: String financialSystemOriginationCode) {
0341: this .financialSystemOriginationCode = financialSystemOriginationCode;
0342: }
0343:
0344: /**
0345: * Sets the financialDocumentTypeCode
0346: *
0347: * @param financialDocumentTypeCode The financialDocumentTypeCode to set.
0348: */
0349: public void setFinancialDocumentTypeCode(
0350: String financialDocumentTypeCode) {
0351: this .financialDocumentTypeCode = financialDocumentTypeCode;
0352: }
0353:
0354: /**
0355: * Gets the documentNumber
0356: *
0357: * @return Returns the documentNumber
0358: */
0359: public String getDocumentNumber() {
0360: return documentNumber;
0361: }
0362:
0363: /**
0364: * Sets the documentNumber
0365: *
0366: * @param documentNumber The documentNumber to set.
0367: */
0368: public void setDocumentNumber(String documentNumber) {
0369: this .documentNumber = documentNumber;
0370: }
0371:
0372: /**
0373: * Gets the transactionLedgerEntrySequenceNumber
0374: *
0375: * @return Returns the transactionLedgerEntrySequenceNumber
0376: */
0377: public Integer getTransactionLedgerEntrySequenceNumber() {
0378: return transactionLedgerEntrySequenceNumber;
0379: }
0380:
0381: /**
0382: * Sets the transactionLedgerEntrySequenceNumber
0383: *
0384: * @param transactionLedgerEntrySequenceNumber The transactionLedgerEntrySequenceNumber to set.
0385: */
0386: public void setTransactionLedgerEntrySequenceNumber(
0387: Integer transactionLedgerEntrySequenceNumber) {
0388: this .transactionLedgerEntrySequenceNumber = transactionLedgerEntrySequenceNumber;
0389: }
0390:
0391: /**
0392: * Gets the positionNumber
0393: *
0394: * @return Returns the positionNumber
0395: */
0396: public String getPositionNumber() {
0397: return positionNumber;
0398: }
0399:
0400: /**
0401: * Sets the positionNumber
0402: *
0403: * @param positionNumber The positionNumber to set.
0404: */
0405: public void setPositionNumber(String positionNumber) {
0406: this .positionNumber = positionNumber;
0407: }
0408:
0409: /**
0410: * Gets the projectCode
0411: *
0412: * @return Returns the projectCode
0413: */
0414: public String getProjectCode() {
0415: return projectCode;
0416: }
0417:
0418: /**
0419: * Sets the projectCode
0420: *
0421: * @param projectCode The projectCode to set.
0422: */
0423: public void setProjectCode(String projectCode) {
0424: this .projectCode = projectCode;
0425: }
0426:
0427: /**
0428: * Gets the transactionLedgerEntryDescription
0429: *
0430: * @return Returns the transactionLedgerEntryDescription
0431: */
0432: public String getTransactionLedgerEntryDescription() {
0433: return transactionLedgerEntryDescription;
0434: }
0435:
0436: /**
0437: * Sets the transactionLedgerEntryDescription
0438: *
0439: * @param transactionLedgerEntryDescription The transactionLedgerEntryDescription to set.
0440: */
0441: public void setTransactionLedgerEntryDescription(
0442: String transactionLedgerEntryDescription) {
0443: this .transactionLedgerEntryDescription = transactionLedgerEntryDescription;
0444: }
0445:
0446: /**
0447: * Gets the transactionLedgerEntryAmount
0448: *
0449: * @return Returns the transactionLedgerEntryAmount
0450: */
0451: public KualiDecimal getTransactionLedgerEntryAmount() {
0452: return transactionLedgerEntryAmount;
0453: }
0454:
0455: /**
0456: * Sets the transactionLedgerEntryAmount
0457: *
0458: * @param transactionLedgerEntryAmount The transactionLedgerEntryAmount to set.
0459: */
0460: public void setTransactionLedgerEntryAmount(
0461: KualiDecimal transactionLedgerEntryAmount) {
0462: this .transactionLedgerEntryAmount = transactionLedgerEntryAmount;
0463: }
0464:
0465: /**
0466: * Gets the transactionDebitCreditCode
0467: *
0468: * @return Returns the transactionDebitCreditCode
0469: */
0470: public String getTransactionDebitCreditCode() {
0471: return transactionDebitCreditCode;
0472: }
0473:
0474: /**
0475: * Sets the transactionDebitCreditCode
0476: *
0477: * @param transactionDebitCreditCode The transactionDebitCreditCode to set.
0478: */
0479: public void setTransactionDebitCreditCode(
0480: String transactionDebitCreditCode) {
0481: this .transactionDebitCreditCode = transactionDebitCreditCode;
0482: }
0483:
0484: /**
0485: * Gets the transactionDate
0486: *
0487: * @return Returns the transactionDate
0488: */
0489: public Date getTransactionDate() {
0490: return transactionDate;
0491: }
0492:
0493: /**
0494: * Sets the transactionDate
0495: *
0496: * @param transactionDate The transactionDate to set.
0497: */
0498: public void setTransactionDate(Date transactionDate) {
0499: this .transactionDate = transactionDate;
0500: }
0501:
0502: /**
0503: * Gets the organizationDocumentNumber
0504: *
0505: * @return Returns the organizationDocumentNumber
0506: */
0507: public String getOrganizationDocumentNumber() {
0508: return organizationDocumentNumber;
0509: }
0510:
0511: /**
0512: * Sets the organizationDocumentNumber
0513: *
0514: * @param organizationDocumentNumber The organizationDocumentNumber to set.
0515: */
0516: public void setOrganizationDocumentNumber(
0517: String organizationDocumentNumber) {
0518: this .organizationDocumentNumber = organizationDocumentNumber;
0519: }
0520:
0521: /**
0522: * Gets the organizationReferenceId
0523: *
0524: * @return Returns the organizationReferenceId
0525: */
0526: public String getOrganizationReferenceId() {
0527: return organizationReferenceId;
0528: }
0529:
0530: /**
0531: * Sets the organizationReferenceId
0532: *
0533: * @param organizationReferenceId The organizationReferenceId to set.
0534: */
0535: public void setOrganizationReferenceId(
0536: String organizationReferenceId) {
0537: this .organizationReferenceId = organizationReferenceId;
0538: }
0539:
0540: /**
0541: * Gets the referenceFinancialDocumentTypeCode
0542: *
0543: * @return Returns the referenceFinancialDocumentTypeCode
0544: */
0545: public String getReferenceFinancialDocumentTypeCode() {
0546: return referenceFinancialDocumentTypeCode;
0547: }
0548:
0549: /**
0550: * Sets the referenceFinancialDocumentTypeCode
0551: *
0552: * @param referenceFinancialDocumentTypeCode The referenceFinancialDocumentTypeCode to set.
0553: */
0554: public void setReferenceFinancialDocumentTypeCode(
0555: String referenceFinancialDocumentTypeCode) {
0556: this .referenceFinancialDocumentTypeCode = referenceFinancialDocumentTypeCode;
0557: }
0558:
0559: /**
0560: * Gets the referenceFinancialSystemOriginationCode
0561: *
0562: * @return Returns the referenceFinancialSystemOriginationCode
0563: */
0564: public String getReferenceFinancialSystemOriginationCode() {
0565: return referenceFinancialSystemOriginationCode;
0566: }
0567:
0568: /**
0569: * Sets the referenceFinancialSystemOriginationCode
0570: *
0571: * @param referenceFinancialSystemOriginationCode The referenceFinancialSystemOriginationCode to set.
0572: */
0573: public void setReferenceFinancialSystemOriginationCode(
0574: String referenceFinancialSystemOriginationCode) {
0575: this .referenceFinancialSystemOriginationCode = referenceFinancialSystemOriginationCode;
0576: }
0577:
0578: /**
0579: * Gets the referenceFinancialDocumentNumber
0580: *
0581: * @return Returns the referenceFinancialDocumentNumber
0582: */
0583: public String getReferenceFinancialDocumentNumber() {
0584: return referenceFinancialDocumentNumber;
0585: }
0586:
0587: /**
0588: * Sets the referenceFinancialDocumentNumber
0589: *
0590: * @param referenceFinancialDocumentNumber The referenceFinancialDocumentNumber to set.
0591: */
0592: public void setReferenceFinancialDocumentNumber(
0593: String referenceFinancialDocumentNumber) {
0594: this .referenceFinancialDocumentNumber = referenceFinancialDocumentNumber;
0595: }
0596:
0597: /**
0598: * Gets the financialDocumentReversalDate
0599: *
0600: * @return Returns the financialDocumentReversalDate
0601: */
0602: public Date getFinancialDocumentReversalDate() {
0603: return financialDocumentReversalDate;
0604: }
0605:
0606: /**
0607: * Sets the financialDocumentReversalDate
0608: *
0609: * @param financialDocumentReversalDate The financialDocumentReversalDate to set.
0610: */
0611: public void setFinancialDocumentReversalDate(
0612: Date financialDocumentReversalDate) {
0613: this .financialDocumentReversalDate = financialDocumentReversalDate;
0614: }
0615:
0616: /**
0617: * Gets the transactionEncumbranceUpdateCode
0618: *
0619: * @return Returns the transactionEncumbranceUpdateCode
0620: */
0621: public String getTransactionEncumbranceUpdateCode() {
0622: return transactionEncumbranceUpdateCode;
0623: }
0624:
0625: /**
0626: * Sets the transactionEncumbranceUpdateCode
0627: *
0628: * @param transactionEncumbranceUpdateCode The transactionEncumbranceUpdateCode to set.
0629: */
0630: public void setTransactionEncumbranceUpdateCode(
0631: String transactionEncumbranceUpdateCode) {
0632: this .transactionEncumbranceUpdateCode = transactionEncumbranceUpdateCode;
0633: }
0634:
0635: /**
0636: * Gets the transactionPostingDate
0637: *
0638: * @return Returns the transactionPostingDate
0639: */
0640: public Date getTransactionPostingDate() {
0641: return transactionPostingDate;
0642: }
0643:
0644: /**
0645: * Sets the transactionPostingDate
0646: *
0647: * @param transactionPostingDate The transactionPostingDate to set.
0648: */
0649: public void setTransactionPostingDate(Date transactionPostingDate) {
0650: this .transactionPostingDate = transactionPostingDate;
0651: }
0652:
0653: /**
0654: * Gets the payPeriodEndDate
0655: *
0656: * @return Returns the payPeriodEndDate
0657: */
0658: public Date getPayPeriodEndDate() {
0659: return payPeriodEndDate;
0660: }
0661:
0662: /**
0663: * Sets the payPeriodEndDate
0664: *
0665: * @param payPeriodEndDate The payPeriodEndDate to set.
0666: */
0667: public void setPayPeriodEndDate(Date payPeriodEndDate) {
0668: this .payPeriodEndDate = payPeriodEndDate;
0669: }
0670:
0671: /**
0672: * Gets the transactionTotalHours
0673: *
0674: * @return Returns the transactionTotalHours
0675: */
0676: public BigDecimal getTransactionTotalHours() {
0677: return transactionTotalHours;
0678: }
0679:
0680: /**
0681: * Sets the transactionTotalHours
0682: *
0683: * @param transactionTotalHours The transactionTotalHours to set.
0684: */
0685: public void setTransactionTotalHours(
0686: BigDecimal transactionTotalHours) {
0687: this .transactionTotalHours = transactionTotalHours;
0688: }
0689:
0690: /**
0691: * Gets the payrollEndDateFiscalYear
0692: *
0693: * @return Returns the payrollEndDateFiscalYear
0694: */
0695: public Integer getPayrollEndDateFiscalYear() {
0696: return payrollEndDateFiscalYear;
0697: }
0698:
0699: /**
0700: * Sets the payrollEndDateFiscalYear
0701: *
0702: * @param payrollEndDateFiscalYear The payrollEndDateFiscalYear to set.
0703: */
0704: public void setPayrollEndDateFiscalYear(
0705: Integer payrollEndDateFiscalYear) {
0706: this .payrollEndDateFiscalYear = payrollEndDateFiscalYear;
0707: }
0708:
0709: /**
0710: * Gets the payrollEndDateFiscalPeriodCode
0711: *
0712: * @return Returns the payrollEndDateFiscalPeriodCode
0713: */
0714: public String getPayrollEndDateFiscalPeriodCode() {
0715: return payrollEndDateFiscalPeriodCode;
0716: }
0717:
0718: /**
0719: * Sets the payrollEndDateFiscalPeriodCode
0720: *
0721: * @param payrollEndDateFiscalPeriodCode The payrollEndDateFiscalPeriodCode to set.
0722: */
0723: public void setPayrollEndDateFiscalPeriodCode(
0724: String payrollEndDateFiscalPeriodCode) {
0725: this .payrollEndDateFiscalPeriodCode = payrollEndDateFiscalPeriodCode;
0726: }
0727:
0728: /**
0729: * Gets the emplid
0730: *
0731: * @return Returns the emplid
0732: */
0733: public String getEmplid() {
0734: return emplid;
0735: }
0736:
0737: /**
0738: * Sets the emplid
0739: *
0740: * @param emplid The emplid to set.
0741: */
0742: public void setEmplid(String emplid) {
0743: this .emplid = emplid;
0744: }
0745:
0746: /**
0747: * Gets the employeeRecord
0748: *
0749: * @return Returns the employeeRecord
0750: */
0751: public Integer getEmployeeRecord() {
0752: return employeeRecord;
0753: }
0754:
0755: /**
0756: * Sets the employeeRecord
0757: *
0758: * @param employeeRecord The employeeRecord to set.
0759: */
0760: public void setEmployeeRecord(Integer employeeRecord) {
0761: this .employeeRecord = employeeRecord;
0762: }
0763:
0764: /**
0765: * Gets the earnCode
0766: *
0767: * @return Returns the earnCode
0768: */
0769: public String getEarnCode() {
0770: return earnCode;
0771: }
0772:
0773: /**
0774: * Sets the earnCode
0775: *
0776: * @param earnCode The earnCode to set.
0777: */
0778: public void setEarnCode(String earnCode) {
0779: this .earnCode = earnCode;
0780: }
0781:
0782: /**
0783: * Gets the payGroup
0784: *
0785: * @return Returns the payGroup
0786: */
0787: public String getPayGroup() {
0788: return payGroup;
0789: }
0790:
0791: /**
0792: * Sets the payGroup
0793: *
0794: * @param payGroup The payGroup to set.
0795: */
0796: public void setPayGroup(String payGroup) {
0797: this .payGroup = payGroup;
0798: }
0799:
0800: /**
0801: * Gets the salaryAdministrationPlan
0802: *
0803: * @return Returns the salaryAdministrationPlan
0804: */
0805: public String getSalaryAdministrationPlan() {
0806: return salaryAdministrationPlan;
0807: }
0808:
0809: /**
0810: * Sets the salaryAdministrationPlan
0811: *
0812: * @param salaryAdministrationPlan The salaryAdministrationPlan to set.
0813: */
0814: public void setSalaryAdministrationPlan(
0815: String salaryAdministrationPlan) {
0816: this .salaryAdministrationPlan = salaryAdministrationPlan;
0817: }
0818:
0819: /**
0820: * Gets the grade
0821: *
0822: * @return Returns the grade
0823: */
0824: public String getGrade() {
0825: return grade;
0826: }
0827:
0828: /**
0829: * Sets the grade
0830: *
0831: * @param grade The grade to set.
0832: */
0833: public void setGrade(String grade) {
0834: this .grade = grade;
0835: }
0836:
0837: /**
0838: * Gets the runIdentifier
0839: *
0840: * @return Returns the runIdentifier
0841: */
0842: public String getRunIdentifier() {
0843: return runIdentifier;
0844: }
0845:
0846: /**
0847: * Sets the runIdentifier
0848: *
0849: * @param runIdentifier The runIdentifier to set.
0850: */
0851: public void setRunIdentifier(String runIdentifier) {
0852: this .runIdentifier = runIdentifier;
0853: }
0854:
0855: /**
0856: * Gets the laborLedgerOriginalChartOfAccountsCode
0857: *
0858: * @return Returns the laborLedgerOriginalChartOfAccountsCode
0859: */
0860: public String getLaborLedgerOriginalChartOfAccountsCode() {
0861: return laborLedgerOriginalChartOfAccountsCode;
0862: }
0863:
0864: /**
0865: * Sets the laborLedgerOriginalChartOfAccountsCode
0866: *
0867: * @param laborLedgerOriginalChartOfAccountsCode The laborLedgerOriginalChartOfAccountsCode to set.
0868: */
0869: public void setLaborLedgerOriginalChartOfAccountsCode(
0870: String laborLedgerOriginalChartOfAccountsCode) {
0871: this .laborLedgerOriginalChartOfAccountsCode = laborLedgerOriginalChartOfAccountsCode;
0872: }
0873:
0874: /**
0875: * Gets the laborLedgerOriginalAccountNumber
0876: *
0877: * @return Returns the laborLedgerOriginalAccountNumber
0878: */
0879: public String getLaborLedgerOriginalAccountNumber() {
0880: return laborLedgerOriginalAccountNumber;
0881: }
0882:
0883: /**
0884: * Sets the laborLedgerOriginalAccountNumber
0885: *
0886: * @param laborLedgerOriginalAccountNumber The laborLedgerOriginalAccountNumber to set.
0887: */
0888: public void setLaborLedgerOriginalAccountNumber(
0889: String laborLedgerOriginalAccountNumber) {
0890: this .laborLedgerOriginalAccountNumber = laborLedgerOriginalAccountNumber;
0891: }
0892:
0893: /**
0894: * Gets the laborLedgerOriginalSubAccountNumber
0895: *
0896: * @return Returns the laborLedgerOriginalSubAccountNumber
0897: */
0898: public String getLaborLedgerOriginalSubAccountNumber() {
0899: return laborLedgerOriginalSubAccountNumber;
0900: }
0901:
0902: /**
0903: * Sets the laborLedgerOriginalSubAccountNumber
0904: *
0905: * @param laborLedgerOriginalSubAccountNumber The laborLedgerOriginalSubAccountNumber to set.
0906: */
0907: public void setLaborLedgerOriginalSubAccountNumber(
0908: String laborLedgerOriginalSubAccountNumber) {
0909: this .laborLedgerOriginalSubAccountNumber = laborLedgerOriginalSubAccountNumber;
0910: }
0911:
0912: /**
0913: * Gets the laborLedgerOriginalFinancialObjectCode
0914: *
0915: * @return Returns the laborLedgerOriginalFinancialObjectCode
0916: */
0917: public String getLaborLedgerOriginalFinancialObjectCode() {
0918: return laborLedgerOriginalFinancialObjectCode;
0919: }
0920:
0921: /**
0922: * Sets the laborLedgerOriginalFinancialObjectCode
0923: *
0924: * @param laborLedgerOriginalFinancialObjectCode The laborLedgerOriginalFinancialObjectCode to set.
0925: */
0926: public void setLaborLedgerOriginalFinancialObjectCode(
0927: String laborLedgerOriginalFinancialObjectCode) {
0928: this .laborLedgerOriginalFinancialObjectCode = laborLedgerOriginalFinancialObjectCode;
0929: }
0930:
0931: /**
0932: * Gets the laborLedgerOriginalFinancialSubObjectCode
0933: *
0934: * @return Returns the laborLedgerOriginalFinancialSubObjectCode
0935: */
0936: public String getLaborLedgerOriginalFinancialSubObjectCode() {
0937: return laborLedgerOriginalFinancialSubObjectCode;
0938: }
0939:
0940: /**
0941: * Sets the laborLedgerOriginalFinancialSubObjectCode
0942: *
0943: * @param laborLedgerOriginalFinancialSubObjectCode The laborLedgerOriginalFinancialSubObjectCode to set.
0944: */
0945: public void setLaborLedgerOriginalFinancialSubObjectCode(
0946: String laborLedgerOriginalFinancialSubObjectCode) {
0947: this .laborLedgerOriginalFinancialSubObjectCode = laborLedgerOriginalFinancialSubObjectCode;
0948: }
0949:
0950: /**
0951: * Gets the hrmsCompany
0952: *
0953: * @return Returns the hrmsCompany
0954: */
0955: public String getHrmsCompany() {
0956: return hrmsCompany;
0957: }
0958:
0959: /**
0960: * Sets the hrmsCompany
0961: *
0962: * @param hrmsCompany The hrmsCompany to set.
0963: */
0964: public void setHrmsCompany(String hrmsCompany) {
0965: this .hrmsCompany = hrmsCompany;
0966: }
0967:
0968: /**
0969: * Gets the setid
0970: *
0971: * @return Returns the setid
0972: */
0973: public String getSetid() {
0974: return setid;
0975: }
0976:
0977: /**
0978: * Sets the setid
0979: *
0980: * @param setid The setid to set.
0981: */
0982: public void setSetid(String setid) {
0983: this .setid = setid;
0984: }
0985:
0986: /**
0987: * Gets the transactionDateTimeStamp
0988: *
0989: * @return Returns the transactionDateTimeStamp
0990: */
0991: public Timestamp getTransactionDateTimeStamp() {
0992: return transactionDateTimeStamp;
0993: }
0994:
0995: /**
0996: * Sets the transactionDateTimeStamp
0997: *
0998: * @param transactionDateTimeStamp The transactionDateTimeStamp to set.
0999: */
1000: public void setTransactionDateTimeStamp(
1001: Timestamp transactionDateTimeStamp) {
1002: this .transactionDateTimeStamp = transactionDateTimeStamp;
1003: }
1004:
1005: /**
1006: * Gets the financialObject
1007: *
1008: * @return Returns the financialObject
1009: */
1010: public ObjectCode getFinancialObject() {
1011: return financialObject;
1012: }
1013:
1014: /**
1015: * Sets the financialObject
1016: *
1017: * @param financialObject The financialObject to set.
1018: */
1019: @Deprecated
1020: public void setFinancialObject(ObjectCode financialObject) {
1021: this .financialObject = financialObject;
1022: }
1023:
1024: /**
1025: * Gets the chartOfAccounts
1026: *
1027: * @return Returns the chartOfAccounts
1028: */
1029: public Chart getChartOfAccounts() {
1030: return chartOfAccounts;
1031: }
1032:
1033: /**
1034: * Sets the chartOfAccounts
1035: *
1036: * @param chartOfAccounts The chartOfAccounts to set.
1037: */
1038: @Deprecated
1039: public void setChartOfAccounts(Chart chartOfAccounts) {
1040: this .chartOfAccounts = chartOfAccounts;
1041: }
1042:
1043: /**
1044: * Gets the account
1045: *
1046: * @return Returns the account
1047: */
1048: public Account getAccount() {
1049: return account;
1050: }
1051:
1052: /**
1053: * Sets the account
1054: *
1055: * @param account The account to set.
1056: */
1057: @Deprecated
1058: public void setAccount(Account account) {
1059: this .account = account;
1060: }
1061:
1062: /**
1063: * Gets the universityFiscalPeriod
1064: *
1065: * @return Returns the universityFiscalPeriod.
1066: */
1067: public AccountingPeriod getUniversityFiscalPeriod() {
1068: return universityFiscalPeriod;
1069: }
1070:
1071: /**
1072: * Sets the universityFiscalPeriod
1073: *
1074: * @param universityFiscalPeriod The universityFiscalPeriod to set.
1075: */
1076: @Deprecated
1077: public void setUniversityFiscalPeriod(
1078: AccountingPeriod universityFiscalPeriod) {
1079: this .universityFiscalPeriod = universityFiscalPeriod;
1080: }
1081:
1082: /**
1083: * Gets the balanceType
1084: *
1085: * @return Returns the balanceType.
1086: */
1087: public BalanceTyp getBalanceType() {
1088: return balanceType;
1089: }
1090:
1091: /**
1092: * Sets the balanceType
1093: *
1094: * @param balanceType The balanceType to set.
1095: */
1096: @Deprecated
1097: public void setBalanceType(BalanceTyp balanceType) {
1098: this .balanceType = balanceType;
1099: }
1100:
1101: /**
1102: * Gets the documentType
1103: *
1104: * @return Returns the documentType.
1105: */
1106: public DocumentType getDocumentType() {
1107: return documentType;
1108: }
1109:
1110: /**
1111: * Sets the documentType
1112: *
1113: * @param documentType The documentType to set.
1114: */
1115: @Deprecated
1116: public void setDocumentType(DocumentType documentType) {
1117: this .documentType = documentType;
1118: }
1119:
1120: /**
1121: * Gets the financialObjectType
1122: *
1123: * @return Returns the financialObjectType.
1124: */
1125: public ObjectType getFinancialObjectType() {
1126: return financialObjectType;
1127: }
1128:
1129: /**
1130: * Sets the financialObjectType
1131: *
1132: * @param financialObjectType The financialObjectType to set.
1133: */
1134: @Deprecated
1135: public void setFinancialObjectType(ObjectType financialObjectType) {
1136: this .financialObjectType = financialObjectType;
1137: }
1138:
1139: /**
1140: * Gets the financialSubObject
1141: *
1142: * @return Returns the financialSubObject.
1143: */
1144: public SubObjCd getFinancialSubObject() {
1145: return financialSubObject;
1146: }
1147:
1148: /**
1149: * Sets the financialSubObject
1150: *
1151: * @param financialSubObject The financialSubObject to set.
1152: */
1153: @Deprecated
1154: public void setFinancialSubObject(SubObjCd financialSubObject) {
1155: this .financialSubObject = financialSubObject;
1156: }
1157:
1158: /**
1159: * Gets the option
1160: *
1161: * @return Returns the option.
1162: */
1163: public Options getOption() {
1164: return option;
1165: }
1166:
1167: /**
1168: * Sets the option
1169: *
1170: * @param option The option to set.
1171: */
1172: @Deprecated
1173: public void setOption(Options option) {
1174: this .option = option;
1175: }
1176:
1177: /**
1178: * Gets the payrollEndDateFiscalPeriod
1179: *
1180: * @return Returns the payrollEndDateFiscalPeriod.
1181: */
1182: public AccountingPeriod getPayrollEndDateFiscalPeriod() {
1183: return payrollEndDateFiscalPeriod;
1184: }
1185:
1186: /**
1187: * Sets the payrollEndDateFiscalPeriod
1188: *
1189: * @param payrollEndDateFiscalPeriod The payrollEndDateFiscalPeriod to set.
1190: */
1191: @Deprecated
1192: public void setPayrollEndDateFiscalPeriod(
1193: AccountingPeriod payrollEndDateFiscalPeriod) {
1194: this .payrollEndDateFiscalPeriod = payrollEndDateFiscalPeriod;
1195: }
1196:
1197: /**
1198: * Gets the project
1199: *
1200: * @return Returns the project.
1201: */
1202: public ProjectCode getProject() {
1203: return project;
1204: }
1205:
1206: /**
1207: * Sets the project
1208: *
1209: * @param project The project to set.
1210: */
1211: @Deprecated
1212: public void setProject(ProjectCode project) {
1213: this .project = project;
1214: }
1215:
1216: /**
1217: * Gets the referenceDocumentType
1218: *
1219: * @return Returns the referenceDocumentType.
1220: */
1221: public DocumentType getReferenceDocumentType() {
1222: return referenceDocumentType;
1223: }
1224:
1225: /**
1226: * Sets the referenceDocumentType
1227: *
1228: * @param referenceDocumentType The referenceDocumentType to set.
1229: */
1230: @Deprecated
1231: public void setReferenceDocumentType(
1232: DocumentType referenceDocumentType) {
1233: this .referenceDocumentType = referenceDocumentType;
1234: }
1235:
1236: /**
1237: * Gets the referenceOriginationCode
1238: *
1239: * @return Returns the referenceOriginationCode.
1240: */
1241: public OriginationCode getReferenceOriginationCode() {
1242: return referenceOriginationCode;
1243: }
1244:
1245: /**
1246: * Sets the referenceOriginationCode
1247: *
1248: * @param referenceOriginationCode The referenceOriginationCode to set.
1249: */
1250: @Deprecated
1251: public void setReferenceOriginationCode(
1252: OriginationCode referenceOriginationCode) {
1253: this .referenceOriginationCode = referenceOriginationCode;
1254: }
1255:
1256: /**
1257: * Gets the subAccount
1258: *
1259: * @return Returns the subAccount.
1260: */
1261: public SubAccount getSubAccount() {
1262: return subAccount;
1263: }
1264:
1265: /**
1266: * Sets the subAccount
1267: *
1268: * @param subAccount The subAccount to set.
1269: */
1270: @Deprecated
1271: public void setSubAccount(SubAccount subAccount) {
1272: this .subAccount = subAccount;
1273: }
1274:
1275: /**
1276: * Gets the financialSystemOrigination
1277: *
1278: * @return Returns the financialSystemOrigination.
1279: */
1280: public OriginationCode getFinancialSystemOrigination() {
1281: return financialSystemOrigination;
1282: }
1283:
1284: /**
1285: * Sets the financialSystemOrigination
1286: *
1287: * @param financialSystemOrigination The financialSystemOrigination to set.
1288: */
1289: @Deprecated
1290: public void setFinancialSystemOrigination(
1291: OriginationCode financialSystemOrigination) {
1292: this .financialSystemOrigination = financialSystemOrigination;
1293: }
1294:
1295: /**
1296: * Gets the ledgerBalance
1297: *
1298: * @return Returns the ledgerBalance.
1299: */
1300: public LedgerBalance getLedgerBalance() {
1301: return ledgerBalance;
1302: }
1303:
1304: /**
1305: * Sets the ledgerBalance
1306: *
1307: * @param ledgerBalance The ledgerBalance to set.
1308: */
1309: @Deprecated
1310: public void setLedgerBalance(LedgerBalance ledgerBalance) {
1311: this .ledgerBalance = ledgerBalance;
1312: }
1313:
1314: /**
1315: * construct the key list of the business object.
1316: *
1317: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
1318: */
1319: protected LinkedHashMap toStringMapper() {
1320: LinkedHashMap m = new LinkedHashMap();
1321: if (this .universityFiscalYear != null) {
1322: m.put("universityFiscalYear", this .universityFiscalYear
1323: .toString());
1324: }
1325: m.put("chartOfAccountsCode", this .chartOfAccountsCode);
1326: m.put("accountNumber", this .accountNumber);
1327: m.put("subAccountNumber", this .subAccountNumber);
1328: m.put("financialObjectCode", this .financialObjectCode);
1329: m.put("financialSubObjectCode", this .financialSubObjectCode);
1330: m
1331: .put("financialBalanceTypeCode",
1332: this .financialBalanceTypeCode);
1333: m.put("financialObjectTypeCode", this .financialObjectTypeCode);
1334: m.put("universityFiscalPeriodCode",
1335: this .universityFiscalPeriodCode);
1336: m.put("financialDocumentTypeCode",
1337: this .financialDocumentTypeCode);
1338: m
1339: .put(KFSPropertyConstants.DOCUMENT_NUMBER,
1340: this .documentNumber);
1341: if (this .transactionLedgerEntrySequenceNumber != null) {
1342: m.put("transactionLedgerEntrySequenceNumber",
1343: this .transactionLedgerEntrySequenceNumber
1344: .toString());
1345: }
1346:
1347: return m;
1348: }
1349:
1350: /**
1351: * Gets the laborObject
1352: *
1353: * @return Returns the laborObject.
1354: */
1355: public LaborObject getLaborObject() {
1356: return laborObject;
1357: }
1358:
1359: /**
1360: * Sets the laborObject
1361: *
1362: * @param laborObject The laborObject to set.
1363: */
1364: public void setLaborObject(LaborObject laborObject) {
1365: this.laborObject = laborObject;
1366: }
1367: }
|