|
||||||||||
| 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.SIP2ACSStatusResponse
public class SIP2ACSStatusResponse
This class represents the response message that the ILS SIP server must
send in response to the SIP2SCStatusRequest
message. This messages contains some of the rules to be followed in further
communication and establishes some parameters needed as well.
| Field Summary |
|---|
| 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 | |
|---|---|
SIP2ACSStatusResponse(String data)
Constructs and initializes a new SIP2ACSStatusResponse object containing the given data. |
|
| Method Summary | |
|---|---|
String |
countChecksum()
Counts the chekcsum of this response message. |
String |
getDateTimeSync()
Returns the date and time received from the ILS SIP server. 18-char, fixed-length field: YYYYMMDDZZZZHHMMSS. |
String |
getLibraryName()
Returns the library's name. |
String |
getProtocolVersion()
Returns the protocol version that the ILS SIP server is currently using. 4-char, fixed-length field: x.xx. |
int |
getRetriesAllowed()
Returns the number of retries that are allowed for a specific transaction. |
SupportedMessages |
getSupportedMessages()
Returns the informations about the supported messages by the ILS SIP server. |
String |
getTerminalLocation()
Returns the system's location received from the ILS. |
int |
getTimeoutPeriod()
Returns a timeout period until a transaction is aborted. |
boolean |
isCheckinOk()
Returns true if, and only if, the system is allowed to checkin items. |
boolean |
isCheckoutOk()
Returns true if, and only if, the system is allowed to checkout items. |
boolean |
isILSRenewalPolicy()
Returns true if, and only if, the system is allowed to process patrons renewal requests. |
boolean |
isOfflineOk()
Returns true if, and only if, the ILS SIP server supports off-line operation feature. |
boolean |
isOnLineStatus()
Returns true if, and only if, the ILS SIP server is online. |
boolean |
isStatusUpdateOk()
Returns true if, and only if, the system is allowed to update patron status. |
void |
setCheckinOk(boolean checkinOk)
Sets the checkinOk value, that tells if the system is allowed to checkin items. |
void |
setCheckoutOk(boolean checkoutOk)
Sets the checkoutOk value, that tells if the system is allowed to checkout items. |
void |
setDateTimeSync(String dateTimeSync)
Sets the dateTimeSync value, that tells the date and time of the ILS SIP server. 18-char, fixed-length field: YYYYMMDDZZZZHHMMSS. |
void |
setILSRenewalPolicy(boolean ILSRenewalPolicy)
Sets the ILSRenewalPolicy value, that tells if the system is allowed to process patrons renewal requests. |
void |
setLibraryName(String libraryName)
Sets the libraryName value, that tells the library's name. |
void |
setOfflineOk(boolean offlineOk)
Sets the offlineOk value, that tells if the ILS SIP server supports off-line operation feature. |
void |
setOnLineStatus(boolean onLineStatus)
Sets the online status value of the ILS SIP server. |
void |
setProtocolVersion(String protocolVersion)
Sets the protocolVersion value, that tells the protocol version that the ILS SIP version is currently using. 4-char, fixed-length field: x.xx. |
void |
setRetriesAllowed(int retriesAllowed)
Sets the retriesAllowed value, that tells the number of retries that are allowed for a specific transaction. 999 indicates that the retry number is unknown. |
void |
setStatusUpdateOk(boolean statusUpdateOk)
Sets the statusUpdateOk value, that tells if the system is allowed to update patron status. |
void |
setSupportedMessages(SupportedMessages supportedMessages)
Sets the supportedMessages value, that tells the supported messages by the ILS SIP server. |
void |
setTerminalLocation(String terminalLocation)
Sets the terminalLocation value, that tells system's location received from the ILS. |
void |
setTimeoutPeriod(int timeoutPeriod)
Changes the timeout period until a transaction is aborted. |
| 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 SIP2ACSStatusResponse(String data)
data - the data that the message contains| Method Detail |
|---|
public boolean isOnLineStatus()
public void setOnLineStatus(boolean onLineStatus)
onLineStatus - true or falsepublic boolean isCheckinOk()
public void setCheckinOk(boolean checkinOk)
checkinOk - true or falsepublic boolean isCheckoutOk()
public void setCheckoutOk(boolean checkoutOk)
checkoutOk - true or falsepublic boolean isILSRenewalPolicy()
public void setILSRenewalPolicy(boolean ILSRenewalPolicy)
ILSRenewalPolicy - true or falsepublic boolean isStatusUpdateOk()
public void setStatusUpdateOk(boolean statusUpdateOk)
statusUpdateOk - true or falsepublic boolean isOfflineOk()
public void setOfflineOk(boolean offlineOk)
offlineOk - true or falsepublic int getTimeoutPeriod()
public void setTimeoutPeriod(int timeoutPeriod)
timeoutPeriod - new value expressed in tenths of a secondpublic int getRetriesAllowed()
public void setRetriesAllowed(int retriesAllowed)
retriesAllowed - number of retriespublic String getDateTimeSync()
public void setDateTimeSync(String dateTimeSync)
dateTimeSync - date and time, 18-char: YYYYMMDDZZZZHHMMSSpublic String getProtocolVersion()
public void setProtocolVersion(String protocolVersion)
protocolVersion - the protocol version that the ILS SIP server
is currently using. 4-char: x.xxpublic String getLibraryName()
public void setLibraryName(String libraryName)
libraryName - library's namepublic SupportedMessages getSupportedMessages()
public void setSupportedMessages(SupportedMessages supportedMessages)
supportedMessages - supported messages by the ILS SIP serverpublic String getTerminalLocation()
public void setTerminalLocation(String terminalLocation)
terminalLocation - system's location received from the ILSpublic String countChecksum()
countChecksum in class SIP2MessageResponse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||