View Javadoc
1   package org.kuali.ole.deliver.form;
2   
3   import org.kuali.ole.deliver.bo.OlePatronDocument;
4   import org.kuali.ole.deliver.bo.OleRenewalLoanDocument;
5   import org.kuali.rice.krad.web.form.UifFormBase;
6   
7   import java.util.ArrayList;
8   import java.util.List;
9   
10  /**
11   * The OleLoanForm is the form class that defines all the loan fields required for a loan processing using getters and setters
12   * and is involved in passing the data to the UI layer
13   */
14  public class OleMyAccountForm extends UifFormBase {
15  
16      private String patronBarcode;
17      private String patronName;
18      private String patronId;
19      private String patronPassword;
20      private String borrowerType;
21      private String borrowerTypeId;
22      private String information;
23      private String item;
24  
25      private String preferredAddress;
26      private String email;
27      private String phoneNumber;
28      private List<OleRenewalLoanDocument> existingLoanList;
29      private boolean validPatronFlag = false;
30  
31      // Patron details
32      private OlePatronDocument olePatronDocument;
33      private String message;
34      private String barcode;
35      private String myAccProxyFirstName;
36      private String myAccProxyLastName;
37      private String myAccProxyBarcode;
38      private boolean showReturnMyAccount;
39  
40      public String getMyAccProxyFirstName() {
41          return myAccProxyFirstName;
42      }
43  
44      public void setMyAccProxyFirstName(String myAccProxyFirstName) {
45          this.myAccProxyFirstName = myAccProxyFirstName;
46      }
47  
48      public String getMyAccProxyLastName() {
49          return myAccProxyLastName;
50      }
51  
52      public void setMyAccProxyLastName(String myAccProxyLastName) {
53          this.myAccProxyLastName = myAccProxyLastName;
54      }
55  
56      public String getMyAccProxyBarcode() {
57          return myAccProxyBarcode;
58      }
59  
60      public void setMyAccProxyBarcode(String myAccProxyBarcode) {
61          this.myAccProxyBarcode = myAccProxyBarcode;
62      }
63  
64      public String getMessage() {
65          return message;
66      }
67  
68      public void setMessage(String message) {
69          this.message = message;
70      }
71  
72      public boolean isShowReturnMyAccount() {
73          return showReturnMyAccount;
74      }
75  
76      public void setShowReturnMyAccount(boolean showReturnMyAccount) {
77          this.showReturnMyAccount = showReturnMyAccount;
78      }
79  
80      public String getBarcode() {
81          return barcode;
82      }
83  
84      public void setBarcode(String barcode) {
85          this.barcode = barcode;
86      }
87  
88      public OlePatronDocument getOlePatronDocument() {
89          return olePatronDocument;
90      }
91  
92      public void setOlePatronDocument(OlePatronDocument olePatronDocument) {
93          this.olePatronDocument = olePatronDocument;
94      }
95  
96      public boolean isValidPatronFlag() {
97          return validPatronFlag;
98      }
99  
100     public void setValidPatronFlag(boolean validPatronFlag) {
101         this.validPatronFlag = validPatronFlag;
102     }
103 
104     public OleMyAccountForm() {
105 
106         existingLoanList = new ArrayList<OleRenewalLoanDocument>();
107     }
108 
109 
110     public String getPatronPassword() {
111         return patronPassword;
112     }
113 
114     public void setPatronPassword(String patronPassword) {
115         this.patronPassword = patronPassword;
116     }
117 
118     public String getItem() {
119         return item;
120     }
121 
122     public void setItem(String item) {
123         this.item = item;
124     }
125 
126     public String getInformation() {
127         return information;
128     }
129 
130     public void setInformation(String information) {
131         this.information = information;
132     }
133 
134     public String getPreferredAddress() {
135         return preferredAddress;
136     }
137 
138     public void setPreferredAddress(String preferredAddress) {
139         this.preferredAddress = preferredAddress;
140     }
141 
142     public String getEmail() {
143         return email;
144     }
145 
146     public void setEmail(String email) {
147         this.email = email;
148     }
149 
150     public String getPhoneNumber() {
151         return phoneNumber;
152     }
153 
154     public void setPhoneNumber(String phoneNumber) {
155         this.phoneNumber = phoneNumber;
156     }
157 
158     public String getBorrowerTypeId() {
159         return borrowerTypeId;
160     }
161 
162     public void setBorrowerTypeId(String borrowerTypeId) {
163         this.borrowerTypeId = borrowerTypeId;
164     }
165 
166     public String getPatronId() {
167         return patronId;
168     }
169 
170     public void setPatronId(String patronId) {
171         this.patronId = patronId;
172     }
173 
174     public String getPatronName() {
175         return patronName;
176     }
177 
178     public void setPatronName(String patronName) {
179         this.patronName = patronName;
180     }
181 
182     public String getBorrowerType() {
183         return borrowerType;
184     }
185 
186     public void setBorrowerType(String borrowerType) {
187         this.borrowerType = borrowerType;
188     }
189 
190     public String getPatronBarcode() {
191         return patronBarcode;
192     }
193 
194     public void setPatronBarcode(String patronBarcode) {
195         this.patronBarcode = patronBarcode;
196     }
197 
198     public List<OleRenewalLoanDocument> getExistingLoanList() {
199         return existingLoanList;
200     }
201 
202     public void setExistingLoanList(List<OleRenewalLoanDocument> existingLoanList) {
203         this.existingLoanList = existingLoanList;
204     }
205 }