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 eResourceName;
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      public String geteResourceName() {
94          return eResourceName;
95      }
96  
97      public void seteResourceName(String eResourceName) {
98          this.eResourceName = eResourceName;
99      }
100 
101     
102 
103 
104 
105 
106     public OleLicenseRequestStatus getOleLicenseRequestStatus() {
107         return oleLicenseRequestStatus;
108     }
109 
110     
111 
112 
113 
114 
115     public void setOleLicenseRequestStatus(OleLicenseRequestStatus oleLicenseRequestStatus) {
116         this.oleLicenseRequestStatus = oleLicenseRequestStatus;
117     }
118 
119     
120 
121 
122 
123 
124     public String getOleLicenseRequestId() {
125         return oleLicenseRequestId;
126     }
127 
128     
129 
130 
131 
132 
133     public void setOleLicenseRequestId(String oleLicenseRequestId) {
134         this.oleLicenseRequestId = oleLicenseRequestId;
135     }
136 
137     
138 
139 
140 
141 
142     public String getLicenseRequestStatusCode() {
143         return licenseRequestStatusCode;
144     }
145 
146     
147 
148 
149 
150 
151     public void setLicenseRequestStatusCode(String licenseRequestStatusCode) {
152         this.licenseRequestStatusCode = licenseRequestStatusCode;
153     }
154 
155     
156 
157 
158 
159 
160     public String getAssignee() {
161         return assignee;
162     }
163 
164     
165 
166 
167 
168 
169     public void setAssignee(String assignee) {
170         this.assignee = assignee;
171     }
172 
173     
174 
175 
176 
177 
178     public String getLocationId() {
179         return locationId;
180     }
181 
182     
183 
184 
185 
186 
187     public void setLocationId(String locationId) {
188         this.locationId = locationId;
189     }
190 
191     
192 
193 
194 
195 
196     public String getLicenseRequestTypeId() {
197         return licenseRequestTypeId;
198     }
199 
200     
201 
202 
203 
204 
205     public void setLicenseRequestTypeId(String licenseRequestTypeId) {
206         this.licenseRequestTypeId = licenseRequestTypeId;
207     }
208 
209     
210 
211 
212 
213 
214     public List<OleEventLogBo> getEventLogs() {
215         return eventLogs;
216     }
217 
218     
219 
220 
221 
222 
223     public void setEventLogs(List<OleEventLogBo> eventLogs) {
224         this.eventLogs = eventLogs;
225     }
226 
227     
228 
229 
230 
231 
232     public String geteResourceDocNumber() {
233         return eResourceDocNumber;
234     }
235 
236 
237     
238 
239 
240 
241 
242     public void seteResourceDocNumber(String eResourceDocNumber) {
243         this.eResourceDocNumber = eResourceDocNumber;
244     }
245 
246     
247 
248 
249 
250 
251     public String getAgreementId() {
252         return agreementId;
253     }
254 
255     
256 
257 
258 
259 
260     public void setAgreementId(String agreementId) {
261         this.agreementId = agreementId;
262     }
263 
264     
265 
266 
267 
268 
269     public String getLicenseRequestWorkflowTypeCode() {
270         return licenseRequestWorkflowTypeCode;
271     }
272 
273     
274 
275 
276 
277 
278     public void setLicenseRequestWorkflowTypeCode(String licenseRequestWorkflowTypeCode) {
279         this.licenseRequestWorkflowTypeCode = licenseRequestWorkflowTypeCode;
280     }
281 
282     
283 
284 
285 
286 
287     public String getAgreementMethod() {
288         return agreementMethod;
289     }
290 
291     
292 
293 
294 
295 
296     public void setAgreementMethod(String agreementMethod) {
297         this.agreementMethod = agreementMethod;
298     }
299 
300     
301 
302 
303 
304 
305     public List<OleAgreementDocumentMetadata> getAgreementDocumentMetadataList() {
306         return agreementDocumentMetadataList;
307     }
308 
309     
310 
311 
312 
313 
314     public void setAgreementDocumentMetadataList(List<OleAgreementDocumentMetadata> agreementDocumentMetadataList) {
315         this.agreementDocumentMetadataList = agreementDocumentMetadataList;
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 }