View Javadoc
1   /*
2    * The Kuali Financial System, a comprehensive financial management system for higher education.
3    * 
4    * Copyright 2005-2014 The Kuali Foundation
5    * 
6    * This program is free software: you can redistribute it and/or modify
7    * it under the terms of the GNU Affero General Public License as
8    * published by the Free Software Foundation, either version 3 of the
9    * License, or (at your option) any later version.
10   * 
11   * This program is distributed in the hope that it will be useful,
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   * GNU Affero General Public License for more details.
15   * 
16   * You should have received a copy of the GNU Affero General Public License
17   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18   */
19  
20  package org.kuali.kfs.coa.businessobject;
21  
22  import java.util.LinkedHashMap;
23  
24  import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
25  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
26  
27  /**
28   * Business object for American Institute of Certified Public Accountants (AICPA) function
29   */
30  public class AICPAFunction extends PersistableBusinessObjectBase implements MutableInactivatable {
31  
32      private String financialAicpaFunctionCode;
33      private String financialAicpaFunctionName;
34      private boolean active;
35  
36      /**
37       * Default constructor.
38       */
39      public AICPAFunction() {
40  
41      }
42  
43      /**
44       * Gets the financialAicpaFunctionCode attribute.
45       * 
46       * @return Returns the financialAicpaFunctionCode
47       */
48      public String getFinancialAicpaFunctionCode() {
49          return financialAicpaFunctionCode;
50      }
51  
52      /**
53       * Sets the financialAicpaFunctionCode attribute.
54       * 
55       * @param financialAicpaFunctionCode The financialAicpaFunctionCode to set.
56       */
57      public void setFinancialAicpaFunctionCode(String financialAicpaFunctionCode) {
58          this.financialAicpaFunctionCode = financialAicpaFunctionCode;
59      }
60  
61  
62      /**
63       * Gets the financialAicpaFunctionName attribute.
64       * 
65       * @return Returns the financialAicpaFunctionName
66       */
67      public String getFinancialAicpaFunctionName() {
68          return financialAicpaFunctionName;
69      }
70  
71      /**
72       * Sets the financialAicpaFunctionName attribute.
73       * 
74       * @param financialAicpaFunctionName The financialAicpaFunctionName to set.
75       */
76      public void setFinancialAicpaFunctionName(String financialAicpaFunctionName) {
77          this.financialAicpaFunctionName = financialAicpaFunctionName;
78      }
79  
80  
81      /**
82       * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
83       */
84      protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
85          LinkedHashMap m = new LinkedHashMap();
86          m.put("financialAicpaFunctionCode", this.financialAicpaFunctionCode);
87          return m;
88      }
89  
90      /**
91       * Gets the active attribute. 
92       * @return Returns the active.
93       */
94      public boolean isActive() {
95          return active;
96      }
97  
98      /**
99       * Sets the active attribute value.
100      * @param active The active to set.
101      */
102     public void setActive(boolean active) {
103         this.active = active;
104     }
105 }