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.ole.sys.businessobject.FiscalYearBasedBusinessObject;
22  import org.kuali.ole.sys.businessobject.SystemOptions;
23  import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
24  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
25  
26  /**
27   * 
28   */
29  public class OrganizationReversionDetail extends PersistableBusinessObjectBase implements MutableInactivatable, OrganizationReversionCategoryInfo, FiscalYearBasedBusinessObject {
30  
31      private Integer universityFiscalYear;
32      private String chartOfAccountsCode;
33      private String organizationCode;
34      private String organizationReversionCategoryCode;
35      private String organizationReversionCode;
36      private String organizationReversionObjectCode;
37      private boolean active = true;
38  
39      private ObjectCode organizationReversionObject;
40      private Organization organization;
41      private Chart chartOfAccounts;
42      private OrganizationReversionCategory organizationReversionCategory;
43      private SystemOptions universityFiscal;
44      private OrganizationReversion organizationReversion;
45  
46      /**
47       * Default constructor.
48       */
49      public OrganizationReversionDetail() {
50  
51      }
52  
53      /**
54       * Gets the universityFiscalYear attribute.
55       * 
56       * @return Returns the universityFiscalYear
57       */
58      public Integer getUniversityFiscalYear() {
59          return universityFiscalYear;
60      }
61  
62      /**
63       * Sets the universityFiscalYear attribute.
64       * 
65       * @param universityFiscalYear The universityFiscalYear to set.
66       */
67      public void setUniversityFiscalYear(Integer universityFiscalYear) {
68          this.universityFiscalYear = universityFiscalYear;
69      }
70  
71  
72      /**
73       * Gets the chartOfAccountsCode attribute.
74       * 
75       * @return Returns the chartOfAccountsCode
76       */
77      public String getChartOfAccountsCode() {
78          return chartOfAccountsCode;
79      }
80  
81      /**
82       * Sets the chartOfAccountsCode attribute.
83       * 
84       * @param chartOfAccountsCode The chartOfAccountsCode to set.
85       */
86      public void setChartOfAccountsCode(String chartOfAccountsCode) {
87          this.chartOfAccountsCode = chartOfAccountsCode;
88      }
89  
90  
91      /**
92       * Gets the organizationCode attribute.
93       * 
94       * @return Returns the organizationCode
95       */
96      public String getOrganizationCode() {
97          return organizationCode;
98      }
99  
100     /**
101      * Sets the organizationCode attribute.
102      * 
103      * @param organizationCode The organizationCode to set.
104      */
105     public void setOrganizationCode(String organizationCode) {
106         this.organizationCode = organizationCode;
107     }
108 
109 
110     /**
111      * Gets the organizationReversionCategoryCode attribute.
112      * 
113      * @return Returns the organizationReversionCategoryCode
114      */
115     public String getOrganizationReversionCategoryCode() {
116         return organizationReversionCategoryCode;
117     }
118 
119     /**
120      * Sets the organizationReversionCategoryCode attribute.
121      * 
122      * @param organizationReversionCategoryCode The organizationReversionCategoryCode to set.
123      */
124     public void setOrganizationReversionCategoryCode(String organizationReversionCategoryCode) {
125         this.organizationReversionCategoryCode = organizationReversionCategoryCode;
126     }
127 
128     /**
129      * Gets the organizationReversionCode attribute.
130      * 
131      * @return Returns the organizationReversionCode
132      */
133     public String getOrganizationReversionCode() {
134         return organizationReversionCode;
135     }
136 
137     /**
138      * Sets the organizationReversionCode attribute.
139      * 
140      * @param organizationReversionCode The organizationReversionCode to set.
141      */
142     public void setOrganizationReversionCode(String organizationReversionCode) {
143         this.organizationReversionCode = organizationReversionCode;
144     }
145 
146 
147     /**
148      * Gets the organizationReversionObjectCode attribute.
149      * 
150      * @return Returns the organizationReversionObjectCode
151      */
152     public String getOrganizationReversionObjectCode() {
153         return organizationReversionObjectCode;
154     }
155 
156     /**
157      * Sets the organizationReversionObjectCode attribute.
158      * 
159      * @param organizationReversionObjectCode The organizationReversionObjectCode to set.
160      */
161     public void setOrganizationReversionObjectCode(String organizationReversionObjectCode) {
162         this.organizationReversionObjectCode = organizationReversionObjectCode;
163     }
164 
165 
166     /**
167      * Gets the organizationReversionObject attribute.
168      * 
169      * @return Returns the organizationReversionObject
170      */
171     public ObjectCode getOrganizationReversionObject() {
172         return organizationReversionObject;
173     }
174 
175     /**
176      * Sets the organizationReversionObject attribute.
177      * 
178      * @param organizationReversionObject The organizationReversionObject to set.
179      * @deprecated
180      */
181     public void setOrganizationReversionObject(ObjectCode organizationReversionObject) {
182         this.organizationReversionObject = organizationReversionObject;
183     }
184 
185     /**
186      * Gets the organization attribute.
187      * 
188      * @return Returns the organization
189      */
190     public Organization getOrganization() {
191         return organization;
192     }
193 
194     /**
195      * Sets the organization attribute.
196      * 
197      * @param organization The organization to set.
198      * @deprecated
199      */
200     public void setOrganization(Organization organization) {
201         this.organization = organization;
202     }
203 
204     /**
205      * Gets the chartOfAccounts attribute.
206      * 
207      * @return Returns the chartOfAccounts
208      */
209     public Chart getChartOfAccounts() {
210         return chartOfAccounts;
211     }
212 
213     /**
214      * Sets the chartOfAccounts attribute.
215      * 
216      * @param chartOfAccounts The chartOfAccounts to set.
217      * @deprecated
218      */
219     public void setChartOfAccounts(Chart chartOfAccounts) {
220         this.chartOfAccounts = chartOfAccounts;
221     }
222 
223     /**
224      * Gets the organizationReversionCategory attribute.
225      * 
226      * @return Returns the organizationReversionCategory.
227      */
228     public OrganizationReversionCategory getOrganizationReversionCategory() {
229         return organizationReversionCategory;
230     }
231 
232     /**
233      * Sets the organizationReversionCategory attribute value.
234      * 
235      * @param organizationReversionCategory The organizationReversionCategory to set.
236      */
237     public void setOrganizationReversionCategory(OrganizationReversionCategory organizationReversionCategory) {
238         this.organizationReversionCategory = organizationReversionCategory;
239     }
240 
241     /**
242      * Gets the universityFiscal attribute.
243      * 
244      * @return Returns the universityFiscal.
245      */
246     public SystemOptions getUniversityFiscal() {
247         return universityFiscal;
248     }
249 
250     /**
251      * Sets the universityFiscal attribute value.
252      * 
253      * @param universityFiscal The universityFiscal to set.
254      */
255     public void setUniversityFiscal(SystemOptions universityFiscal) {
256         this.universityFiscal = universityFiscal;
257     }
258     
259     /**
260      * Gets the organizationReversion attribute.
261      * 
262      * @return Returns the organizationReversion.
263      */
264     public OrganizationReversion getOrganizationReversion() {
265         return organizationReversion;
266     }
267 
268     /**
269      * Sets the organizationReversion attribute value.
270      * 
271      * @param organizationReversion The organizationReversion to set.
272      */
273     public void setOrganizationReversion(OrganizationReversion organizationReversion) {
274         this.organizationReversion = organizationReversion;
275     }
276 
277     /**
278      * Gets the active attribute. 
279      * @return Returns the active.
280      */
281     public boolean isActive() {
282         return active;
283     }
284 
285     /**
286      * Sets the active attribute value.
287      * @param active The active to set.
288      */
289     public void setActive(boolean active) {
290         this.active = active;
291     }
292 
293     /**
294      * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
295      */
296     protected LinkedHashMap toStringMapper() {
297         LinkedHashMap m = new LinkedHashMap();
298         return m;
299     }
300 }