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: package org.kuali.module.labor.bo;
017:
018: import java.math.BigDecimal;
019: import java.util.ArrayList;
020: import java.util.List;
021:
022: import org.kuali.core.util.KualiDecimal;
023: import org.kuali.kfs.KFSPropertyConstants;
024:
025: /**
026: * Labor business object for LaborCalculatedSalaryFoundationTracker.
027: */
028: public class LaborCalculatedSalaryFoundationTracker extends
029: CalculatedSalaryFoundationTracker {
030:
031: private KualiDecimal july1BudgetAmount;
032: private BigDecimal july1BudgetFteQuantity;
033: private BigDecimal july1BudgetTimePercent;
034:
035: /**
036: * Constructs a LaborCalculatedSalaryFoundationTracker.java.
037: */
038: public LaborCalculatedSalaryFoundationTracker() {
039: super ();
040: this .setJuly1BudgetAmount(KualiDecimal.ZERO);
041: this .setJuly1BudgetFteQuantity(BigDecimal.ZERO);
042: this .setJuly1BudgetTimePercent(BigDecimal.ZERO);
043: }
044:
045: /**
046: * Gets the july1BudgetAmount.
047: *
048: * @return Returns the july1BudgetAmount.
049: */
050: public KualiDecimal getJuly1BudgetAmount() {
051: return july1BudgetAmount;
052: }
053:
054: /**
055: * Sets the july1BudgetAmount.
056: *
057: * @param july1BudgetAmount The july1BudgetAmount to set.
058: */
059: public void setJuly1BudgetAmount(KualiDecimal july1BudgetAmount) {
060: this .july1BudgetAmount = july1BudgetAmount;
061: }
062:
063: /**
064: * Gets the july1BudgetFteQuantity.
065: *
066: * @return Returns the july1BudgetFteQuantity.
067: */
068: public BigDecimal getJuly1BudgetFteQuantity() {
069: return july1BudgetFteQuantity;
070: }
071:
072: /**
073: * Sets the july1BudgetFteQuantity.
074: *
075: * @param july1BudgetFteQuantity The july1BudgetFteQuantity to set.
076: */
077: public void setJuly1BudgetFteQuantity(
078: BigDecimal july1BudgetFteQuantity) {
079: this .july1BudgetFteQuantity = july1BudgetFteQuantity;
080: }
081:
082: /**
083: * Gets the july1BudgetTimePercent.
084: *
085: * @return Returns the july1BudgetTimePercent.
086: */
087: public BigDecimal getJuly1BudgetTimePercent() {
088: return july1BudgetTimePercent;
089: }
090:
091: /**
092: * Sets the july1BudgetTimePercent.
093: *
094: * @param july1BudgetTimePercent The july1BudgetTimePercent to set.
095: */
096: public void setJuly1BudgetTimePercent(
097: BigDecimal july1BudgetTimePercent) {
098: this .july1BudgetTimePercent = july1BudgetTimePercent;
099: }
100:
101: /**
102: * construct the key list of the business object
103: *
104: * @return the key list of the business object
105: */
106: public List<String> getKeyFieldList() {
107: List<String> keyFieldList = new ArrayList<String>();
108: keyFieldList.add(KFSPropertyConstants.UNIVERSITY_FISCAL_YEAR);
109: keyFieldList.add(KFSPropertyConstants.CHART_OF_ACCOUNTS_CODE);
110: keyFieldList.add(KFSPropertyConstants.ACCOUNT_NUMBER);
111: keyFieldList.add(KFSPropertyConstants.SUB_ACCOUNT_NUMBER);
112: keyFieldList.add(KFSPropertyConstants.FINANCIAL_OBJECT_CODE);
113: keyFieldList
114: .add(KFSPropertyConstants.FINANCIAL_SUB_OBJECT_CODE);
115: keyFieldList.add(KFSPropertyConstants.POSITION_NUMBER);
116: keyFieldList.add(KFSPropertyConstants.EMPLID);
117:
118: return keyFieldList;
119: }
120: }
|