001 /*
002 * Copyright 2011 The Kuali Foundation.
003 *
004 * Licensed under the Educational Community License, Version 2.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/ecl2.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.kfs.module.bc.businessobject;
018
019 import java.math.BigDecimal;
020 import java.util.LinkedHashMap;
021
022 import org.kuali.kfs.coa.businessobject.Account;
023 import org.kuali.kfs.coa.businessobject.Chart;
024 import org.kuali.kfs.coa.businessobject.ObjectCode;
025 import org.kuali.kfs.coa.businessobject.SubAccount;
026 import org.kuali.kfs.coa.businessobject.SubObjectCode;
027 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
028 import org.kuali.rice.kns.util.KualiInteger;
029
030 /**
031 *
032 */
033 public class BudgetConstructionCalculatedSalaryFoundationTracker extends PersistableBusinessObjectBase {
034
035 private Integer universityFiscalYear;
036 private String chartOfAccountsCode;
037 private String accountNumber;
038 private String subAccountNumber;
039 private String financialObjectCode;
040 private String financialSubObjectCode;
041 private String positionNumber;
042 private String emplid;
043 private KualiInteger csfAmount;
044 private BigDecimal csfFullTimeEmploymentQuantity;
045 private BigDecimal csfTimePercent;
046 private String csfFundingStatusCode;
047
048 private ObjectCode financialObject;
049 private PendingBudgetConstructionAppointmentFunding pendingAppointmentFunding;
050 private Account account;
051 private Chart chartOfAccounts;
052 private SubAccount subAccount;
053 private SubObjectCode financialSubObject;
054
055 /**
056 * Default constructor.
057 */
058 public BudgetConstructionCalculatedSalaryFoundationTracker() {
059
060 }
061
062 /**
063 * Gets the universityFiscalYear attribute.
064 *
065 * @return Returns the universityFiscalYear
066 */
067 public Integer getUniversityFiscalYear() {
068 return universityFiscalYear;
069 }
070
071 /**
072 * Sets the universityFiscalYear attribute.
073 *
074 * @param universityFiscalYear The universityFiscalYear to set.
075 */
076 public void setUniversityFiscalYear(Integer universityFiscalYear) {
077 this.universityFiscalYear = universityFiscalYear;
078 }
079
080
081 /**
082 * Gets the chartOfAccountsCode attribute.
083 *
084 * @return Returns the chartOfAccountsCode
085 */
086 public String getChartOfAccountsCode() {
087 return chartOfAccountsCode;
088 }
089
090 /**
091 * Sets the chartOfAccountsCode attribute.
092 *
093 * @param chartOfAccountsCode The chartOfAccountsCode to set.
094 */
095 public void setChartOfAccountsCode(String chartOfAccountsCode) {
096 this.chartOfAccountsCode = chartOfAccountsCode;
097 }
098
099
100 /**
101 * Gets the accountNumber attribute.
102 *
103 * @return Returns the accountNumber
104 */
105 public String getAccountNumber() {
106 return accountNumber;
107 }
108
109 /**
110 * Sets the accountNumber attribute.
111 *
112 * @param accountNumber The accountNumber to set.
113 */
114 public void setAccountNumber(String accountNumber) {
115 this.accountNumber = accountNumber;
116 }
117
118
119 /**
120 * Gets the subAccountNumber attribute.
121 *
122 * @return Returns the subAccountNumber
123 */
124 public String getSubAccountNumber() {
125 return subAccountNumber;
126 }
127
128 /**
129 * Sets the subAccountNumber attribute.
130 *
131 * @param subAccountNumber The subAccountNumber to set.
132 */
133 public void setSubAccountNumber(String subAccountNumber) {
134 this.subAccountNumber = subAccountNumber;
135 }
136
137
138 /**
139 * Gets the financialObjectCode attribute.
140 *
141 * @return Returns the financialObjectCode
142 */
143 public String getFinancialObjectCode() {
144 return financialObjectCode;
145 }
146
147 /**
148 * Sets the financialObjectCode attribute.
149 *
150 * @param financialObjectCode The financialObjectCode to set.
151 */
152 public void setFinancialObjectCode(String financialObjectCode) {
153 this.financialObjectCode = financialObjectCode;
154 }
155
156
157 /**
158 * Gets the financialSubObjectCode attribute.
159 *
160 * @return Returns the financialSubObjectCode
161 */
162 public String getFinancialSubObjectCode() {
163 return financialSubObjectCode;
164 }
165
166 /**
167 * Sets the financialSubObjectCode attribute.
168 *
169 * @param financialSubObjectCode The financialSubObjectCode to set.
170 */
171 public void setFinancialSubObjectCode(String financialSubObjectCode) {
172 this.financialSubObjectCode = financialSubObjectCode;
173 }
174
175
176 /**
177 * Gets the positionNumber attribute.
178 *
179 * @return Returns the positionNumber
180 */
181 public String getPositionNumber() {
182 return positionNumber;
183 }
184
185 /**
186 * Sets the positionNumber attribute.
187 *
188 * @param positionNumber The positionNumber to set.
189 */
190 public void setPositionNumber(String positionNumber) {
191 this.positionNumber = positionNumber;
192 }
193
194
195 /**
196 * Gets the emplid.
197 *
198 * @return Returns the emplid
199 */
200 public String getEmplid() {
201 return emplid;
202 }
203
204 /**
205 * Sets the emplid attribute.
206 *
207 * @param emplid The emplid to set.
208 */
209 public void setEmplid(String emplid) {
210 this.emplid = emplid;
211 }
212
213
214 /**
215 * Gets the csfAmount attribute.
216 *
217 * @return Returns the csfAmount
218 */
219 public KualiInteger getCsfAmount() {
220 return csfAmount;
221 }
222
223 /**
224 * Sets the csfAmount attribute.
225 *
226 * @param csfAmount The csfAmount to set.
227 */
228 public void setCsfAmount(KualiInteger csfAmount) {
229 this.csfAmount = csfAmount;
230 }
231
232
233 /**
234 * Gets the csfFullTimeEmploymentQuantity attribute.
235 *
236 * @return Returns the csfFullTimeEmploymentQuantity
237 */
238 public BigDecimal getCsfFullTimeEmploymentQuantity() {
239 return csfFullTimeEmploymentQuantity;
240 }
241
242 /**
243 * Sets the csfFullTimeEmploymentQuantity attribute.
244 *
245 * @param csfFullTimeEmploymentQuantity The csfFullTimeEmploymentQuantity to set.
246 */
247 public void setCsfFullTimeEmploymentQuantity(BigDecimal csfFullTimeEmploymentQuantity) {
248 this.csfFullTimeEmploymentQuantity = csfFullTimeEmploymentQuantity;
249 }
250
251
252 /**
253 * Gets the csfTimePercent attribute.
254 *
255 * @return Returns the csfTimePercent
256 */
257 public BigDecimal getCsfTimePercent() {
258 return csfTimePercent;
259 }
260
261 /**
262 * Sets the csfTimePercent attribute.
263 *
264 * @param csfTimePercent The csfTimePercent to set.
265 */
266 public void setCsfTimePercent(BigDecimal csfTimePercent) {
267 this.csfTimePercent = csfTimePercent;
268 }
269
270
271 /**
272 * Gets the csfFundingStatusCode attribute.
273 *
274 * @return Returns the csfFundingStatusCode
275 */
276 public String getCsfFundingStatusCode() {
277 return csfFundingStatusCode;
278 }
279
280 /**
281 * Sets the csfFundingStatusCode attribute.
282 *
283 * @param csfFundingStatusCode The csfFundingStatusCode to set.
284 */
285 public void setCsfFundingStatusCode(String csfFundingStatusCode) {
286 this.csfFundingStatusCode = csfFundingStatusCode;
287 }
288
289
290 /**
291 * Gets the financialObject attribute.
292 *
293 * @return Returns the financialObject
294 */
295 public ObjectCode getFinancialObject() {
296 return financialObject;
297 }
298
299 /**
300 * Sets the financialObject attribute.
301 *
302 * @param financialObject The financialObject to set.
303 * @deprecated
304 */
305 public void setFinancialObject(ObjectCode financialObject) {
306 this.financialObject = financialObject;
307 }
308
309 /**
310 * Gets the pendingAppointmentFunding attribute.
311 *
312 * @return Returns the pendingAppointmentFunding
313 */
314 public PendingBudgetConstructionAppointmentFunding getPendingAppointmentFunding() {
315 return pendingAppointmentFunding;
316 }
317
318 /**
319 * Sets the pendingAppointmentFunding attribute.
320 *
321 * @param pendingAppointmentFunding The pendingAppointmentFunding to set.
322 * @deprecated
323 */
324 public void setPendingAppointmentFunding(PendingBudgetConstructionAppointmentFunding pendingAppointmentFunding) {
325 this.pendingAppointmentFunding = pendingAppointmentFunding;
326 }
327
328 /**
329 * Gets the account attribute.
330 *
331 * @return Returns the account
332 */
333 public Account getAccount() {
334 return account;
335 }
336
337 /**
338 * Sets the account attribute.
339 *
340 * @param account The account to set.
341 * @deprecated
342 */
343 public void setAccount(Account account) {
344 this.account = account;
345 }
346
347 /**
348 * Gets the chartOfAccounts attribute.
349 *
350 * @return Returns the chartOfAccounts
351 */
352 public Chart getChartOfAccounts() {
353 return chartOfAccounts;
354 }
355
356 /**
357 * Sets the chartOfAccounts attribute.
358 *
359 * @param chartOfAccounts The chartOfAccounts to set.
360 * @deprecated
361 */
362 public void setChartOfAccounts(Chart chartOfAccounts) {
363 this.chartOfAccounts = chartOfAccounts;
364 }
365
366 /**
367 * Gets the financialSubObject attribute.
368 *
369 * @return Returns the financialSubObject.
370 */
371 public SubObjectCode getFinancialSubObject() {
372 return financialSubObject;
373 }
374
375 /**
376 * Sets the financialSubObject attribute value.
377 *
378 * @param financialSubObject The financialSubObject to set.
379 * @deprecated
380 */
381 public void setFinancialSubObject(SubObjectCode financialSubObject) {
382 this.financialSubObject = financialSubObject;
383 }
384
385 /**
386 * Gets the subAccount attribute.
387 *
388 * @return Returns the subAccount.
389 */
390 public SubAccount getSubAccount() {
391 return subAccount;
392 }
393
394 /**
395 * Sets the subAccount attribute value.
396 *
397 * @param subAccount The subAccount to set.
398 * @deprecated
399 */
400 public void setSubAccount(SubAccount subAccount) {
401 this.subAccount = subAccount;
402 }
403
404 /**
405 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
406 */
407 protected LinkedHashMap toStringMapper() {
408 LinkedHashMap m = new LinkedHashMap();
409 if (this.universityFiscalYear != null) {
410 m.put("universityFiscalYear", this.universityFiscalYear.toString());
411 }
412 m.put("chartOfAccountsCode", this.chartOfAccountsCode);
413 m.put("accountNumber", this.accountNumber);
414 m.put("subAccountNumber", this.subAccountNumber);
415 m.put("financialObjectCode", this.financialObjectCode);
416 m.put("financialSubObjectCode", this.financialSubObjectCode);
417 m.put("positionNumber", this.positionNumber);
418 m.put("emplid", this.emplid);
419 return m;
420 }
421
422 }