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.kfs.sys.businessobject.SystemOptions;
022    import org.kuali.rice.kns.bo.Inactivateable;
023    import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
024    
025    /**
026     * 
027     */
028    public class OrganizationReversionDetail extends PersistableBusinessObjectBase implements Inactivateable, OrganizationReversionCategoryInfo {
029    
030        private Integer universityFiscalYear;
031        private String chartOfAccountsCode;
032        private String organizationCode;
033        private String organizationReversionCategoryCode;
034        private String organizationReversionCode;
035        private String organizationReversionObjectCode;
036        private boolean active = true;
037    
038        private ObjectCode organizationReversionObject;
039        private Organization organization;
040        private Chart chartOfAccounts;
041        private OrganizationReversionCategory organizationReversionCategory;
042        private SystemOptions universityFiscal;
043        private OrganizationReversion organizationReversion;
044    
045        /**
046         * Default constructor.
047         */
048        public OrganizationReversionDetail() {
049    
050        }
051    
052        /**
053         * Gets the universityFiscalYear attribute.
054         * 
055         * @return Returns the universityFiscalYear
056         */
057        public Integer getUniversityFiscalYear() {
058            return universityFiscalYear;
059        }
060    
061        /**
062         * Sets the universityFiscalYear attribute.
063         * 
064         * @param universityFiscalYear The universityFiscalYear to set.
065         */
066        public void setUniversityFiscalYear(Integer universityFiscalYear) {
067            this.universityFiscalYear = universityFiscalYear;
068        }
069    
070    
071        /**
072         * Gets the chartOfAccountsCode attribute.
073         * 
074         * @return Returns the chartOfAccountsCode
075         */
076        public String getChartOfAccountsCode() {
077            return chartOfAccountsCode;
078        }
079    
080        /**
081         * Sets the chartOfAccountsCode attribute.
082         * 
083         * @param chartOfAccountsCode The chartOfAccountsCode to set.
084         */
085        public void setChartOfAccountsCode(String chartOfAccountsCode) {
086            this.chartOfAccountsCode = chartOfAccountsCode;
087        }
088    
089    
090        /**
091         * Gets the organizationCode attribute.
092         * 
093         * @return Returns the organizationCode
094         */
095        public String getOrganizationCode() {
096            return organizationCode;
097        }
098    
099        /**
100         * Sets the organizationCode attribute.
101         * 
102         * @param organizationCode The organizationCode to set.
103         */
104        public void setOrganizationCode(String organizationCode) {
105            this.organizationCode = organizationCode;
106        }
107    
108    
109        /**
110         * Gets the organizationReversionCategoryCode attribute.
111         * 
112         * @return Returns the organizationReversionCategoryCode
113         */
114        public String getOrganizationReversionCategoryCode() {
115            return organizationReversionCategoryCode;
116        }
117    
118        /**
119         * Sets the organizationReversionCategoryCode attribute.
120         * 
121         * @param organizationReversionCategoryCode The organizationReversionCategoryCode to set.
122         */
123        public void setOrganizationReversionCategoryCode(String organizationReversionCategoryCode) {
124            this.organizationReversionCategoryCode = organizationReversionCategoryCode;
125        }
126    
127        /**
128         * Gets the organizationReversionCode attribute.
129         * 
130         * @return Returns the organizationReversionCode
131         */
132        public String getOrganizationReversionCode() {
133            return organizationReversionCode;
134        }
135    
136        /**
137         * Sets the organizationReversionCode attribute.
138         * 
139         * @param organizationReversionCode The organizationReversionCode to set.
140         */
141        public void setOrganizationReversionCode(String organizationReversionCode) {
142            this.organizationReversionCode = organizationReversionCode;
143        }
144    
145    
146        /**
147         * Gets the organizationReversionObjectCode attribute.
148         * 
149         * @return Returns the organizationReversionObjectCode
150         */
151        public String getOrganizationReversionObjectCode() {
152            return organizationReversionObjectCode;
153        }
154    
155        /**
156         * Sets the organizationReversionObjectCode attribute.
157         * 
158         * @param organizationReversionObjectCode The organizationReversionObjectCode to set.
159         */
160        public void setOrganizationReversionObjectCode(String organizationReversionObjectCode) {
161            this.organizationReversionObjectCode = organizationReversionObjectCode;
162        }
163    
164    
165        /**
166         * Gets the organizationReversionObject attribute.
167         * 
168         * @return Returns the organizationReversionObject
169         */
170        public ObjectCode getOrganizationReversionObject() {
171            return organizationReversionObject;
172        }
173    
174        /**
175         * Sets the organizationReversionObject attribute.
176         * 
177         * @param organizationReversionObject The organizationReversionObject to set.
178         * @deprecated
179         */
180        public void setOrganizationReversionObject(ObjectCode organizationReversionObject) {
181            this.organizationReversionObject = organizationReversionObject;
182        }
183    
184        /**
185         * Gets the organization attribute.
186         * 
187         * @return Returns the organization
188         */
189        public Organization getOrganization() {
190            return organization;
191        }
192    
193        /**
194         * Sets the organization attribute.
195         * 
196         * @param organization The organization to set.
197         * @deprecated
198         */
199        public void setOrganization(Organization organization) {
200            this.organization = organization;
201        }
202    
203        /**
204         * Gets the chartOfAccounts attribute.
205         * 
206         * @return Returns the chartOfAccounts
207         */
208        public Chart getChartOfAccounts() {
209            return chartOfAccounts;
210        }
211    
212        /**
213         * Sets the chartOfAccounts attribute.
214         * 
215         * @param chartOfAccounts The chartOfAccounts to set.
216         * @deprecated
217         */
218        public void setChartOfAccounts(Chart chartOfAccounts) {
219            this.chartOfAccounts = chartOfAccounts;
220        }
221    
222        /**
223         * Gets the organizationReversionCategory attribute.
224         * 
225         * @return Returns the organizationReversionCategory.
226         */
227        public OrganizationReversionCategory getOrganizationReversionCategory() {
228            return organizationReversionCategory;
229        }
230    
231        /**
232         * Sets the organizationReversionCategory attribute value.
233         * 
234         * @param organizationReversionCategory The organizationReversionCategory to set.
235         */
236        public void setOrganizationReversionCategory(OrganizationReversionCategory organizationReversionCategory) {
237            this.organizationReversionCategory = organizationReversionCategory;
238        }
239    
240        /**
241         * Gets the universityFiscal attribute.
242         * 
243         * @return Returns the universityFiscal.
244         */
245        public SystemOptions getUniversityFiscal() {
246            return universityFiscal;
247        }
248    
249        /**
250         * Sets the universityFiscal attribute value.
251         * 
252         * @param universityFiscal The universityFiscal to set.
253         */
254        public void setUniversityFiscal(SystemOptions universityFiscal) {
255            this.universityFiscal = universityFiscal;
256        }
257        
258        /**
259         * Gets the organizationReversion attribute.
260         * 
261         * @return Returns the organizationReversion.
262         */
263        public OrganizationReversion getOrganizationReversion() {
264            return organizationReversion;
265        }
266    
267        /**
268         * Sets the organizationReversion attribute value.
269         * 
270         * @param organizationReversion The organizationReversion to set.
271         */
272        public void setOrganizationReversion(OrganizationReversion organizationReversion) {
273            this.organizationReversion = organizationReversion;
274        }
275    
276        /**
277         * Gets the active attribute. 
278         * @return Returns the active.
279         */
280        public boolean isActive() {
281            return active;
282        }
283    
284        /**
285         * Sets the active attribute value.
286         * @param active The active to set.
287         */
288        public void setActive(boolean active) {
289            this.active = active;
290        }
291    
292        /**
293         * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
294         */
295        protected LinkedHashMap toStringMapper() {
296            LinkedHashMap m = new LinkedHashMap();
297            return m;
298        }
299    }