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 By General Ledger Key
026: */
027: public class BalanceByGeneralLedgerKey extends
028: PersistableBusinessObjectBase {
029:
030: private String personUniversalIdentifier;
031: private String subAccountNumber;
032: private String financialObjectCode;
033: private String financialSubObjectCode;
034: private String positionNumber;
035: private String emplid;
036: private KualiDecimal accountLineAnnualBalanceAmount;
037: private KualiDecimal beginningAndContractsAndGrantsAmount;
038: private KualiDecimal july1BudgetAmount;
039:
040: /**
041: * Default constructor.
042: */
043: public BalanceByGeneralLedgerKey() {
044:
045: }
046:
047: /**
048: * Gets the personUniversalIdentifier attribute.
049: *
050: * @return Returns the personUniversalIdentifier
051: */
052: public String getPersonUniversalIdentifier() {
053: return personUniversalIdentifier;
054: }
055:
056: /**
057: * Sets the personUniversalIdentifier attribute.
058: *
059: * @param personUniversalIdentifier The personUniversalIdentifier to set.
060: */
061: public void setPersonUniversalIdentifier(
062: String personUniversalIdentifier) {
063: this .personUniversalIdentifier = personUniversalIdentifier;
064: }
065:
066: /**
067: * Gets the subAccountNumber attribute.
068: *
069: * @return Returns the subAccountNumber
070: */
071: public String getSubAccountNumber() {
072: return subAccountNumber;
073: }
074:
075: /**
076: * Sets the subAccountNumber attribute.
077: *
078: * @param subAccountNumber The subAccountNumber to set.
079: */
080: public void setSubAccountNumber(String subAccountNumber) {
081: this .subAccountNumber = subAccountNumber;
082: }
083:
084: /**
085: * Gets the financialObjectCode attribute.
086: *
087: * @return Returns the financialObjectCode
088: */
089: public String getFinancialObjectCode() {
090: return financialObjectCode;
091: }
092:
093: /**
094: * Sets the financialObjectCode attribute.
095: *
096: * @param financialObjectCode The financialObjectCode to set.
097: */
098: public void setFinancialObjectCode(String financialObjectCode) {
099: this .financialObjectCode = financialObjectCode;
100: }
101:
102: /**
103: * Gets the financialSubObjectCode attribute.
104: *
105: * @return Returns the financialSubObjectCode
106: */
107: public String getFinancialSubObjectCode() {
108: return financialSubObjectCode;
109: }
110:
111: /**
112: * Sets the financialSubObjectCode attribute.
113: *
114: * @param financialSubObjectCode The financialSubObjectCode to set.
115: */
116: public void setFinancialSubObjectCode(String financialSubObjectCode) {
117: this .financialSubObjectCode = financialSubObjectCode;
118: }
119:
120: /**
121: * Gets the positionNumber attribute.
122: *
123: * @return Returns the positionNumber
124: */
125: public String getPositionNumber() {
126: return positionNumber;
127: }
128:
129: /**
130: * Sets the positionNumber attribute.
131: *
132: * @param positionNumber The positionNumber to set.
133: */
134: public void setPositionNumber(String positionNumber) {
135: this .positionNumber = positionNumber;
136: }
137:
138: /**
139: * Gets the emplid attribute.
140: *
141: * @return Returns the emplid
142: */
143: public String getEmplid() {
144: return emplid;
145: }
146:
147: /**
148: * Sets the emplid attribute.
149: *
150: * @param emplid The emplid to set.
151: */
152: public void setEmplid(String emplid) {
153: this .emplid = emplid;
154: }
155:
156: /**
157: * Gets the accountLineAnnualBalanceAmount attribute.
158: *
159: * @return Returns the accountLineAnnualBalanceAmount
160: */
161: public KualiDecimal getAccountLineAnnualBalanceAmount() {
162: return accountLineAnnualBalanceAmount;
163: }
164:
165: /**
166: * Sets the accountLineAnnualBalanceAmount attribute.
167: *
168: * @param accountLineAnnualBalanceAmount The accountLineAnnualBalanceAmount to set.
169: */
170: public void setAccountLineAnnualBalanceAmount(
171: KualiDecimal accountLineAnnualBalanceAmount) {
172: this .accountLineAnnualBalanceAmount = accountLineAnnualBalanceAmount;
173: }
174:
175: /**
176: * Gets the beginningAndContractsAndGrantsAmount attribute.
177: *
178: * @return Returns the beginningAndContractsAndGrantsAmount
179: */
180: public KualiDecimal getBeginningAndContractsAndGrantsAmount() {
181: return beginningAndContractsAndGrantsAmount;
182: }
183:
184: /**
185: * Sets the beginningAndContractsAndGrantsAmount attribute.
186: *
187: * @param beginningAndContractsAndGrantsAmount The beginningAndContractsAndGrantsAmount to set.
188: */
189: public void setBeginningAndContractsAndGrantsAmount(
190: KualiDecimal beginningAndContractsAndGrantsAmount) {
191: this .beginningAndContractsAndGrantsAmount = beginningAndContractsAndGrantsAmount;
192: }
193:
194: /**
195: * Gets the july1BudgetAmount attribute.
196: *
197: * @return Returns the july1BudgetAmount
198: */
199: public KualiDecimal getJuly1BudgetAmount() {
200: return july1BudgetAmount;
201: }
202:
203: /**
204: * Sets the july1BudgetAmount attribute.
205: *
206: * @param july1BudgetAmount The july1BudgetAmount to set.
207: */
208: public void setJuly1BudgetAmount(KualiDecimal july1BudgetAmount) {
209: this .july1BudgetAmount = july1BudgetAmount;
210: }
211:
212: /**
213: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
214: */
215: protected LinkedHashMap toStringMapper() {
216: LinkedHashMap m = new LinkedHashMap();
217: m.put("personUniversalIdentifier",
218: this .personUniversalIdentifier);
219: m.put("subAccountNumber", this .subAccountNumber);
220: m.put("financialObjectCode", this .financialObjectCode);
221: m.put("financialSubObjectCode", this .financialSubObjectCode);
222: m.put("positionNumber", this .positionNumber);
223: m.put("emplid", this.emplid);
224:
225: return m;
226: }
227: }
|