View Javadoc
1   /*
2    * Copyright 2006 The Kuali Foundation
3    * 
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    * http://www.opensource.org/licenses/ecl2.php
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  
17  package org.kuali.ole.coa.businessobject;
18  
19  import java.util.LinkedHashMap;
20  
21  import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
22  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
23  
24  /**
25   * Business object for American Institute of Certified Public Accountants (AICPA) function
26   */
27  public class AICPAFunction extends PersistableBusinessObjectBase implements MutableInactivatable {
28  
29      private String financialAicpaFunctionCode;
30      private String financialAicpaFunctionName;
31      private boolean active;
32  
33      /**
34       * Default constructor.
35       */
36      public AICPAFunction() {
37  
38      }
39  
40      /**
41       * Gets the financialAicpaFunctionCode attribute.
42       * 
43       * @return Returns the financialAicpaFunctionCode
44       */
45      public String getFinancialAicpaFunctionCode() {
46          return financialAicpaFunctionCode;
47      }
48  
49      /**
50       * Sets the financialAicpaFunctionCode attribute.
51       * 
52       * @param financialAicpaFunctionCode The financialAicpaFunctionCode to set.
53       */
54      public void setFinancialAicpaFunctionCode(String financialAicpaFunctionCode) {
55          this.financialAicpaFunctionCode = financialAicpaFunctionCode;
56      }
57  
58  
59      /**
60       * Gets the financialAicpaFunctionName attribute.
61       * 
62       * @return Returns the financialAicpaFunctionName
63       */
64      public String getFinancialAicpaFunctionName() {
65          return financialAicpaFunctionName;
66      }
67  
68      /**
69       * Sets the financialAicpaFunctionName attribute.
70       * 
71       * @param financialAicpaFunctionName The financialAicpaFunctionName to set.
72       */
73      public void setFinancialAicpaFunctionName(String financialAicpaFunctionName) {
74          this.financialAicpaFunctionName = financialAicpaFunctionName;
75      }
76  
77  
78      /**
79       * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
80       */
81      protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
82          LinkedHashMap m = new LinkedHashMap();
83          m.put("financialAicpaFunctionCode", this.financialAicpaFunctionCode);
84          return m;
85      }
86  
87      /**
88       * Gets the active attribute. 
89       * @return Returns the active.
90       */
91      public boolean isActive() {
92          return active;
93      }
94  
95      /**
96       * Sets the active attribute value.
97       * @param active The active to set.
98       */
99      public void setActive(boolean active) {
100         this.active = active;
101     }
102 }