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.rice.core.api.mo.common.active.MutableInactivatable;
21 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
22
23 public class BasicAccountingCategory extends PersistableBusinessObjectBase implements MutableInactivatable {
24
25 private String code;
26 private String description;
27 private String shortName;
28 private String sortCode;
29 private boolean active;
30
31
32
33
34 public BasicAccountingCategory() {
35
36 }
37
38
39
40
41
42
43 public String getCode() {
44 return code;
45 }
46
47
48
49
50
51
52 public void setCode(String basicAccountingCategoryCode) {
53 this.code = basicAccountingCategoryCode;
54 }
55
56
57
58
59
60
61
62 public String getDescription() {
63 return description;
64 }
65
66
67
68
69
70
71 public void setDescription(String accountCategoryDescription) {
72 this.description = accountCategoryDescription;
73 }
74
75
76
77
78
79
80
81 public String getShortName() {
82 return shortName;
83 }
84
85
86
87
88
89
90 public void setShortName(String basicAccountingCategoryShortName) {
91 this.shortName = basicAccountingCategoryShortName;
92 }
93
94
95
96
97
98
99
100 public String getSortCode() {
101 return sortCode;
102 }
103
104
105
106
107
108
109 public void setSortCode(String financialReportingSortCode) {
110 this.sortCode = financialReportingSortCode;
111 }
112
113
114
115
116
117
118 public boolean isActive() {
119 return active;
120 }
121
122
123
124
125
126
127 public void setActive(boolean active) {
128 this.active = active;
129 }
130
131
132
133
134 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
135 LinkedHashMap m = new LinkedHashMap();
136 m.put("accountCategoryCode", this.code);
137 return m;
138 }
139
140
141
142
143
144
145 public String getCodeAndDescription() {
146 StringBuilder codeAndDescription = new StringBuilder();
147 codeAndDescription.append(this.getCode());
148 codeAndDescription.append(" - ");
149 codeAndDescription.append(this.getDescription());
150 return codeAndDescription.toString();
151 }
152 }