/*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2014 The Kuali Foundation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.kuali.kfs.module.bc.businessobject;
import java.math.BigDecimal;
import java.util.LinkedHashMap;
import org.kuali.kfs.coa.businessobject.Account;
import org.kuali.kfs.coa.businessobject.Chart;
import org.kuali.kfs.coa.businessobject.ObjectCode;
import org.kuali.kfs.coa.businessobject.ObjectLevel;
import org.kuali.kfs.coa.businessobject.ObjectType;
import org.kuali.kfs.coa.businessobject.SubAccount;
import org.kuali.kfs.coa.businessobject.SubObjectCode;
import org.kuali.rice.core.api.util.type.KualiInteger;
import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
/**
*
*/
public class BudgetConstructionBalanceByAccount extends PersistableBusinessObjectBase {
private String principalId;
private Integer universityFiscalYear;
private String chartOfAccountsCode;
private String accountNumber;
private String subAccountNumber;
private String financialObjectCode;
private String financialSubObjectCode;
private String financialObjectTypeCode;
private String financialObjectLevelCode;
private String typeFinancialReportSortCode;
private String financialConsolidationSortCode;
private String levelFinancialReportSortCode;
private BigDecimal appointmentRequestedFteQuantity;
private BigDecimal appointmentRequestedCsfFteQuantity;
private BigDecimal csfFullTimeEmploymentQuantity;
private KualiInteger accountLineAnnualBalanceAmount;
private KualiInteger financialBeginningBalanceLineAmount;
private BigDecimal positionCsfLeaveFteQuantity;
private ObjectCode financialObject;
private Account account;
private Chart chartOfAccounts;
private SubAccount subAccount;
private SubObjectCode financialSubObject;
private ObjectLevel financialObjectLevel;
private ObjectType financialObjectType;
/**
* Default constructor.
*/
public BudgetConstructionBalanceByAccount() {
}
/**
* Gets the principalId attribute.
*
* @return Returns the principalId
*/
public String getPrincipalId() {
return principalId;
}
/**
* Sets the principalId attribute.
*
* @param principalId The principalId to set.
*/
public void setPrincipalId(String principalId) {
this.principalId = principalId;
}
/**
* Gets the universityFiscalYear attribute.
*
* @return Returns the universityFiscalYear
*/
public Integer getUniversityFiscalYear() {
return universityFiscalYear;
}
/**
* Sets the universityFiscalYear attribute.
*
* @param universityFiscalYear The universityFiscalYear to set.
*/
public void setUniversityFiscalYear(Integer universityFiscalYear) {
this.universityFiscalYear = universityFiscalYear;
}
/**
* Gets the chartOfAccountsCode attribute.
*
* @return Returns the chartOfAccountsCode
*/
public String getChartOfAccountsCode() {
return chartOfAccountsCode;
}
/**
* Sets the chartOfAccountsCode attribute.
*
* @param chartOfAccountsCode The chartOfAccountsCode to set.
*/
public void setChartOfAccountsCode(String chartOfAccountsCode) {
this.chartOfAccountsCode = chartOfAccountsCode;
}
/**
* Gets the accountNumber attribute.
*
* @return Returns the accountNumber
*/
public String getAccountNumber() {
return accountNumber;
}
/**
* Sets the accountNumber attribute.
*
* @param accountNumber The accountNumber to set.
*/
public void setAccountNumber(String accountNumber) {
this.accountNumber = accountNumber;
}
/**
* Gets the subAccountNumber attribute.
*
* @return Returns the subAccountNumber
*/
public String getSubAccountNumber() {
return subAccountNumber;
}
/**
* Sets the subAccountNumber attribute.
*
* @param subAccountNumber The subAccountNumber to set.
*/
public void setSubAccountNumber(String subAccountNumber) {
this.subAccountNumber = subAccountNumber;
}
/**
* Gets the financialObjectCode attribute.
*
* @return Returns the financialObjectCode
*/
public String getFinancialObjectCode() {
return financialObjectCode;
}
/**
* Sets the financialObjectCode attribute.
*
* @param financialObjectCode The financialObjectCode to set.
*/
public void setFinancialObjectCode(String financialObjectCode) {
this.financialObjectCode = financialObjectCode;
}
/**
* Gets the financialSubObjectCode attribute.
*
* @return Returns the financialSubObjectCode
*/
public String getFinancialSubObjectCode() {
return financialSubObjectCode;
}
/**
* Sets the financialSubObjectCode attribute.
*
* @param financialSubObjectCode The financialSubObjectCode to set.
*/
public void setFinancialSubObjectCode(String financialSubObjectCode) {
this.financialSubObjectCode = financialSubObjectCode;
}
/**
* Gets the financialObjectTypeCode attribute.
*
* @return Returns the financialObjectTypeCode
*/
public String getFinancialObjectTypeCode() {
return financialObjectTypeCode;
}
/**
* Sets the financialObjectTypeCode attribute.
*
* @param financialObjectTypeCode The financialObjectTypeCode to set.
*/
public void setFinancialObjectTypeCode(String financialObjectTypeCode) {
this.financialObjectTypeCode = financialObjectTypeCode;
}
/**
* Gets the financialObjectLevelCode attribute.
*
* @return Returns the financialObjectLevelCode
*/
public String getFinancialObjectLevelCode() {
return financialObjectLevelCode;
}
/**
* Sets the financialObjectLevelCode attribute.
*
* @param financialObjectLevelCode The financialObjectLevelCode to set.
*/
public void setFinancialObjectLevelCode(String financialObjectLevelCode) {
this.financialObjectLevelCode = financialObjectLevelCode;
}
/**
* Gets the typeFinancialReportSortCode attribute.
*
* @return Returns the typeFinancialReportSortCode
*/
public String getTypeFinancialReportSortCode() {
return typeFinancialReportSortCode;
}
/**
* Sets the typeFinancialReportSortCode attribute.
*
* @param typeFinancialReportSortCode The typeFinancialReportSortCode to set.
*/
public void setTypeFinancialReportSortCode(String typeFinancialReportSortCode) {
this.typeFinancialReportSortCode = typeFinancialReportSortCode;
}
/**
* Gets the financialConsolidationSortCode attribute.
*
* @return Returns the financialConsolidationSortCode
*/
public String getFinancialConsolidationSortCode() {
return financialConsolidationSortCode;
}
/**
* Sets the financialConsolidationSortCode attribute.
*
* @param financialConsolidationSortCode The financialConsolidationSortCode to set.
*/
public void setFinancialConsolidationSortCode(String financialConsolidationSortCode) {
this.financialConsolidationSortCode = financialConsolidationSortCode;
}
/**
* Gets the levelFinancialReportSortCode attribute.
*
* @return Returns the levelFinancialReportSortCode
*/
public String getLevelFinancialReportSortCode() {
return levelFinancialReportSortCode;
}
/**
* Sets the levelFinancialReportSortCode attribute.
*
* @param levelFinancialReportSortCode The levelFinancialReportSortCode to set.
*/
public void setLevelFinancialReportSortCode(String levelFinancialReportSortCode) {
this.levelFinancialReportSortCode = levelFinancialReportSortCode;
}
/**
* Gets the appointmentRequestedFteQuantity attribute.
*
* @return Returns the appointmentRequestedFteQuantity
*/
public BigDecimal getAppointmentRequestedFteQuantity() {
return appointmentRequestedFteQuantity;
}
/**
* Sets the appointmentRequestedFteQuantity attribute.
*
* @param appointmentRequestedFteQuantity The appointmentRequestedFteQuantity to set.
*/
public void setAppointmentRequestedFteQuantity(BigDecimal appointmentRequestedFteQuantity) {
this.appointmentRequestedFteQuantity = appointmentRequestedFteQuantity;
}
/**
* Gets the appointmentRequestedCsfFteQuantity attribute.
*
* @return Returns the appointmentRequestedCsfFteQuantity
*/
public BigDecimal getAppointmentRequestedCsfFteQuantity() {
return appointmentRequestedCsfFteQuantity;
}
/**
* Sets the appointmentRequestedCsfFteQuantity attribute.
*
* @param appointmentRequestedCsfFteQuantity The appointmentRequestedCsfFteQuantity to set.
*/
public void setAppointmentRequestedCsfFteQuantity(BigDecimal appointmentRequestedCsfFteQuantity) {
this.appointmentRequestedCsfFteQuantity = appointmentRequestedCsfFteQuantity;
}
/**
* Gets the csfFullTimeEmploymentQuantity attribute.
*
* @return Returns the csfFullTimeEmploymentQuantity
*/
public BigDecimal getCsfFullTimeEmploymentQuantity() {
return csfFullTimeEmploymentQuantity;
}
/**
* Sets the csfFullTimeEmploymentQuantity attribute.
*
* @param csfFullTimeEmploymentQuantity The csfFullTimeEmploymentQuantity to set.
*/
public void setCsfFullTimeEmploymentQuantity(BigDecimal csfFullTimeEmploymentQuantity) {
this.csfFullTimeEmploymentQuantity = csfFullTimeEmploymentQuantity;
}
/**
* Gets the accountLineAnnualBalanceAmount attribute.
*
* @return Returns the accountLineAnnualBalanceAmount.
*/
public KualiInteger getAccountLineAnnualBalanceAmount() {
return accountLineAnnualBalanceAmount;
}
/**
* Sets the accountLineAnnualBalanceAmount attribute value.
*
* @param accountLineAnnualBalanceAmount The accountLineAnnualBalanceAmount to set.
*/
public void setAccountLineAnnualBalanceAmount(KualiInteger accountLineAnnualBalanceAmount) {
this.accountLineAnnualBalanceAmount = accountLineAnnualBalanceAmount;
}
/**
* Gets the financialBeginningBalanceLineAmount attribute.
*
* @return Returns the financialBeginningBalanceLineAmount.
*/
public KualiInteger getFinancialBeginningBalanceLineAmount() {
return financialBeginningBalanceLineAmount;
}
/**
* Sets the financialBeginningBalanceLineAmount attribute value.
*
* @param financialBeginningBalanceLineAmount The financialBeginningBalanceLineAmount to set.
*/
public void setFinancialBeginningBalanceLineAmount(KualiInteger financialBeginningBalanceLineAmount) {
this.financialBeginningBalanceLineAmount = financialBeginningBalanceLineAmount;
}
/**
* Gets the positionCsfLeaveFteQuantity attribute.
*
* @return Returns the positionCsfLeaveFteQuantity
*/
public BigDecimal getPositionCsfLeaveFteQuantity() {
return positionCsfLeaveFteQuantity;
}
/**
* Sets the positionCsfLeaveFteQuantity attribute.
*
* @param positionCsfLeaveFteQuantity The positionCsfLeaveFteQuantity to set.
*/
public void setPositionCsfLeaveFteQuantity(BigDecimal positionCsfLeaveFteQuantity) {
this.positionCsfLeaveFteQuantity = positionCsfLeaveFteQuantity;
}
/**
* Gets the financialObject attribute.
*
* @return Returns the financialObject
*/
public ObjectCode getFinancialObject() {
return financialObject;
}
/**
* Sets the financialObject attribute.
*
* @param financialObject The financialObject to set.
* @deprecated
*/
public void setFinancialObject(ObjectCode financialObject) {
this.financialObject = financialObject;
}
/**
* Gets the account attribute.
*
* @return Returns the account
*/
public Account getAccount() {
return account;
}
/**
* Sets the account attribute.
*
* @param account The account to set.
* @deprecated
*/
public void setAccount(Account account) {
this.account = account;
}
/**
* Gets the chartOfAccounts attribute.
*
* @return Returns the chartOfAccounts
*/
public Chart getChartOfAccounts() {
return chartOfAccounts;
}
/**
* Sets the chartOfAccounts attribute.
*
* @param chartOfAccounts The chartOfAccounts to set.
* @deprecated
*/
public void setChartOfAccounts(Chart chartOfAccounts) {
this.chartOfAccounts = chartOfAccounts;
}
/**
* Gets the financialObjectLevel attribute.
*
* @return Returns the financialObjectLevel.
*/
public ObjectLevel getFinancialObjectLevel() {
return financialObjectLevel;
}
/**
* Sets the financialObjectLevel attribute value.
*
* @param financialObjectLevel The financialObjectLevel to set.
* @deprecated
*/
public void setFinancialObjectLevel(ObjectLevel financialObjectLevel) {
this.financialObjectLevel = financialObjectLevel;
}
/**
* Gets the financialObjectType attribute.
*
* @return Returns the financialObjectType.
*/
public ObjectType getFinancialObjectType() {
return financialObjectType;
}
/**
* Sets the financialObjectType attribute value.
*
* @param financialObjectType The financialObjectType to set.
* @deprecated
*/
public void setFinancialObjectType(ObjectType financialObjectType) {
this.financialObjectType = financialObjectType;
}
/**
* Gets the financialSubObject attribute.
*
* @return Returns the financialSubObject.
*/
public SubObjectCode getFinancialSubObject() {
return financialSubObject;
}
/**
* Sets the financialSubObject attribute value.
*
* @param financialSubObject The financialSubObject to set.
* @deprecated
*/
public void setFinancialSubObject(SubObjectCode financialSubObject) {
this.financialSubObject = financialSubObject;
}
/**
* Gets the subAccount attribute.
*
* @return Returns the subAccount.
*/
public SubAccount getSubAccount() {
return subAccount;
}
/**
* Sets the subAccount attribute value.
*
* @param subAccount The subAccount to set.
* @deprecated
*/
public void setSubAccount(SubAccount subAccount) {
this.subAccount = subAccount;
}
/**
* @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
*/
protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
LinkedHashMap m = new LinkedHashMap();
m.put("principalId", this.principalId);
if (this.universityFiscalYear != null) {
m.put("universityFiscalYear", this.universityFiscalYear.toString());
}
m.put("chartOfAccountsCode", this.chartOfAccountsCode);
m.put("accountNumber", this.accountNumber);
m.put("subAccountNumber", this.subAccountNumber);
m.put("financialObjectCode", this.financialObjectCode);
m.put("financialSubObjectCode", this.financialSubObjectCode);
return m;
}
}