|
||||||||||
| 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.SIP2MessageRequest
com.pkrete.jsip2.messages.requests.SIP2SCStatusRequest
public class SIP2SCStatusRequest
This class represents the request that sends the current status of
the system to the ILS SIP server, which replies with the
SIP2ACSStatusResponse message.
| Field Summary |
|---|
| Fields inherited from class com.pkrete.jsip2.messages.SIP2MessageRequest |
|---|
counter, errorDetectionEnabled, feeAcknowledged, patronPassword, terminalPassword, useFeeAcknowledged |
| 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 | |
|---|---|
SIP2SCStatusRequest()
Constructs and initializes a new SIP2SCStatusRequest object. |
|
SIP2SCStatusRequest(StatusCode status)
Constructs and initializes a new SIP2SCStatusRequest object with the given status code. |
|
SIP2SCStatusRequest(StatusCode status,
String maxPrintWidth)
Constructs and initializes a new SIP2SCStatusRequest object with the given status code and max print width. |
|
| Method Summary | |
|---|---|
String |
getData()
Returns a string presentation of the message. |
String |
getMaxPrintWidth()
Returns the maximum number of characters that the system printer can print in one line. |
StatusCode |
getStatusCode()
Returns the status of the system. |
void |
setMaxPrintWidth(String maxPrintWidth)
Changes the maximum number of characters that the system printer can print in one line. |
void |
setStatusCode(StatusCode statusCode)
Changes the status of the system. |
| Methods inherited from class com.pkrete.jsip2.messages.SIP2MessageRequest |
|---|
getCheckSum, getPatronPassword, getTerminalPassword, isErrorDetectionEnabled, isFeeAcknowledged, isUseFeeAcknowledged, setErrorDetectionEnabled, setFeeAcknowledged, setPatronPassword, setTerminalPassword, setUseFeeAcknowledged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SIP2SCStatusRequest()
public SIP2SCStatusRequest(StatusCode status)
status - the status of the system
public SIP2SCStatusRequest(StatusCode status,
String maxPrintWidth)
status - the status of the systemmaxPrintWidth - number of characters the system printer can
print on one line| Method Detail |
|---|
public StatusCode getStatusCode()
public void setStatusCode(StatusCode statusCode)
statusCode - new valuepublic String getMaxPrintWidth()
public void setMaxPrintWidth(String maxPrintWidth)
maxPrintWidth - new value, must be 3-char and
fixed-lengthpublic String getData()
SIP2Message
getData in class SIP2Message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||