1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.coa.businessobject;
17
18 import java.util.LinkedHashMap;
19
20 import org.kuali.ole.sys.businessobject.FiscalYearBasedBusinessObject;
21 import org.kuali.ole.sys.businessobject.SystemOptions;
22 import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
23 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
24 import org.kuali.rice.krad.service.impl.PersistenceStructureServiceImpl;
25
26
27
28
29 public class SubObjectCode extends PersistableBusinessObjectBase implements MutableInactivatable, FiscalYearBasedBusinessObject {
30
31 private static final long serialVersionUID = -5292158248714650271L;
32
33 static {
34 PersistenceStructureServiceImpl.referenceConversionMap.put(SubObjectCode.class, SubObjectCodeCurrent.class);
35 }
36
37
38
39
40 public SubObjectCode() {
41
42 }
43
44
45
46
47
48
49
50
51
52
53 public SubObjectCode(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String financialObjectCode, String financialSubObjectCode) {
54 this.universityFiscalYear = universityFiscalYear;
55 this.chartOfAccountsCode = chartOfAccountsCode;
56 this.accountNumber = accountNumber;
57 this.financialObjectCode = financialObjectCode;
58 this.financialSubObjectCode = financialSubObjectCode;
59 this.active = true;
60 }
61
62 private String chartOfAccountsCode;
63 private String accountNumber;
64 private String financialObjectCode;
65 private String financialSubObjectCode;
66 private String financialSubObjectCodeName;
67 private String financialSubObjectCdshortNm;
68 private boolean active;
69 private Integer universityFiscalYear;
70
71 private Chart chartOfAccounts;
72 private Account account;
73 private ObjectCode financialObject;
74 private SystemOptions universityFiscal;
75
76 public String getFinancialSubObjectCode() {
77 return financialSubObjectCode;
78 }
79
80 public void setFinancialSubObjectCode(String financialSubObjectCode) {
81 this.financialSubObjectCode = financialSubObjectCode;
82 }
83
84
85
86
87
88
89 public String getFinancialObjectCode() {
90 return financialObjectCode;
91 }
92
93
94
95
96
97
98 public void setFinancialObjectCode(String financialObjectCode) {
99 this.financialObjectCode = financialObjectCode;
100 }
101
102
103 public ObjectCode getFinancialObject() {
104 return financialObject;
105 }
106
107
108
109
110 public void setFinancialObject(ObjectCode financialObject) {
111 this.financialObject = financialObject;
112 }
113
114
115
116
117
118
119 public String getFinancialSubObjectCodeName() {
120 return financialSubObjectCodeName;
121 }
122
123
124
125
126
127
128 public void setFinancialSubObjectCodeName(String financialSubObjectCodeName) {
129 this.financialSubObjectCodeName = financialSubObjectCodeName;
130 }
131
132
133
134
135
136
137 public String getFinancialSubObjectCdshortNm() {
138 return financialSubObjectCdshortNm;
139 }
140
141
142
143
144
145
146 public void setFinancialSubObjectCdshortNm(String financialSubObjectCdshortNm) {
147 this.financialSubObjectCdshortNm = financialSubObjectCdshortNm;
148 }
149
150
151
152
153
154
155 public boolean isActive() {
156 return active;
157 }
158
159
160
161
162
163
164 public void setActive(boolean active) {
165 this.active = active;
166 }
167
168
169
170
171
172
173 public SystemOptions getUniversityFiscal() {
174 return universityFiscal;
175 }
176
177
178
179
180
181
182
183 public void setUniversityFiscal(SystemOptions universityFiscal) {
184 this.universityFiscal = universityFiscal;
185 }
186
187
188
189
190
191
192 public Chart getChartOfAccounts() {
193 return chartOfAccounts;
194 }
195
196
197
198
199
200
201
202 public void setChartOfAccounts(Chart chartOfAccounts) {
203 this.chartOfAccounts = chartOfAccounts;
204 }
205
206
207
208
209
210
211 public Account getAccount() {
212 return account;
213 }
214
215
216
217
218
219
220
221 public void setAccount(Account account) {
222 this.account = account;
223 }
224
225 public String getAccountNumber() {
226 return accountNumber;
227 }
228
229 public void setAccountNumber(String accountNumber) {
230 this.accountNumber = accountNumber;
231 }
232
233 public String getChartOfAccountsCode() {
234 return chartOfAccountsCode;
235 }
236
237 public void setChartOfAccountsCode(String chartOfAccountsCode) {
238 this.chartOfAccountsCode = chartOfAccountsCode;
239 }
240
241 public Integer getUniversityFiscalYear() {
242 return universityFiscalYear;
243 }
244
245 public void setUniversityFiscalYear(Integer universityFiscalYear) {
246 this.universityFiscalYear = universityFiscalYear;
247 }
248
249
250
251
252 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
253 LinkedHashMap m = new LinkedHashMap();
254
255 m.put("universityFiscalYear", this.universityFiscalYear);
256 m.put("chartOfAccountsCode", this.chartOfAccountsCode);
257 m.put("accountNumber", this.accountNumber);
258 m.put("financialObjectCode", this.financialObjectCode);
259 m.put("financialSubObjectCode", this.financialSubObjectCode);
260
261 return m;
262 }
263
264 }