|
||||||||||
| 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.SIP2CheckoutResponse
public class SIP2CheckoutResponse
This class represents the response message that the ILS SIP server must
send in response to the SIP2CheckoutRequest
message.
| Field Summary | |
|---|---|
protected boolean |
desensitize
Tells if the system should desensitize the item. |
protected boolean |
desensitizeSupported
Tells if the ILS recognizes if the item should or should not be desensitized. |
protected boolean |
renewalOk
Tells if the item is already checked out. |
protected boolean |
securityInhibit
Tells if the system should ignore the security status of the item. |
protected boolean |
securityInhibitUsed
Indicates if the securityInhibit value was used in the response received from the ILS SIP server. |
| 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 | |
|---|---|
|
SIP2CheckoutResponse(String data)
Constructs and initializes a new SIP2CheckoutResponse object containing the given data. |
protected |
SIP2CheckoutResponse(String code,
String data)
Constructs and initializes a new SIP2CheckoutResponse object containing the given data. |
| Method Summary | |
|---|---|
String |
countChecksum()
Counts the chekcsum of this response message. |
boolean |
isDesensitize()
Returns true if and only if the system should desensitize the item. |
boolean |
isDesensitizeSupported()
Returns true if and only if the ILS recognizes that the item should or should not be desensitized. |
boolean |
isRenewalOk()
Returns true if and only if the item is already checked out. |
boolean |
isSecurityInhibit()
Returns true if and only if the system should ignore the security status of the item. |
boolean |
isSecurityInhibitUsed()
Returns true if and only if the securityInhibit field was used in the response message received from the ILS SIP server. |
void |
setDesensitize(boolean desensitize)
Sets the value that tells if the system should desensitize the item. |
void |
setDesensitizeSupported(boolean desensitizeSupported)
Sets the value that tells if the ILS recognizes that the item should or should not be desensitized. |
void |
setRenewalOk(boolean renewalOk)
Changes the value that tells if the item is already checked out. |
void |
setSecurityInhibit(boolean securityInhibit)
Sets the value that tells if the system should ignore the security status of the item. |
void |
setSecurityInhibitUsed(boolean securityInhibitUsed)
Sets the boolean value that tells if the securityInhibit field was used in the response message received from the ILS SIP server. |
| 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 |
| Field Detail |
|---|
protected boolean renewalOk
protected boolean desensitizeSupported
protected boolean desensitize
protected boolean securityInhibit
protected boolean securityInhibitUsed
| Constructor Detail |
|---|
protected SIP2CheckoutResponse(String code,
String data)
code - command identifierdata - the data that the message containspublic SIP2CheckoutResponse(String data)
data - the data that the message contains| Method Detail |
|---|
public boolean isRenewalOk()
public void setRenewalOk(boolean renewalOk)
renewalOk - true or falsepublic boolean isDesensitizeSupported()
public void setDesensitizeSupported(boolean desensitizeSupported)
desensitizeSupported - true or falsepublic boolean isDesensitize()
public void setDesensitize(boolean desensitize)
desensitize - true or falsepublic boolean isSecurityInhibit()
public void setSecurityInhibit(boolean securityInhibit)
securityInhibit - true or falsepublic boolean isSecurityInhibitUsed()
public void setSecurityInhibitUsed(boolean securityInhibitUsed)
securityInhibitUsed - true or falsepublic String countChecksum()
countChecksum in class SIP2MessageResponse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||