View Javadoc

1   package org.kuali.ole.ingest.pojo;
2   
3   import java.sql.Date;
4   import java.util.List;
5   
6   /**
7    * OlePatron is a business object class for Ole Patron Document
8    */
9   public class OlePatron {
10      private String errorMessage;
11      private String patronID;
12      private Date expirationDate;
13      private Date activationDate;
14     /* private String source;*/
15      private String statisticalCategory;
16      private boolean active;
17      private OleNameTypes name;
18      private String borrowerType;
19      private String barcode;
20      private List<OlePatronAffiliations> affiliations;
21      private List<OlePatronPostalAddress> postalAddresses;
22      private List<OlePatronEmailAddress> emailAddresses;
23      private List<OlePatronTelePhoneNumber> telephoneNumbers;
24      private OlePatronLevelPolicies patronLevelPolicies;
25      private List<OlePatronNote> notes;
26      /**
27       * Gets the patronID attribute.
28       * @return  Returns the patronID.
29       */
30      public String getPatronID() {
31          return patronID;
32      }
33      /**
34       * Sets the patronID attribute value.
35       * @param patronID The patronID to set.
36       */
37      public void setPatronID(String patronID) {
38          this.patronID = patronID;
39      }
40      /**
41       * Gets the expirationDate attribute.
42       * @return  Returns the expirationDate.
43       */
44      public Date getExpirationDate() {
45          return expirationDate;
46      }
47      /**
48       * Sets the expirationDate attribute value.
49       * @param  expirationDate The expirationDate to set.
50       */
51      public void setExpirationDate(Date expirationDate) {
52          this.expirationDate = expirationDate;
53      }
54      /**
55       * Gets the active attribute.
56       * @return  Returns the active.
57       */
58      public boolean isActive() {
59          return active;
60      }
61      /**
62       * Sets the active attribute value.
63       * @param active The active to set.
64       */
65      public void setActive(boolean active) {
66          this.active = active;
67      }
68      /**
69       * Gets the name attribute.
70       * @return  Returns the name.
71       */
72      public OleNameTypes getName() {
73          return name;
74      }
75      /**
76       * Sets the name attribute value.
77       * @param name The name to set.
78       */
79      public void setName(OleNameTypes name) {
80          this.name = name;
81      }
82      /**
83       * Gets the borrowerType attribute.
84       * @return  Returns the borrowerType.
85       */
86      public String getBorrowerType() {
87          return borrowerType;
88      }
89      /**
90       * Sets the borrowerType attribute value.
91       * @param borrowerType The borrowerType to set.
92       */
93      public void setBorrowerType(String borrowerType) {
94          this.borrowerType = borrowerType;
95      }
96      /**
97       * Gets the barcode attribute.
98       * @return  Returns the barcode.
99       */
100     public String getBarcode() {
101         return barcode;
102     }
103     /**
104      * Sets the barcode attribute value.
105      * @param barcode The barcode to set.
106      */
107     public void setBarcode(String barcode) {
108         this.barcode = barcode;
109     }
110     /**
111      * Gets the postalAddresses attribute.
112      * @return  Returns the postalAddresses.
113      */
114     public List<OlePatronPostalAddress> getPostalAddresses() {
115         return postalAddresses;
116     }
117     /**
118      * Sets the postalAddresses attribute value.
119      * @param postalAddress The postalAddresses to set.
120      */
121     public void setPostalAddresses(List<OlePatronPostalAddress> postalAddress) {
122         this.postalAddresses = postalAddress;
123     }
124     /**
125      * Gets the telephoneNumbers attribute.
126      * @return  Returns the telephoneNumbers.
127      */
128     public List<OlePatronTelePhoneNumber> getTelephoneNumbers() {
129         return telephoneNumbers;
130     }
131     /**
132      * Sets the telephoneNumbers attribute value.
133      * @param telephoneNumbers The telephoneNumbers to set.
134      */
135     public void setTelephoneNumbers(List<OlePatronTelePhoneNumber> telephoneNumbers) {
136         this.telephoneNumbers = telephoneNumbers;
137     }
138     /**
139      * Gets the emailAddresses attribute.
140      * @return  Returns the emailAddresses.
141      */
142     public List<OlePatronEmailAddress> getEmailAddresses() {
143         return emailAddresses;
144     }
145     /**
146      * Sets the  emailAddresses attribute value.
147      * @param emailAddresses The emailAddresses to set.
148      */
149     public void setEmailAddresses(List<OlePatronEmailAddress> emailAddresses) {
150         this.emailAddresses = emailAddresses;
151     }
152     /**
153      * Gets the patronLevelPolicies attribute.
154      * @return  Returns the patronLevelPolicies.
155      */
156     public OlePatronLevelPolicies getPatronLevelPolicies() {
157         return patronLevelPolicies;
158     }
159     /**
160      * Sets the patronLevelPolicies attribute value.
161      * @param patronLevelPolicies The patronLevelPolicies to set.
162      */
163     public void setPatronLevelPolicies(OlePatronLevelPolicies patronLevelPolicies) {
164         this.patronLevelPolicies = patronLevelPolicies;
165     }
166     /**
167      * Gets the notes attribute.
168      * @return  Returns the notes.
169      */
170     public List<OlePatronNote> getNotes() {
171         return notes;
172     }
173     /**
174      * Sets the notes attribute value.
175      * @param notes The notes to set.
176      */
177     public void setNotes(List<OlePatronNote> notes) {
178         this.notes = notes;
179     }
180     /**
181      * Gets the errorMessage attribute.
182      * @return  returns the errorMessage.
183      */
184     public String getErrorMessage() {
185         return errorMessage;
186     }
187     /**
188      * Sets the errorMessage attribute value.
189      * @param errorMessage The errorMessage to set.
190      */
191     public void setErrorMessage(String errorMessage) {
192         this.errorMessage = errorMessage;
193     }
194     /**
195      * Gets the affiliations attribute.
196      * @return  returns the affiliations
197      */
198     public List<OlePatronAffiliations> getAffiliations() {
199         return affiliations;
200     }
201     /**
202      * Sets the affiliations attribute value.
203      * @param affiliations The affiliations to set.
204      */
205     public void setAffiliations(List<OlePatronAffiliations> affiliations) {
206         this.affiliations = affiliations;
207     }
208 
209     public Date getActivationDate() {
210         return activationDate;
211     }
212 
213     public void setActivationDate(Date activationDate) {
214         this.activationDate = activationDate;
215     }
216 
217  /*   public String getSource() {
218         return source;
219     }
220 
221     public void setSource(String source) {
222         this.source = source;
223     }*/
224 
225     public String getStatisticalCategory() {
226         return statisticalCategory;
227     }
228 
229     public void setStatisticalCategory(String statisticalCategory) {
230         this.statisticalCategory = statisticalCategory;
231     }
232 }