1 package org.kuali.ole.select.bo;
2
3 import org.kuali.rice.kew.routeheader.DocumentRouteHeaderValue;
4 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
5
6 import java.sql.Timestamp;
7 import java.util.ArrayList;
8 import java.util.List;
9
10
11
12
13 public class OleLicenseRequestBo extends PersistableBusinessObjectBase {
14
15 private String oleLicenseRequestId;
16 private String licenseRequestStatusCode;
17 private String assignee;
18 private String locationId;
19 private String licenseRequestTypeId;
20 private String eResourceDocNumber;
21 private String agreementId;
22 private String licenseRequestWorkflowTypeCode;
23 private String documentNumber;
24
25 private String agreementMethod;
26 private List<OleAgreementDocumentMetadata> agreementDocumentMetadataList = new ArrayList<OleAgreementDocumentMetadata>();
27 private List<OleEventLogBo> eventLogs = new ArrayList<OleEventLogBo>();
28 private List<OleLicenseRequestItemTitle> oleLicenseRequestItemTitles = new ArrayList<OleLicenseRequestItemTitle>();
29 private OleLicenseRequestStatus oleLicenseRequestStatus;
30 private OleLicenseRequestLocation oleLicenseRequestLocation = new OleLicenseRequestLocation();
31 private OleLicenseRequestWorkflowType oleLicenseRequestWorkflowType = new OleLicenseRequestWorkflowType();
32
33 private String bibliographicTitle;
34 private String linkedAgreement;
35 private String agreementDate;
36 private String agreementUser;
37 private String agreementStatus;
38 private String agreementType;
39 private String agreementMd;
40 private OleLicenseRequestType oleLicenseRequestType = new OleLicenseRequestType();
41 private Timestamp createdDateFrom;
42 private Timestamp createdDateTo;
43 private Timestamp createdDate;
44
45 private Timestamp lastModifiedDateFrom;
46 private Timestamp lastModifiedDateTo;
47 private boolean lastModifiedDateSearchType;
48
49 private String licenseDocumentNumber;
50 private DocumentRouteHeaderValue documentRouteHeaderValue = new DocumentRouteHeaderValue();
51
52 private OleAgreementMethod oleAgreementMethod = new OleAgreementMethod();
53 private String agreementMethodId;
54
55
56 public String getAgreementMethodId() {
57 return agreementMethodId;
58 }
59
60 public void setAgreementMethodId(String agreementMethodId) {
61 this.agreementMethodId = agreementMethodId;
62 }
63
64 public OleAgreementMethod getOleAgreementMethod() {
65 return oleAgreementMethod;
66 }
67
68 public void setOleAgreementMethod(OleAgreementMethod oleAgreementMethod) {
69 this.oleAgreementMethod = oleAgreementMethod;
70 }
71
72 public void setOleLicenseRequestType(OleLicenseRequestType oleLicenseRequestType) {
73 this.oleLicenseRequestType = oleLicenseRequestType;
74 }
75
76 public OleLicenseRequestType getOleLicenseRequestType() {
77
78 return oleLicenseRequestType;
79 }
80
81 private boolean present;
82
83
84
85
86 public OleLicenseRequestBo() {
87
88
89
90
91 }
92
93
94
95
96
97
98 public OleLicenseRequestStatus getOleLicenseRequestStatus() {
99 return oleLicenseRequestStatus;
100 }
101
102
103
104
105
106
107 public void setOleLicenseRequestStatus(OleLicenseRequestStatus oleLicenseRequestStatus) {
108 this.oleLicenseRequestStatus = oleLicenseRequestStatus;
109 }
110
111
112
113
114
115
116 public String getOleLicenseRequestId() {
117 return oleLicenseRequestId;
118 }
119
120
121
122
123
124
125 public void setOleLicenseRequestId(String oleLicenseRequestId) {
126 this.oleLicenseRequestId = oleLicenseRequestId;
127 }
128
129
130
131
132
133
134 public String getLicenseRequestStatusCode() {
135 return licenseRequestStatusCode;
136 }
137
138
139
140
141
142
143 public void setLicenseRequestStatusCode(String licenseRequestStatusCode) {
144 this.licenseRequestStatusCode = licenseRequestStatusCode;
145 }
146
147
148
149
150
151
152 public String getAssignee() {
153 return assignee;
154 }
155
156
157
158
159
160
161 public void setAssignee(String assignee) {
162 this.assignee = assignee;
163 }
164
165
166
167
168
169
170 public String getLocationId() {
171 return locationId;
172 }
173
174
175
176
177
178
179 public void setLocationId(String locationId) {
180 this.locationId = locationId;
181 }
182
183
184
185
186
187
188 public String getLicenseRequestTypeId() {
189 return licenseRequestTypeId;
190 }
191
192
193
194
195
196
197 public void setLicenseRequestTypeId(String licenseRequestTypeId) {
198 this.licenseRequestTypeId = licenseRequestTypeId;
199 }
200
201
202
203
204
205
206 public List<OleEventLogBo> getEventLogs() {
207 return eventLogs;
208 }
209
210
211
212
213
214
215 public void setEventLogs(List<OleEventLogBo> eventLogs) {
216 this.eventLogs = eventLogs;
217 }
218
219
220
221
222
223
224 public String geteResourceDocNumber() {
225 return eResourceDocNumber;
226 }
227
228
229
230
231
232
233
234 public void seteResourceDocNumber(String eResourceDocNumber) {
235 this.eResourceDocNumber = eResourceDocNumber;
236 }
237
238
239
240
241
242
243 public String getAgreementId() {
244 return agreementId;
245 }
246
247
248
249
250
251
252 public void setAgreementId(String agreementId) {
253 this.agreementId = agreementId;
254 }
255
256
257
258
259
260
261 public String getLicenseRequestWorkflowTypeCode() {
262 return licenseRequestWorkflowTypeCode;
263 }
264
265
266
267
268
269
270 public void setLicenseRequestWorkflowTypeCode(String licenseRequestWorkflowTypeCode) {
271 this.licenseRequestWorkflowTypeCode = licenseRequestWorkflowTypeCode;
272 }
273
274
275
276
277
278
279 public String getAgreementMethod() {
280 return agreementMethod;
281 }
282
283
284
285
286
287
288 public void setAgreementMethod(String agreementMethod) {
289 this.agreementMethod = agreementMethod;
290 }
291
292
293
294
295
296
297 public List<OleAgreementDocumentMetadata> getAgreementDocumentMetadataList() {
298 return agreementDocumentMetadataList;
299 }
300
301
302
303
304
305
306 public void setAgreementDocumentMetadataList(List<OleAgreementDocumentMetadata> agreementDocumentMetadataList) {
307 this.agreementDocumentMetadataList = agreementDocumentMetadataList;
308 }
309
310 public String getBibliographicTitle() {
311 return bibliographicTitle;
312 }
313
314 public void setBibliographicTitle(String bibliographicTitle) {
315 this.bibliographicTitle = bibliographicTitle;
316 }
317
318 public String getDocumentNumber() {
319 return documentNumber;
320 }
321
322 public void setDocumentNumber(String documentNumber) {
323 this.documentNumber = documentNumber;
324 }
325
326 public OleLicenseRequestLocation getOleLicenseRequestLocation() {
327 return oleLicenseRequestLocation;
328 }
329
330 public void setOleLicenseRequestLocation(OleLicenseRequestLocation oleLicenseRequestLocation) {
331 this.oleLicenseRequestLocation = oleLicenseRequestLocation;
332 }
333
334 public OleLicenseRequestWorkflowType getOleLicenseRequestWorkflowType() {
335 return oleLicenseRequestWorkflowType;
336 }
337
338 public void setOleLicenseRequestWorkflowType(OleLicenseRequestWorkflowType oleLicenseRequestWorkflowType) {
339 this.oleLicenseRequestWorkflowType = oleLicenseRequestWorkflowType;
340 }
341
342 public String getLinkedAgreement() {
343 return linkedAgreement;
344 }
345
346 public void setLinkedAgreement(String linkedAgreement) {
347 this.linkedAgreement = linkedAgreement;
348 }
349
350 public String getAgreementDate() {
351 return agreementDate;
352 }
353
354 public void setAgreementDate(String agreementDate) {
355 this.agreementDate = agreementDate;
356 }
357
358 public String getAgreementUser() {
359 return agreementUser;
360 }
361
362 public void setAgreementUser(String agreementUser) {
363 this.agreementUser = agreementUser;
364 }
365
366 public String getAgreementStatus() {
367 return agreementStatus;
368 }
369
370 public void setAgreementStatus(String agreementStatus) {
371 this.agreementStatus = agreementStatus;
372 }
373
374 public String getAgreementType() {
375 return agreementType;
376 }
377
378 public void setAgreementType(String agreementType) {
379 this.agreementType = agreementType;
380 }
381
382 public String getAgreementMd() {
383 return agreementMd;
384 }
385
386 public void setAgreementMd(String agreementMd) {
387 this.agreementMd = agreementMd;
388 }
389
390 public boolean isPresent() {
391 return (this.agreementDate != null || this.agreementUser != null || this.agreementStatus != null ||
392 this.agreementType != null || this.agreementMd != null || licenseRequestStatusCode != null) ? true : false;
393 }
394
395 public List<OleLicenseRequestItemTitle> getOleLicenseRequestItemTitles() {
396 return oleLicenseRequestItemTitles;
397 }
398
399 public void setOleLicenseRequestItemTitles(List<OleLicenseRequestItemTitle> oleLicenseRequestItemTitles) {
400 this.oleLicenseRequestItemTitles = oleLicenseRequestItemTitles;
401 }
402
403 public Timestamp getCreatedDate() {
404 return createdDate;
405 }
406
407 public void setCreatedDate(Timestamp createdDate) {
408 this.createdDate = createdDate;
409 }
410
411 public Timestamp getCreatedDateFrom() {
412 return createdDateFrom;
413 }
414
415 public void setCreatedDateFrom(Timestamp createdDateFrom) {
416 this.createdDateFrom = createdDateFrom;
417 }
418
419 public Timestamp getCreatedDateTo() {
420 return createdDateTo;
421 }
422
423 public void setCreatedDateTo(Timestamp createdDateTo) {
424 this.createdDateTo = createdDateTo;
425 }
426
427
428
429
430
431
432 public Timestamp getLastModifiedDateFrom() {
433 return lastModifiedDateFrom;
434 }
435
436
437
438
439
440
441 public void setLastModifiedDateFrom(Timestamp lastModifiedDateFrom) {
442 this.lastModifiedDateFrom = lastModifiedDateFrom;
443 }
444
445
446
447
448
449
450 public Timestamp getLastModifiedDateTo() {
451 return lastModifiedDateTo;
452 }
453
454
455
456
457
458
459 public void setLastModifiedDateTo(Timestamp lastModifiedDateTo) {
460 this.lastModifiedDateTo = lastModifiedDateTo;
461 }
462
463
464
465
466
467
468 public boolean isLastModifiedDateSearchType() {
469 return lastModifiedDateSearchType;
470 }
471
472
473
474
475
476
477 public void setLastModifiedDateSearchType(boolean lastModifiedDateSearchType) {
478 this.lastModifiedDateSearchType = lastModifiedDateSearchType;
479 }
480
481
482 public String getLicenseDocumentNumber() {
483 return licenseDocumentNumber;
484 }
485
486 public void setLicenseDocumentNumber(String licenseDocumentNumber) {
487 this.licenseDocumentNumber = licenseDocumentNumber;
488 }
489
490 public DocumentRouteHeaderValue getDocumentRouteHeaderValue() {
491 return documentRouteHeaderValue;
492 }
493
494 public void setDocumentRouteHeaderValue(DocumentRouteHeaderValue documentRouteHeaderValue) {
495 this.documentRouteHeaderValue = documentRouteHeaderValue;
496 }
497 }