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