com.pkrete.jsip2.messages.responses
Class SIP2RenewAllResponse

java.lang.Object
  extended by com.pkrete.jsip2.messages.SIP2Message
      extended by com.pkrete.jsip2.messages.SIP2MessageResponse
          extended by com.pkrete.jsip2.messages.responses.SIP2RenewAllResponse
All Implemented Interfaces:
Serializable

public class SIP2RenewAllResponse
extends SIP2MessageResponse

This class represents the response message that the ILS SIP server must send in response to the SIP2RenewAllRequest message.

Author:
Petteri Kivimäki
See Also:
Serialized Form

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
SIP2RenewAllResponse(String data)
          Constructs and initializes a new SIP2RenewAllResponse object containing the given data.
 
Method Summary
 String countChecksum()
          Counts the chekcsum of this response message.
 int getRenewedCount()
          Returns the count of the number of items that were renewed.
 List<String> getRenewedItems()
          Returns a list of items that were renewed.
 int getUnrenewedCount()
          Returns the count of the number of items that were not renewed.
 List<String> getUnrenewedItems()
          Returns a list of items that were not renewed.
 void setRenewedCount(int renewedCount)
          Sets the count of the number of items that were renewed.
 void setRenewedItems(List<String> renewedItems)
          Sets the list of items that were renewed.
 void setUnrenewedCount(int unrenewedCount)
          Sets the count of the number of items that were not renewed.
 void setUnrenewedItems(List<String> unrenewedItems)
          Returns the list of items that were not renewed.
 
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 com.pkrete.jsip2.messages.SIP2Message
getBibId, getCheckSum, getCode, getCurrencyType, getCurrentLocation, getExpirationDate, getFeeAmount, getFeeType, getInstitutionId, getItemIdentifier, getItemProperties, getPatronIdentifier, getPickupLocation, getSequence, getTitleIdentifier, getTransactionDate, getTransactionId, isChecksum, isSequence, setBibId, setCheckSum, setCode, setCurrencyType, setCurrentLocation, setExpirationDate, setFeeAmount, setFeeType, setInstitutionId, setItemIdentifier, setItemProperties, setPatronIdentifier, setPickupLocation, setSequence, setTitleIdentifier, setTransactionDate, setTransactionId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SIP2RenewAllResponse

public SIP2RenewAllResponse(String data)
Constructs and initializes a new SIP2RenewAllResponse object containing the given data.

Parameters:
data - the data that the message contains
Method Detail

getRenewedCount

public int getRenewedCount()
Returns the count of the number of items that were renewed.

Returns:
count of the number of items that were renewed

setRenewedCount

public void setRenewedCount(int renewedCount)
Sets the count of the number of items that were renewed.

Parameters:
renewedCount - new value

getUnrenewedCount

public int getUnrenewedCount()
Returns the count of the number of items that were not renewed.

Returns:
count of the number of items that were not renewed

setUnrenewedCount

public void setUnrenewedCount(int unrenewedCount)
Sets the count of the number of items that were not renewed.

Parameters:
unrenewedCount - new value

getRenewedItems

public List<String> getRenewedItems()
Returns a list of items that were renewed.

Returns:
list of items that were renewed

setRenewedItems

public void setRenewedItems(List<String> renewedItems)
Sets the list of items that were renewed.

Parameters:
renewedItems - new list

getUnrenewedItems

public List<String> getUnrenewedItems()
Returns a list of items that were not renewed.

Returns:
list of items that were not renewed

setUnrenewedItems

public void setUnrenewedItems(List<String> unrenewedItems)
Returns the list of items that were not renewed.

Parameters:
unrenewedItems - new list

countChecksum

public String countChecksum()
Counts the chekcsum of this response message.

Specified by:
countChecksum in class SIP2MessageResponse
Returns:
checksum


Copyright © 2012-2014. All Rights Reserved.