|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pkrete.jsip2.messages.SIP2Message
com.pkrete.jsip2.messages.SIP2MessageResponse
com.pkrete.jsip2.messages.responses.SIP2PatronResponse
com.pkrete.jsip2.messages.responses.SIP2PatronInformationResponse
public class SIP2PatronInformationResponse
This class represents the response message that the ILS SIP server must
send in response to the
SIP2PatronInformationRequest
message}.
| Field Summary |
|---|
| Fields inherited from class com.pkrete.jsip2.messages.responses.SIP2PatronResponse |
|---|
language, personalName, status, validPatron, validPatronPassword, validPatronPasswordUsed, validPatronUsed |
| Fields inherited from class com.pkrete.jsip2.messages.SIP2MessageResponse |
|---|
data, dueDate, mediaType, ok, permanentLocation, printLine, screenMessage |
| Fields inherited from class com.pkrete.jsip2.messages.SIP2Message |
|---|
bibId, checkSum, code, currencyType, currentLocation, expirationDate, feeAmount, feeType, institutionId, itemIdentifier, itemProperties, patronIdentifier, pickupLocation, sequence, titleIdentifier, transactionDate, transactionId |
| Constructor Summary | |
|---|---|
SIP2PatronInformationResponse(String data)
Constructs and initializes a new SIP2PatronInformationResponse object containing the given data. |
|
| Method Summary | |
|---|---|
String |
countChecksum()
Counts the chekcsum of this response message. |
String |
getBirthDate()
Returns the patron's birth date. 6-char, fixed-length field, MMDDYYYY. |
int |
getChargedItemsCount()
Returns the number of charged items for this patron. |
int |
getChargedItemsLimit()
Returns the limit number for charged items for this patron. |
String |
getEmail()
Returns the email address of the patron. |
String |
getFeeLimit()
Returns the limiting value for fines and fees that the patron is allowed to accumulate in his account. |
int |
getFineItemsCount()
Returns the number of fine items for this patron. |
int |
getHoldItemsCount()
Returns the number of hold items for this patron. |
int |
getHoldItemsLimit()
Returns the limit number for hold items for this patron. |
String |
getHomeAddress()
Returns the home address of the patron. |
List<String> |
getItems()
Returns a list of item barcodes of the item type defined in the PatronInformationRequest message. |
ItemType |
getItemType()
Returns the type of the items in the items list. |
int |
getOverdueItemsCount()
Returns the number of overdue items for this patron. |
int |
getOverdueItemsLimit()
Returns the limit number for overdue items for this patron. |
String |
getPacAccessType()
Returns the patron's PAC access level. |
String |
getPatronGroup()
Returns the code of the patron group in which the patron belongs to. |
String |
getPatronType()
Returns the patron's patron type, such as child, juvenile, adult, etc |
String |
getPhone()
Returns the phnoe number of the patron. |
int |
getRecallItemsCount()
Returns the number of recall items for this patron. |
int |
getUnavailableHoldsCount()
Return the number of unavailable holds for this patron. |
void |
setBirthDate(String birthDate)
Sets the patron's birth date. |
void |
setChargedItemsCount(int chargedItemsCount)
Changes the number of charged items for this patron. |
void |
setChargedItemsLimit(int chargedItemsLimit)
Changes the limit number for charged items for this patron. |
void |
setEmail(String email)
Changes the email address of the patron. |
void |
setFeeLimit(String feeLimit)
Changes the limiting value for fines and fees that the patron is allowed to accumulate in his account. |
void |
setFineItemsCount(int fineItemsCount)
Changes the number of fine items for this patron. |
void |
setHoldItemsCount(int holdItemsCount)
Changes the number of hold items for this patron. |
void |
setHoldItemsLimit(int holdItemsLimit)
Changes the limit number for hold items for this patron. |
void |
setHomeAddress(String homeAddress)
Changes the home address of the patron. |
void |
setItems(List<String> items)
Changes the lis of item barcodes of the item type defined in the PatronInformationRequest message |
void |
setItemType(ItemType itemType)
Changes the type of the items in the items list. |
void |
setOverdueItemsCount(int overdueItemsCount)
Changes the number of overdue items for this patron. |
void |
setOverdueItemsLimit(int overdueItemsLimit)
Changes the limit number for overdue items for this patron. |
void |
setPacAccessType(String pacAccessType)
Sets the patron's PAC access level. |
void |
setPatronGroup(String patronGroup)
Changes the code of the patron group in which the patron belongs to. |
void |
setPatronType(String patronType)
Sets the patron's patron type, such as child, juvenile, adult, etc |
void |
setPhone(String phone)
Changes the phone number of the patron. |
void |
setRecallItemsCount(int recallItemsCount)
Changes the number of recall items for this patron. |
void |
setUnavailableHoldsCount(int unavailableHoldsCount)
Changes the number of unavailable holds for this patron. |
| Methods inherited from class com.pkrete.jsip2.messages.responses.SIP2PatronResponse |
|---|
getLanguage, getPersonalName, getStatus, isValidPatron, isValidPatronPassword, isValidPatronPasswordUsed, isValidPatronUsed, setLanguage, setPersonalName, setStatus, setValidPatron, setValidPatronPassword, setValidPatronPasswordUsed, setValidPatronUsed |
| Methods inherited from class com.pkrete.jsip2.messages.SIP2MessageResponse |
|---|
getData, getDueDate, getMediaType, getPermanentLocation, getPrintLine, getScreenMessage, isOk, isValid, setData, setDueDate, setMediaType, setOk, setPermanentLocation, setPrintLine, setScreenMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SIP2PatronInformationResponse(String data)
data - the data that the message contains| Method Detail |
|---|
public String getFeeLimit()
public void setFeeLimit(String feeLimit)
feeLimit - new valuepublic int getHoldItemsCount()
public void setHoldItemsCount(int holdItemsCount)
holdItemsCount - new valuepublic int getOverdueItemsCount()
public void setOverdueItemsCount(int overdueItemsCount)
overdueItemsCount - new valuepublic int getChargedItemsCount()
public void setChargedItemsCount(int chargedItemsCount)
chargedItemsCount - new valuepublic int getFineItemsCount()
public void setFineItemsCount(int fineItemsCount)
fineItemsCount - new valuepublic int getRecallItemsCount()
public void setRecallItemsCount(int recallItemsCount)
recallItemsCount - new valuepublic int getUnavailableHoldsCount()
public void setUnavailableHoldsCount(int unavailableHoldsCount)
unavailableHoldsCount - new valuepublic int getHoldItemsLimit()
public void setHoldItemsLimit(int holdItemsLimit)
holdItemsLimit - new valuepublic int getOverdueItemsLimit()
public void setOverdueItemsLimit(int overdueItemsLimit)
overdueItemsLimit - new valuepublic int getChargedItemsLimit()
public void setChargedItemsLimit(int chargedItemsLimit)
chargedItemsLimit - new valuepublic String getHomeAddress()
public void setHomeAddress(String homeAddress)
homeAddress - new valuepublic String getEmail()
public void setEmail(String email)
email - new valuepublic String getPhone()
public void setPhone(String phone)
phone - new valuepublic String getPatronGroup()
public void setPatronGroup(String patronGroup)
patronGroup - new valuepublic List<String> getItems()
public void setItems(List<String> items)
items - new valuepublic ItemType getItemType()
public void setItemType(ItemType itemType)
itemType - new valuepublic String getBirthDate()
public void setBirthDate(String birthDate)
birthDate - new birth date, 6-char, fixed-length field, MMDDYYYYpublic String getPacAccessType()
public void setPacAccessType(String pacAccessType)
pacAccessType - new levelpublic String getPatronType()
public void setPatronType(String patronType)
patronType - new patron typepublic String countChecksum()
countChecksum in class SIP2MessageResponse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||