001: /*
002: * Copyright 2006-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.util.LinkedHashMap;
020:
021: import org.kuali.core.bo.PersistableBusinessObjectBase;
022: import org.kuali.core.util.KualiDecimal;
023:
024: /**
025: * Labor business object for Balance Global Calculated Salary Foundation.
026: */
027: public class BalanceGlobalCalculatedSalaryFoundation extends
028: PersistableBusinessObjectBase {
029:
030: private String personUniversalIdentifier;
031: private String subAccountNumber;
032: private String financialObjectCode;
033: private String financialSubObjectCode;
034: private KualiDecimal budgetAmount;
035: private KualiDecimal calculatedSalaryFoundationAmount;
036:
037: /**
038: * Default constructor.
039: */
040: public BalanceGlobalCalculatedSalaryFoundation() {
041:
042: }
043:
044: /**
045: * Gets the personUniversalIdentifier attribute.
046: *
047: * @return Returns the personUniversalIdentifier
048: */
049: public String getPersonUniversalIdentifier() {
050: return personUniversalIdentifier;
051: }
052:
053: /**
054: * Sets the personUniversalIdentifier attribute.
055: *
056: * @param personUniversalIdentifier The personUniversalIdentifier to set.
057: */
058: public void setPersonUniversalIdentifier(
059: String personUniversalIdentifier) {
060: this .personUniversalIdentifier = personUniversalIdentifier;
061: }
062:
063: /**
064: * Gets the subAccountNumber attribute.
065: *
066: * @return Returns the subAccountNumber
067: */
068: public String getSubAccountNumber() {
069: return subAccountNumber;
070: }
071:
072: /**
073: * Sets the subAccountNumber attribute.
074: *
075: * @param subAccountNumber The subAccountNumber to set.
076: */
077: public void setSubAccountNumber(String subAccountNumber) {
078: this .subAccountNumber = subAccountNumber;
079: }
080:
081: /**
082: * Gets the financialObjectCode attribute.
083: *
084: * @return Returns the financialObjectCode
085: */
086: public String getFinancialObjectCode() {
087: return financialObjectCode;
088: }
089:
090: /**
091: * Sets the financialObjectCode attribute.
092: *
093: * @param financialObjectCode The financialObjectCode to set.
094: */
095: public void setFinancialObjectCode(String financialObjectCode) {
096: this .financialObjectCode = financialObjectCode;
097: }
098:
099: /**
100: * Gets the financialSubObjectCode attribute.
101: *
102: * @return Returns the financialSubObjectCode
103: */
104: public String getFinancialSubObjectCode() {
105: return financialSubObjectCode;
106: }
107:
108: /**
109: * Sets the financialSubObjectCode attribute.
110: *
111: * @param financialSubObjectCode The financialSubObjectCode to set.
112: */
113: public void setFinancialSubObjectCode(String financialSubObjectCode) {
114: this .financialSubObjectCode = financialSubObjectCode;
115: }
116:
117: /**
118: * Gets the budgetAmount attribute.
119: *
120: * @return Returns the budgetAmount
121: */
122: public KualiDecimal getBudgetAmount() {
123: return budgetAmount;
124: }
125:
126: /**
127: * Sets the budgetAmount attribute.
128: *
129: * @param budgetAmount The budgetAmount to set.
130: */
131: public void setBudgetAmount(KualiDecimal budgetAmount) {
132: this .budgetAmount = budgetAmount;
133: }
134:
135: /**
136: * Gets the calculatedSalaryFoundationAmount attribute.
137: *
138: * @return Returns the calculatedSalaryFoundationAmount
139: */
140: public KualiDecimal getCalculatedSalaryFoundationAmount() {
141: return calculatedSalaryFoundationAmount;
142: }
143:
144: /**
145: * Sets the calculatedSalaryFoundationAmount attribute.
146: *
147: * @param calculatedSalaryFoundationAmount The calculatedSalaryFoundationAmount to set.
148: */
149: public void setCalculatedSalaryFoundationAmount(
150: KualiDecimal calculatedSalaryFoundationAmount) {
151: this .calculatedSalaryFoundationAmount = calculatedSalaryFoundationAmount;
152: }
153:
154: /**
155: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
156: */
157: protected LinkedHashMap toStringMapper() {
158: LinkedHashMap m = new LinkedHashMap();
159: m.put("personUniversalIdentifier",
160: this .personUniversalIdentifier);
161: m.put("subAccountNumber", this .subAccountNumber);
162: m.put("financialObjectCode", this .financialObjectCode);
163: m.put("financialSubObjectCode", this.financialSubObjectCode);
164:
165: return m;
166: }
167: }
|