1 /*
2 * Copyright 2005-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 package org.kuali.ole.coa.businessobject;
17
18 import java.util.LinkedHashMap;
19
20 import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
21 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
22
23 /**
24 *
25 */
26 public class ObjectConsolidation extends PersistableBusinessObjectBase implements MutableInactivatable {
27
28 /**
29 * Default no-arg constructor.
30 */
31 public ObjectConsolidation() {
32
33 }
34
35 private String chartOfAccountsCode;
36 private String finConsolidationObjectCode;
37 private String finConsolidationObjectName;
38 private String finConsolidationObjShortName;
39 private boolean active;
40 private String financialReportingSortCode;
41
42 private Chart chartOfAccounts;
43
44 /**
45 * Gets the chartOfAccountsCode attribute.
46 *
47 * @return Returns the chartOfAccountsCode.
48 */
49 public String getChartOfAccountsCode() {
50 return chartOfAccountsCode;
51 }
52
53 /**
54 * Sets the chartOfAccountsCode attribute value.
55 *
56 * @param chartOfAccountsCode The chartOfAccountsCode to set.
57 */
58 public void setChartOfAccountsCode(String chartOfAccountsCode) {
59 this.chartOfAccountsCode = chartOfAccountsCode;
60 }
61
62
63 /**
64 * Gets the finConsolidationObjectCode attribute.
65 *
66 * @return Returns the finConsolidationObjectCode.
67 */
68 public String getFinConsolidationObjectCode() {
69 return finConsolidationObjectCode;
70 }
71
72 /**
73 * Sets the finConsolidationObjectCode attribute value.
74 *
75 * @param finConsolidationObjectCode The finConsolidationObjectCode to set.
76 */
77 public void setFinConsolidationObjectCode(String finConsolidationObjectCode) {
78 this.finConsolidationObjectCode = finConsolidationObjectCode;
79 }
80
81 /**
82 * Gets the finConsolidationObjectName attribute.
83 *
84 * @return Returns the finConsolidationObjectName
85 */
86 public String getFinConsolidationObjectName() {
87 return finConsolidationObjectName;
88 }
89
90 /**
91 * Sets the finConsolidationObjectName attribute.
92 *
93 * @param finConsolidationObjectName The finConsolidationObjectName to set.
94 */
95 public void setFinConsolidationObjectName(String finConsolidationObjectName) {
96 this.finConsolidationObjectName = finConsolidationObjectName;
97 }
98
99 /**
100 * Gets the finConsolidationObjShortName attribute.
101 *
102 * @return Returns the finConsolidationObjShortName
103 */
104 public String getFinConsolidationObjShortName() {
105 return finConsolidationObjShortName;
106 }
107
108 /**
109 * Sets the finConsolidationObjShortName attribute.
110 *
111 * @param finConsolidationObjShortName The finConsolidationObjShortName to set.
112 */
113 public void setFinConsolidationObjShortName(String finConsolidationObjShortName) {
114 this.finConsolidationObjShortName = finConsolidationObjShortName;
115 }
116
117 /**
118 * Gets the active attribute.
119 *
120 * @return Returns the active
121 */
122 public boolean isActive() {
123 return active;
124 }
125
126 /**
127 * Sets the active attribute.
128 *
129 * @param active The active to set.
130 */
131 public void setActive(boolean active) {
132 this.active = active;
133 }
134
135 /**
136 * Gets the financialReportingSortCode attribute.
137 *
138 * @return Returns the financialReportingSortCode
139 */
140 public String getFinancialReportingSortCode() {
141 return financialReportingSortCode;
142 }
143
144 /**
145 * Sets the financialReportingSortCode attribute.
146 *
147 * @param financialReportingSortCode The financialReportingSortCode to set.
148 */
149 public void setFinancialReportingSortCode(String financialReportingSortCode) {
150 this.financialReportingSortCode = financialReportingSortCode;
151 }
152
153 /**
154 * Gets the chartOfAccounts attribute.
155 *
156 * @return Returns the chartOfAccounts
157 */
158 public Chart getChartOfAccounts() {
159 return chartOfAccounts;
160 }
161
162 /**
163 * Sets the chartOfAccounts attribute.
164 *
165 * @param chartOfAccounts The chartOfAccounts to set.
166 * @deprecated
167 */
168 public void setChartOfAccounts(Chart chartOfAccounts) {
169 this.chartOfAccounts = chartOfAccounts;
170 }
171
172
173 /**
174 * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
175 */
176 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
177 LinkedHashMap m = new LinkedHashMap();
178
179 m.put("chartOfAccountsCode", this.chartOfAccountsCode);
180 m.put("finConsolidationObjectCode", this.finConsolidationObjectCode);
181
182 return m;
183 }
184
185 }