1 package org.kuali.ole.deliver.bo;
2
3 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
4
5 import java.util.ArrayList;
6 import java.util.Date;
7 import java.util.List;
8
9
10
11
12
13
14
15
16 public class OleRenewalLoanDocument extends PersistableBusinessObjectBase implements OlePatronLoanDocumentContract, OlePatronLoanDocumentsContract {
17
18 private String itemBarcode;
19 private String title;
20 private String author;
21 private String callNumber;
22 private String location;
23 private Date dueDate;
24 private String messageInfo;
25 private boolean itemCheckFlag;
26
27
28 private List<? extends OlePatronLoanDocumentContract> olePatronLoanDocuments;
29
30 public boolean isItemCheckFlag() {
31 return itemCheckFlag;
32 }
33
34 public void setItemCheckFlag(boolean itemCheckFlag) {
35 this.itemCheckFlag = itemCheckFlag;
36 }
37
38 public OleRenewalLoanDocument() {
39 olePatronLoanDocuments = new ArrayList<OlePatronLoanDocumentContract>();
40 }
41
42
43 @Override
44 public String getMessageInfo() {
45 return messageInfo;
46 }
47
48 public void setMessageInfo(String messageInfo) {
49 this.messageInfo = messageInfo;
50 }
51
52 @Override
53 public String getId() {
54 return "";
55 }
56
57 public void setItemBarcode(String itemBarcode) {
58 this.itemBarcode = itemBarcode;
59 }
60
61 public void setTitle(String title) {
62 this.title = title;
63 }
64
65 public void setAuthor(String author) {
66 this.author = author;
67 }
68
69 public void setCallNumber(String callNumber) {
70 this.callNumber = callNumber;
71 }
72
73 public void setLocation(String location) {
74 this.location = location;
75 }
76
77 public void setDueDate(Date dueDate) {
78 this.dueDate = dueDate;
79 }
80
81 @Override
82 public String getItemBarcode() {
83 return itemBarcode;
84 }
85
86 @Override
87 public String getTitle() {
88 return title;
89 }
90
91 @Override
92 public String getAuthor() {
93 return author;
94 }
95
96 @Override
97 public String getCallNumber() {
98 return callNumber;
99 }
100
101 @Override
102 public String getLocation() {
103 return location;
104 }
105
106 @Override
107 public Date getDueDate() {
108 return dueDate;
109 }
110
111 public void setOlePatronLoanDocuments(List<? extends OlePatronLoanDocumentContract> olePatronLoanDocuments) {
112 this.olePatronLoanDocuments = olePatronLoanDocuments;
113 }
114
115 @Override
116 public List<? extends OlePatronLoanDocumentContract> getOlePatronLoanDocuments() {
117 return olePatronLoanDocuments;
118 }
119 }