|
||||||||||
| 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.SIP2CirculationTransactionResponse
com.pkrete.jsip2.messages.responses.SIP2HoldResponse
public class SIP2HoldResponse
The ILS must send this message in response to the
SIP2HoldRequest message.
| Field Summary |
|---|
| Fields inherited from class com.pkrete.jsip2.messages.responses.SIP2CirculationTransactionResponse |
|---|
magneticMedia, magneticMediaSupported |
| 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 | |
|---|---|
SIP2HoldResponse(String data)
Constructs and initializes a new SIP2HoldResponse object containing the given data. |
|
| Method Summary | |
|---|---|
String |
countChecksum()
Counts the chekcsum of this response message. |
String |
getIsbn()
Returns the ISBN number of the record that was put on hold. |
String |
getLccn()
Returns the LCCN number of the record that was put on hold. |
String |
getQueuePosition()
Returns a numeric value for the patron's position in the hold queue for an item. |
boolean |
isAvailable()
Returns true if and only if the item is available, it's not checked out or on hold. |
void |
setAvailable(boolean available)
Sets the value that tells the item is available. |
void |
setIsbn(String isbn)
Sets the ISBN number of the record that was put on hold. |
void |
setLccn(String lccn)
Sets the LCCN number of the record that was put on hold. |
void |
setQueuePosition(String queuePosition)
Sets the patron's position in the hold queue for an item. |
| Methods inherited from class com.pkrete.jsip2.messages.responses.SIP2CirculationTransactionResponse |
|---|
isMagneticMedia, isMagneticMediaSupported, setMagneticMedia, setMagneticMediaSupported |
| 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 SIP2HoldResponse(String data)
data - the data that the message contains| Method Detail |
|---|
public boolean isAvailable()
public void setAvailable(boolean available)
available - true or falsepublic String getQueuePosition()
public void setQueuePosition(String queuePosition)
queuePosition - numeric valuepublic String getIsbn()
public void setIsbn(String isbn)
isbn - ISBN numberpublic String getLccn()
public void setLccn(String lccn)
lccn - LCCN numberpublic String countChecksum()
countChecksum in class SIP2MessageResponse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||