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 ObjectCode extends PersistableBusinessObjectBase implements Inactivatable {
27
28
29
30
31
32
33 private static org.apache.log4j.Logger LOG = org.apache.log4j.Logger.getLogger(ObjectCode.class);
34
35 private static final long serialVersionUID = -965833141452795485L;
36 private Integer universityFiscalYear;
37 private String chartOfAccountsCode;
38 private String financialObjectCode;
39 private String financialObjectCodeName;
40 private String financialObjectCodeShortName;
41 private boolean active;
42 private String financialObjectLevelCode;
43 private transient Chart chartOfAccounts;
44
45
46
47
48
49 public void setUniversityFiscalYear(Integer i) {
50 this.universityFiscalYear = i;
51 }
52
53
54
55
56
57
58
59 public String getFinancialObjectCode() {
60 return financialObjectCode;
61 }
62
63
64
65
66
67
68 public void setFinancialObjectCode(String financialObjectCode) {
69 this.financialObjectCode = financialObjectCode;
70 }
71
72
73
74
75
76
77 public String getFinancialObjectCodeName() {
78 return financialObjectCodeName;
79 }
80
81
82
83
84
85
86 public void setFinancialObjectCodeName(String financialObjectCodeName) {
87 this.financialObjectCodeName = financialObjectCodeName;
88 }
89
90
91
92
93
94
95 public String getFinancialObjectCodeShortName() {
96 return financialObjectCodeShortName;
97 }
98
99
100
101
102
103
104 public void setFinancialObjectCodeShortName(String financialObjectCodeShortName) {
105 this.financialObjectCodeShortName = financialObjectCodeShortName;
106 }
107
108
109
110
111
112
113 public boolean isFinancialObjectActiveCode() {
114 return active;
115 }
116
117
118
119
120
121 public void setFinancialObjectActiveCode(boolean active) {
122 this.active = active;
123 }
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151 public Chart getChartOfAccounts() {
152 return chartOfAccounts;
153 }
154
155
156
157
158
159
160
161 public void setChartOfAccounts(Chart chartOfAccounts) {
162 this.chartOfAccounts = chartOfAccounts;
163 }
164
165
166
167 public void setChartOfAccountsCode(String string) {
168 this.chartOfAccountsCode = string;
169 }
170
171
172
173
174 public String getChartOfAccountsCode() {
175 return this.chartOfAccountsCode;
176 }
177
178
179
180
181 public Integer getUniversityFiscalYear() {
182 return this.universityFiscalYear;
183 }
184
185
186
187
188 public String getFinancialObjectLevelCode() {
189 return financialObjectLevelCode;
190 }
191
192
193
194
195 public void setFinancialObjectLevelCode(String financialObjectLevelCode) {
196 this.financialObjectLevelCode = financialObjectLevelCode;
197 }
198
199
200
201
202
203 protected LinkedHashMap toStringMapper() {
204
205 LinkedHashMap m = new LinkedHashMap();
206 m.put("chartOfAccountsCode", this.chartOfAccountsCode);
207 m.put("financialObjectCode", this.financialObjectCode);
208
209 return m;
210 }
211
212 public boolean isActive() {
213 return this.active;
214 }
215
216 public void setActive(boolean a) {
217 this.active = a;
218 }
219
220 public void setCode(String code) {
221 this.chartOfAccountsCode = code;
222 }
223
224 public void setName(String name) {
225 this.financialObjectCodeName = name;
226 }
227
228 public String getCode() {
229 return this.financialObjectCode;
230 }
231
232 public String getName() {
233 return this.financialObjectCodeName;
234 }
235
236 }