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   * 
26   */
27  public class IndirectCostRecoveryExclusionAccount extends PersistableBusinessObjectBase implements MutableInactivatable {
28  
29      private String chartOfAccountsCode;
30      private String accountNumber;
31      private String financialObjectChartOfAccountCode;
32      private String financialObjectCode;
33      private Chart chart;
34      private Account account;
35      private Chart financialObjectChartOfAccount;
36      private ObjectCode objectCodeCurrent;
37      private boolean active; 
38  
39      public IndirectCostRecoveryExclusionAccount() {
40          super();
41      }
42  
43      /**
44       * Gets the chartOfAccountsCode attribute.
45       * 
46       * @return Returns the chartOfAccountsCode
47       */
48      public String getChartOfAccountsCode() {
49          return chartOfAccountsCode;
50      }
51  
52      /**
53       * Sets the chartOfAccountsCode attribute.
54       * 
55       * @param chartOfAccountsCode The chartOfAccountsCode to set.
56       */
57      public void setChartOfAccountsCode(String chartOfAccountsCode) {
58          this.chartOfAccountsCode = chartOfAccountsCode;
59      }
60  
61  
62      /**
63       * Gets the accountNumber attribute.
64       * 
65       * @return Returns the accountNumber
66       */
67      public String getAccountNumber() {
68          return accountNumber;
69      }
70  
71      /**
72       * Sets the accountNumber attribute.
73       * 
74       * @param accountNumber The accountNumber to set.
75       */
76      public void setAccountNumber(String accountNumber) {
77          this.accountNumber = accountNumber;
78      }
79  
80  
81      /**
82       * Gets the financialObjectChartOfAccountCode attribute.
83       * 
84       * @return Returns the financialObjectChartOfAccountCode
85       */
86      public String getFinancialObjectChartOfAccountCode() {
87          return financialObjectChartOfAccountCode;
88      }
89  
90      /**
91       * Sets the financialObjectChartOfAccountCode attribute.
92       * 
93       * @param financialObjectChartOfAccountCode The financialObjectChartOfAccountCode to set.
94       */
95      public void setFinancialObjectChartOfAccountCode(String financialObjectChartOfAccountCode) {
96          this.financialObjectChartOfAccountCode = financialObjectChartOfAccountCode;
97      }
98  
99  
100     /**
101      * Gets the financialObjectCode attribute.
102      * 
103      * @return Returns the financialObjectCode
104      */
105     public String getFinancialObjectCode() {
106         return financialObjectCode;
107     }
108 
109     /**
110      * Sets the financialObjectCode attribute.
111      * 
112      * @param financialObjectCode The financialObjectCode to set.
113      */
114     public void setFinancialObjectCode(String financialObjectCode) {
115         this.financialObjectCode = financialObjectCode;
116     }
117 
118 
119     /**
120      * Gets the chart attribute.
121      * 
122      * @return Returns the chart
123      */
124     public Chart getChart() {
125         return chart;
126     }
127 
128     /**
129      * Sets the chart attribute.
130      * 
131      * @param chart The chart to set.
132      * @deprecated
133      */
134     public void setChart(Chart chart) {
135         this.chart = chart;
136     }
137 
138     /**
139      * Gets the account attribute.
140      * 
141      * @return Returns the account
142      */
143     public Account getAccount() {
144         return account;
145     }
146 
147     /**
148      * Sets the account attribute.
149      * 
150      * @param account The account to set.
151      * @deprecated
152      */
153     public void setAccount(Account account) {
154         this.account = account;
155     }
156 
157     /**
158      * Gets the financialObjectChartOfAccount attribute.
159      * 
160      * @return Returns the financialObjectChartOfAccount
161      */
162     public Chart getFinancialObjectChartOfAccount() {
163         return financialObjectChartOfAccount;
164     }
165 
166     /**
167      * Sets the financialObjectChartOfAccount attribute.
168      * 
169      * @param financialObjectChartOfAccount The financialObjectChartOfAccount to set.
170      * @deprecated
171      */
172     public void setFinancialObjectChartOfAccount(Chart financialObjectChartOfAccount) {
173         this.financialObjectChartOfAccount = financialObjectChartOfAccount;
174     }
175 
176     /**
177      * @return Returns the objectCode.
178      */
179     public ObjectCode getObjectCodeCurrent() {
180         return objectCodeCurrent;
181     }
182 
183     /**
184      * @param objectCode The objectCode to set.
185      * @deprecated
186      */
187     public void setObjectCodeCurrent(ObjectCode objectCodeCurrent) {
188         this.objectCodeCurrent = objectCodeCurrent;
189     }
190     
191     /**
192      * @return Returns whether the objectCode is active.
193      */
194     public boolean isActive() {
195         return active;
196     }
197 
198     /**
199      * @param active Set if the record is active.
200      */
201      
202     public void setActive(boolean active) {
203         this.active = active;
204     }
205 
206 
207     /**
208      * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
209      */
210     protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
211         LinkedHashMap m = new LinkedHashMap();
212         m.put("chartOfAccountsCode", this.chartOfAccountsCode);
213         m.put("accountNumber", this.accountNumber);
214         m.put("financialObjectChartOfAccountCode", this.financialObjectChartOfAccountCode);
215         m.put("financialObjectCode", this.financialObjectCode);
216         return m;
217     }
218 
219 
220 }