|
||||||||||
| 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.SIP2LoginRequest
public class SIP2LoginRequest
This class represents the message that is used to login to an ILS SIP
server program. The ILS SIP server should respond with the
SIP2LoginResponse message. This is the first
message sent to the ILS.
| 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 | |
|---|---|
SIP2LoginRequest(String userName,
String password)
Constructs and initializes a new SIP2LoginRequest object with the given userName and password. |
|
SIP2LoginRequest(String userName,
String password,
String circulationLocation)
Constructs and initializes a new SIP2LoginRequest object with the given userName, password, and circulationLocation. |
|
| Method Summary | |
|---|---|
String |
getCirculationLocation()
Returns the ILS's circulation location to be used. |
String |
getData()
Returns a string presentation of the message. |
String |
getPassword()
Returns the password to login to the ILS. |
String |
getUserName()
Returns the username to login to the ILS. |
void |
setCirculationLocation(String circulationLocation)
Sets the ILS's circulation location to be used. |
void |
setPassword(String password)
Sets the password to login to the ILS. |
void |
setUserName(String userName)
Sets the username to login to the ILS. |
| 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 SIP2LoginRequest(String userName,
String password)
userName - ILS usernamepassword - ILS password
public SIP2LoginRequest(String userName,
String password,
String circulationLocation)
userName - ILS usernamepassword - ILS passwordcirculationLocation - ILS circulation location| Method Detail |
|---|
public String getUserName()
public void setUserName(String userName)
userName - usernamepublic String getPassword()
public void setPassword(String password)
password - new passwordpublic String getCirculationLocation()
public void setCirculationLocation(String circulationLocation)
circulationLocation - new locationpublic String getData()
SIP2Message
getData in class SIP2Message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||