1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.ole.module.cg.businessobject;
18
19 import java.util.LinkedHashMap;
20
21 import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
22 import org.kuali.rice.core.api.util.type.KualiDecimal;
23 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
24
25
26
27
28
29 public class AwardSubcontractor extends PersistableBusinessObjectBase implements MutableInactivatable {
30
31 private String awardSubcontractorAmendmentNumber;
32 private String awardSubcontractorNumber;
33 private String subcontractorNumber;
34 private Long proposalNumber;
35 private KualiDecimal subcontractorAmount;
36 private String subcontractorContactFirstName;
37 private String subcontractorContactLastName;
38 private String subcontractorAuditHistoryText;
39 private String awardSubcontractorDescription;
40 private boolean active = true;
41
42 private SubContractor subcontractor;
43
44
45
46
47 public AwardSubcontractor() {
48 }
49
50
51
52
53
54
55 public String getAwardSubcontractorAmendmentNumber() {
56 return awardSubcontractorAmendmentNumber;
57 }
58
59
60
61
62
63
64 public void setAwardSubcontractorAmendmentNumber(String awardSubcontractorAmendmentNumber) {
65 this.awardSubcontractorAmendmentNumber = awardSubcontractorAmendmentNumber;
66 }
67
68
69
70
71
72
73
74 public String getAwardSubcontractorNumber() {
75 return awardSubcontractorNumber;
76 }
77
78
79
80
81
82
83 public void setAwardSubcontractorNumber(String awardSubcontractorNumber) {
84 this.awardSubcontractorNumber = awardSubcontractorNumber;
85 }
86
87
88
89
90
91
92
93 public String getSubcontractorNumber() {
94 return subcontractorNumber;
95 }
96
97
98
99
100
101
102 public void setSubcontractorNumber(String subcontractorNumber) {
103 this.subcontractorNumber = subcontractorNumber;
104 }
105
106
107
108
109
110
111
112 public Long getProposalNumber() {
113 return proposalNumber;
114 }
115
116
117
118
119
120
121 public void setProposalNumber(Long proposalNumber) {
122 this.proposalNumber = proposalNumber;
123 }
124
125
126
127
128
129
130
131 public KualiDecimal getSubcontractorAmount() {
132 return subcontractorAmount;
133 }
134
135
136
137
138
139
140 public void setSubcontractorAmount(KualiDecimal subcontractorAmount) {
141 this.subcontractorAmount = subcontractorAmount;
142 }
143
144
145
146
147
148
149
150 public String getSubcontractorContactFirstName() {
151 return subcontractorContactFirstName;
152 }
153
154
155
156
157
158
159 public void setSubcontractorContactFirstName(String subcontractorContactFirstName) {
160 this.subcontractorContactFirstName = subcontractorContactFirstName;
161 }
162
163
164
165
166
167
168
169 public String getSubcontractorContactLastName() {
170 return subcontractorContactLastName;
171 }
172
173
174
175
176
177
178 public void setSubcontractorContactLastName(String subcontractorContactLastName) {
179 this.subcontractorContactLastName = subcontractorContactLastName;
180 }
181
182
183
184
185
186
187
188 public String getSubcontractorAuditHistoryText() {
189 return subcontractorAuditHistoryText;
190 }
191
192
193
194
195
196
197 public void setSubcontractorAuditHistoryText(String subcontractorAuditHistoryText) {
198 this.subcontractorAuditHistoryText = subcontractorAuditHistoryText;
199 }
200
201
202
203
204
205
206 public String getAwardSubcontractorDescription() {
207 return awardSubcontractorDescription;
208 }
209
210
211
212
213
214
215 public void setAwardSubcontractorDescription(String awardSubcontractorDescription) {
216 this.awardSubcontractorDescription = awardSubcontractorDescription;
217 }
218
219
220
221
222
223
224 public SubContractor getSubcontractor() {
225 return subcontractor;
226 }
227
228
229
230
231
232
233
234
235 @Deprecated
236 public void setSubcontractor(SubContractor subcontractor) {
237 this.subcontractor = subcontractor;
238 }
239
240
241
242
243 public void setActive(boolean active) {
244 this.active = active;
245 }
246
247
248
249
250 public boolean isActive() {
251 return active;
252 }
253
254
255
256
257 @SuppressWarnings("unchecked")
258
259 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
260 LinkedHashMap m = new LinkedHashMap();
261 m.put("awardSubcontractorAmendmentNumber", this.awardSubcontractorAmendmentNumber);
262 m.put("awardSubcontractorNumber", this.awardSubcontractorNumber);
263 m.put("subcontractorNumber", this.subcontractorNumber);
264 if (this.proposalNumber != null) {
265 m.put("proposalNumber", this.proposalNumber.toString());
266 }
267 return m;
268 }
269
270 }