View Javadoc
1   package org.kuali.ole.select.businessobject;
2   
3   import org.kuali.ole.deliver.bo.OleBorrowerType;
4   import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
5   import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
6   
7   import java.util.LinkedHashMap;
8   
9   /**
10   * Created with IntelliJ IDEA.
11   * User: syedk
12   * Date: 8/29/13
13   * Time: 6:29 PM
14   * To change this template use File | Settings | File Templates.
15   */
16  public class OLERequestorPatronDocument extends PersistableBusinessObjectBase implements MutableInactivatable {
17  
18      private String olePatronId;
19      private String barcode;
20      private String firstName;
21      private String lastName;
22      private String borrowerType;
23      private boolean activeIndicator;
24      private String name;
25      private OleBorrowerType oleBorrowerType;
26      private String requestorPatronId;
27  
28      /**
29       * Gets the olePatronId attribute.
30       *
31       * @return Returns the olePatronId.
32       */
33      public String getOlePatronId() {
34          return olePatronId;
35      }
36  
37      /**
38       * Sets the olePatronId attribute value.
39       *
40       * @param olePatronId The olePatronId to set.
41       */
42      public void setOlePatronId(String olePatronId) {
43          this.olePatronId = olePatronId;
44      }
45  
46      /**
47       * Gets the barcode attribute.
48       *
49       * @return Returns the barcode.
50       */
51      public String getBarcode() {
52          return barcode;
53      }
54  
55      /**
56       * Sets the barcode attribute value.
57       *
58       * @param barcode The barcode to set.
59       */
60      public void setBarcode(String barcode) {
61          this.barcode = barcode;
62      }
63  
64  
65      /**
66       * Gets the firstName attribute.
67       *
68       * @return Returns the firstName.
69       */
70      public String getFirstName() {
71          return firstName;
72      }
73  
74  
75      /**
76       * Sets the firstName attribute value.
77       *
78       * @param firstName The firstName to set.
79       */
80      public void setFirstName(String firstName) {
81          this.firstName = firstName;
82      }
83  
84  
85      /**
86       * Gets the lastName attribute.
87       *
88       * @return Returns the lastName.
89       */
90      public String getLastName() {
91          return lastName;
92      }
93  
94  
95      /**
96       * Sets the lastName attribute value.
97       *
98       * @param lastName The lastName to set.
99       */
100     public void setLastName(String lastName) {
101         this.lastName = lastName;
102     }
103 
104     /**
105      * Gets the borrowerType attribute.
106      *
107      * @return Returns the borrowerType.
108      */
109     public String getBorrowerType() {
110         return borrowerType;
111     }
112 
113     /**
114      * Sets the borrowerType attribute value.
115      *
116      * @param borrowerType The borrowerType to set.
117      */
118     public void setBorrowerType(String borrowerType) {
119         this.borrowerType = borrowerType;
120     }
121 
122     /**
123      * Gets the activeIndicator attribute.
124      *
125      * @return Returns the activeIndicator.
126      */
127     public boolean isActiveIndicator() {
128         return activeIndicator;
129     }
130 
131     /**
132      * Sets the activeIndicator attribute value.
133      *
134      * @param activeIndicator The activeIndicator to set.
135      */
136     public void setActiveIndicator(boolean activeIndicator) {
137         this.activeIndicator = activeIndicator;
138     }
139 
140     protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
141         LinkedHashMap toStringMap = new LinkedHashMap();
142         toStringMap.put("olePatronId", olePatronId);
143         return toStringMap;
144     }
145 
146     @Override
147     public boolean isActive() {
148         // TODO Auto-generated method stub
149         return false;
150     }
151 
152     @Override
153     public void setActive(boolean active) {
154         // TODO Auto-generated method stub
155 
156     }
157 
158     public String getName() {
159         return name;
160     }
161 
162     public void setName(String name) {
163         this.name = name;
164     }
165 
166     public OleBorrowerType getOleBorrowerType() {
167         return oleBorrowerType;
168     }
169 
170     public void setOleBorrowerType(OleBorrowerType oleBorrowerType) {
171         this.oleBorrowerType = oleBorrowerType;
172     }
173 
174     public String getRequestorPatronId() {
175         return requestorPatronId;
176     }
177 
178     public void setRequestorPatronId(String requestorPatronId) {
179         this.requestorPatronId = requestorPatronId;
180     }
181 }