View Javadoc

1   package org.kuali.ole.myaccount.renewal.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   * Created with IntelliJ IDEA.
11   * User: ?
12   * Date: 10/26/12
13   * Time: 12:17 PM
14   * To change this template use File | Settings | File Templates.
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      @Override
86      public String getTitle() {
87          return title;
88      }
89      @Override
90      public String getAuthor() {
91          return author;
92      }
93      @Override
94      public String getCallNumber() {
95          return callNumber;
96      }
97      @Override
98      public String getLocation() {
99          return location;
100     }
101     @Override
102     public Date getDueDate() {
103         return dueDate;
104     }
105 
106     public void setOlePatronLoanDocuments(List<? extends OlePatronLoanDocumentContract> olePatronLoanDocuments) {
107         this.olePatronLoanDocuments = olePatronLoanDocuments;
108     }
109 
110     @Override
111     public List<? extends OlePatronLoanDocumentContract> getOlePatronLoanDocuments() {
112         return olePatronLoanDocuments;
113     }
114 }