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.coa.businessobject; 018 019 import java.util.LinkedHashMap; 020 021 import org.kuali.rice.kns.bo.Inactivateable; 022 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase; 023 024 /** 025 * Business object for American Institute of Certified Public Accountants (AICPA) function 026 */ 027 public class AICPAFunction extends PersistableBusinessObjectBase implements Inactivateable { 028 029 private String financialAicpaFunctionCode; 030 private String financialAicpaFunctionName; 031 private boolean active; 032 033 /** 034 * Default constructor. 035 */ 036 public AICPAFunction() { 037 038 } 039 040 /** 041 * Gets the financialAicpaFunctionCode attribute. 042 * 043 * @return Returns the financialAicpaFunctionCode 044 */ 045 public String getFinancialAicpaFunctionCode() { 046 return financialAicpaFunctionCode; 047 } 048 049 /** 050 * Sets the financialAicpaFunctionCode attribute. 051 * 052 * @param financialAicpaFunctionCode The financialAicpaFunctionCode to set. 053 */ 054 public void setFinancialAicpaFunctionCode(String financialAicpaFunctionCode) { 055 this.financialAicpaFunctionCode = financialAicpaFunctionCode; 056 } 057 058 059 /** 060 * Gets the financialAicpaFunctionName attribute. 061 * 062 * @return Returns the financialAicpaFunctionName 063 */ 064 public String getFinancialAicpaFunctionName() { 065 return financialAicpaFunctionName; 066 } 067 068 /** 069 * Sets the financialAicpaFunctionName attribute. 070 * 071 * @param financialAicpaFunctionName The financialAicpaFunctionName to set. 072 */ 073 public void setFinancialAicpaFunctionName(String financialAicpaFunctionName) { 074 this.financialAicpaFunctionName = financialAicpaFunctionName; 075 } 076 077 078 /** 079 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper() 080 */ 081 protected LinkedHashMap toStringMapper() { 082 LinkedHashMap m = new LinkedHashMap(); 083 m.put("financialAicpaFunctionCode", this.financialAicpaFunctionCode); 084 return m; 085 } 086 087 /** 088 * Gets the active attribute. 089 * @return Returns the active. 090 */ 091 public boolean isActive() { 092 return active; 093 } 094 095 /** 096 * Sets the active attribute value. 097 * @param active The active to set. 098 */ 099 public void setActive(boolean active) { 100 this.active = active; 101 } 102 }