001package org.kuali.ole.ingest.pojo;
002
003import java.sql.Date;
004import java.util.List;
005
006/**
007 * OlePatron is a business object class for Ole Patron Document
008 */
009public class OlePatron {
010    private String errorMessage;
011    private String patronID;
012    private Date expirationDate;
013    private Date activationDate;
014   /* private String source;*/
015    private String statisticalCategory;
016    private boolean active;
017    private OleNameTypes name;
018    private String borrowerType;
019    private String barcode;
020    private List<OlePatronAffiliations> affiliations;
021    private List<OlePatronPostalAddress> postalAddresses;
022    private List<OlePatronEmailAddress> emailAddresses;
023    private List<OlePatronTelePhoneNumber> telephoneNumbers;
024    private OlePatronLevelPolicies patronLevelPolicies;
025    private List<OlePatronNote> notes;
026    /**
027     * Gets the patronID attribute.
028     * @return  Returns the patronID.
029     */
030    public String getPatronID() {
031        return patronID;
032    }
033    /**
034     * Sets the patronID attribute value.
035     * @param patronID The patronID to set.
036     */
037    public void setPatronID(String patronID) {
038        this.patronID = patronID;
039    }
040    /**
041     * Gets the expirationDate attribute.
042     * @return  Returns the expirationDate.
043     */
044    public Date getExpirationDate() {
045        return expirationDate;
046    }
047    /**
048     * Sets the expirationDate attribute value.
049     * @param  expirationDate The expirationDate to set.
050     */
051    public void setExpirationDate(Date expirationDate) {
052        this.expirationDate = expirationDate;
053    }
054    /**
055     * Gets the active attribute.
056     * @return  Returns the active.
057     */
058    public boolean isActive() {
059        return active;
060    }
061    /**
062     * Sets the active attribute value.
063     * @param active The active to set.
064     */
065    public void setActive(boolean active) {
066        this.active = active;
067    }
068    /**
069     * Gets the name attribute.
070     * @return  Returns the name.
071     */
072    public OleNameTypes getName() {
073        return name;
074    }
075    /**
076     * Sets the name attribute value.
077     * @param name The name to set.
078     */
079    public void setName(OleNameTypes name) {
080        this.name = name;
081    }
082    /**
083     * Gets the borrowerType attribute.
084     * @return  Returns the borrowerType.
085     */
086    public String getBorrowerType() {
087        return borrowerType;
088    }
089    /**
090     * Sets the borrowerType attribute value.
091     * @param borrowerType The borrowerType to set.
092     */
093    public void setBorrowerType(String borrowerType) {
094        this.borrowerType = borrowerType;
095    }
096    /**
097     * Gets the barcode attribute.
098     * @return  Returns the barcode.
099     */
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}