Open SiteSearch 4.1.1
Final

ORG.oclc.sip
Class HoldResponse

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

public class HoldResponse
extends Object

The ACS should send this message in response to a Hold message

16


Constructor Summary
HoldResponse()
          Contructs a new HoldResponse
HoldResponse(String responseString)
          Contructs a new PatronInformationResponse
 
Method Summary
 boolean holdOk()
          Returns a boolean indicating if the hold was successful
 boolean itemAvailable()
          Returns a boolean indicating if the item was available
 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

HoldResponse

public HoldResponse()
Contructs a new HoldResponse

HoldResponse

public HoldResponse(String responseString)
Contructs a new PatronInformationResponse
Parameters:
String - responseString the response from an SIP server
Method Detail

holdOk

public boolean holdOk()
Returns a boolean indicating if the hold was successful
Returns:
true or false

itemAvailable

public boolean itemAvailable()
Returns a boolean indicating if the item was available
Returns:
true or false

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