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.module.bc.businessobject;
018    
019    import java.util.LinkedHashMap;
020    
021    import org.kuali.kfs.coa.businessobject.Chart;
022    import org.kuali.kfs.coa.businessobject.Organization;
023    import org.kuali.kfs.coa.businessobject.ResponsibilityCenter;
024    import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
025    
026    /**
027     * 
028     */
029    public class BudgetConstructionOrganizationReports extends PersistableBusinessObjectBase {
030    
031        private String chartOfAccountsCode;
032        private String organizationCode;
033        private String reportsToChartOfAccountsCode;
034        private String reportsToOrganizationCode;
035        private String responsibilityCenterCode;
036    
037        private String selectionKeyCode;
038    
039        private Chart chartOfAccounts;
040        private Organization organization;
041        private Chart reportsToChartOfAccounts;
042        private Organization reportsToOrganization;
043        private ResponsibilityCenter responsibilityCenter;
044    
045        /**
046         * Default constructor.
047         */
048        public BudgetConstructionOrganizationReports() {
049    
050        }
051    
052        /**
053         * Gets the chartOfAccountsCode attribute.
054         * 
055         * @return Returns the chartOfAccountsCode
056         */
057        public String getChartOfAccountsCode() {
058            return chartOfAccountsCode;
059        }
060    
061        /**
062         * Sets the chartOfAccountsCode attribute.
063         * 
064         * @param chartOfAccountsCode The chartOfAccountsCode to set.
065         */
066        public void setChartOfAccountsCode(String chartOfAccountsCode) {
067            this.chartOfAccountsCode = chartOfAccountsCode;
068        }
069    
070    
071        /**
072         * Gets the organizationCode attribute.
073         * 
074         * @return Returns the organizationCode
075         */
076        public String getOrganizationCode() {
077            return organizationCode;
078        }
079    
080        /**
081         * Sets the organizationCode attribute.
082         * 
083         * @param organizationCode The organizationCode to set.
084         */
085        public void setOrganizationCode(String organizationCode) {
086            this.organizationCode = organizationCode;
087        }
088    
089    
090        /**
091         * Gets the reportsToChartOfAccountsCode attribute.
092         * 
093         * @return Returns the reportsToChartOfAccountsCode
094         */
095        public String getReportsToChartOfAccountsCode() {
096            return reportsToChartOfAccountsCode;
097        }
098    
099        /**
100         * Sets the reportsToChartOfAccountsCode attribute.
101         * 
102         * @param reportsToChartOfAccountsCode The reportsToChartOfAccountsCode to set.
103         */
104        public void setReportsToChartOfAccountsCode(String reportsToChartOfAccountsCode) {
105            this.reportsToChartOfAccountsCode = reportsToChartOfAccountsCode;
106        }
107    
108    
109        /**
110         * Gets the reportsToOrganizationCode attribute.
111         * 
112         * @return Returns the reportsToOrganizationCode
113         */
114        public String getReportsToOrganizationCode() {
115            return reportsToOrganizationCode;
116        }
117    
118        /**
119         * Sets the reportsToOrganizationCode attribute.
120         * 
121         * @param reportsToOrganizationCode The reportsToOrganizationCode to set.
122         */
123        public void setReportsToOrganizationCode(String reportsToOrganizationCode) {
124            this.reportsToOrganizationCode = reportsToOrganizationCode;
125        }
126    
127    
128        /**
129         * Gets the responsibilityCenterCode attribute.
130         * 
131         * @return Returns the responsibilityCenterCode
132         */
133        public String getResponsibilityCenterCode() {
134            return responsibilityCenterCode;
135        }
136    
137        /**
138         * Sets the responsibilityCenterCode attribute.
139         * 
140         * @param responsibilityCenterCode The responsibilityCenterCode to set.
141         */
142        public void setResponsibilityCenterCode(String responsibilityCenterCode) {
143            this.responsibilityCenterCode = responsibilityCenterCode;
144        }
145    
146    
147        /**
148         * Gets the chartOfAccounts attribute.
149         * 
150         * @return Returns the chartOfAccounts
151         */
152        public Chart getChartOfAccounts() {
153            return chartOfAccounts;
154        }
155    
156        /**
157         * Sets the chartOfAccounts attribute.
158         * 
159         * @param chartOfAccounts The chartOfAccounts to set.
160         * @deprecated
161         */
162        public void setChartOfAccounts(Chart chartOfAccounts) {
163            this.chartOfAccounts = chartOfAccounts;
164        }
165    
166        /**
167         * Gets the organization attribute.
168         * 
169         * @return Returns the organization
170         */
171        public Organization getOrganization() {
172            return organization;
173        }
174    
175        /**
176         * Sets the organization attribute.
177         * 
178         * @param organization The organization to set.
179         * @deprecated
180         */
181        public void setOrganization(Organization organization) {
182            this.organization = organization;
183        }
184    
185        /**
186         * Gets the reportsToChartOfAccounts attribute.
187         * 
188         * @return Returns the reportsToChartOfAccounts
189         */
190        public Chart getReportsToChartOfAccounts() {
191            return reportsToChartOfAccounts;
192        }
193    
194        /**
195         * Sets the reportsToChartOfAccounts attribute.
196         * 
197         * @param reportsToChartOfAccounts The reportsToChartOfAccounts to set.
198         * @deprecated
199         */
200        public void setReportsToChartOfAccounts(Chart reportsToChartOfAccounts) {
201            this.reportsToChartOfAccounts = reportsToChartOfAccounts;
202        }
203    
204        /**
205         * Gets the reportsToOrganization attribute.
206         * 
207         * @return Returns the reportsToOrganization
208         */
209        public Organization getReportsToOrganization() {
210            return reportsToOrganization;
211        }
212    
213        /**
214         * Sets the reportsToOrganization attribute.
215         * 
216         * @param reportsToOrganization The reportsToOrganization to set.
217         * @deprecated
218         */
219        public void setReportsToOrganization(Organization reportsToOrganization) {
220            this.reportsToOrganization = reportsToOrganization;
221        }
222    
223        /**
224         * Gets the responsibilityCenter attribute.
225         * 
226         * @return Returns the responsibilityCenter.
227         */
228        public ResponsibilityCenter getResponsibilityCenter() {
229            return responsibilityCenter;
230        }
231    
232        /**
233         * Sets the responsibilityCenter attribute value.
234         * 
235         * @param responsibilityCenter The responsibilityCenter to set.
236         * @deprecated
237         */
238        public void setResponsibilityCenter(ResponsibilityCenter responsibilityCenter) {
239            this.responsibilityCenter = responsibilityCenter;
240        }
241    
242        /**
243         * Gets the selectionKeyCode attribute.
244         * 
245         * @return Returns the selectionKeyCode.
246         */
247        public String getSelectionKeyCode() {
248            return selectionKeyCode;
249        }
250    
251        /**
252         * Sets the selectionKeyCode attribute value.
253         * 
254         * @param selectionKeyCode The selectionKeyCode to set.
255         */
256        public void setSelectionKeyCode(String selectionKeyCode) {
257            this.selectionKeyCode = selectionKeyCode;
258        }
259    
260        /**
261         * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
262         */
263        protected LinkedHashMap toStringMapper() {
264            LinkedHashMap m = new LinkedHashMap();
265            m.put("chartOfAccountsCode", this.chartOfAccountsCode);
266            m.put("organizationCode", this.organizationCode);
267            return m;
268        }
269    }