Open SiteSearch 4.1.1
Final

ORG.oclc.sip
Class PatronInformation

java.lang.Object
  |
  +--ORG.oclc.sip.PatronInformation

public class PatronInformation
extends Object

The PatronInformation is used by the SC to request patron information from the ACS. The ACS must respond to this command with a PatronInformationResponse message. Not currently startItem and endItem.

63


Constructor Summary
PatronInformation()
          Contructs a new PatronInformation
PatronInformation(String prefix, String language, String summary, String institutionId, String patronIdentifier, String terminalPassword, String patronPassword)
          Contructs a new PatronInformation
 
Method Summary
 String buildMessage()
          Returns a String containing the Patron Information Request message Doesn't use checksums or sequence numbers
 String buildMessage(boolean useChecksums)
          Returns a String containing the Patron Information Request message
 String buildMessage(boolean useChecksums, String seq)
          Returns a String containing the Patron Information Request message
 String toString()
          Generates the String representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PatronInformation

public PatronInformation()
Contructs a new PatronInformation

PatronInformation

public PatronInformation(String prefix,
                         String language,
                         String summary,
                         String institutionId,
                         String patronIdentifier,
                         String terminalPassword,
                         String patronPassword)
Contructs a new PatronInformation
Parameters:
String - prefix
String - language
String - summary
String - institutionId
String - patronIdentifier
String - terminalPassword
String - patronPassword;
Method Detail

buildMessage

public String buildMessage()
Returns a String containing the Patron Information Request message Doesn't use checksums or sequence numbers
Returns:
String the Patron Information Request message

buildMessage

public String buildMessage(boolean useChecksums)
Returns a String containing the Patron Information Request message
Parameters:
useChecksums - boolean indicating whether to include checksums
Returns:
String the Patron Information Request message

buildMessage

public String buildMessage(boolean useChecksums,
                           String seq)
Returns a String containing the Patron Information Request message
Parameters:
useChecksums - boolean indicating whether to include checksums
seq - String containing the sequence number to include ("0" to "9"). If not included or wrong length, uses "0".
Returns:
String the Patron Information Request message

toString

public final String toString()
Generates the String representation of the object.
Returns:
the String representation of the object.
Overrides:
toString in class Object

Open SiteSearch 4.1.1
Final