/* * 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.cam.businessobject; import java.util.LinkedHashMap; import org.kuali.kfs.coa.businessobject.ObjectSubType; import org.kuali.rice.core.api.mo.common.active.MutableInactivatable; import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; /** * @author Kuali Nervous System Team (kualidev@oncourse.iu.edu) */ public class AssetDepreciationConvention extends PersistableBusinessObjectBase implements MutableInactivatable { private String financialObjectSubTypeCode; private String depreciationConventionCode; private boolean active; private ObjectSubType financialObjectSubType; /** * Default constructor. */ public AssetDepreciationConvention() { } /** * Gets the financialObjectSubTypeCode attribute. * * @return Returns the financialObjectSubTypeCode */ public String getFinancialObjectSubTypeCode() { return financialObjectSubTypeCode; } /** * Sets the financialObjectSubTypeCode attribute. * * @param financialObjectSubTypeCode The financialObjectSubTypeCode to set. */ public void setFinancialObjectSubTypeCode(String financialObjectSubTypeCode) { this.financialObjectSubTypeCode = financialObjectSubTypeCode; } /** * Gets the depreciationConventionCode attribute. * * @return Returns the depreciationConventionCode */ public String getDepreciationConventionCode() { return depreciationConventionCode; } /** * Sets the depreciationConventionCode attribute. * * @param depreciationConventionCode The depreciationConventionCode to set. */ public void setDepreciationConventionCode(String depreciationConventionCode) { this.depreciationConventionCode = depreciationConventionCode; } /** * Gets the financialObjectSubType attribute. * * @return Returns the financialObjectSubType. */ public ObjectSubType getFinancialObjectSubType() { return financialObjectSubType; } /** * Sets the financialObjectSubType attribute value. * * @param financialObjectSubType The financialObjectSubType to set. * @deprecated */ public void setFinancialObjectSubType(ObjectSubType financialObjectSubType) { this.financialObjectSubType = financialObjectSubType; } /** * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper() */ protected LinkedHashMap toStringMapper_RICE20_REFACTORME() { LinkedHashMap<String, String> m = new LinkedHashMap<String, String>(); m.put("financialObjectSubTypeCode", this.financialObjectSubTypeCode); return m; } /** * Gets the active attribute. * * @return Returns the active */ public boolean isActive() { return active; } /** * Sets the active attribute. * * @param active The active to set. */ public void setActive(boolean active) { this.active = active; } }