public class InventoryResponse extends CwsResponse
Response contains a list of the Metata from the CWS database.
Please see CwsResponse
for information about the result of the
processing.
Constructor and Description |
---|
InventoryResponse()
Empty Constructor, to use if the setters are invoked.
|
InventoryResponse(ReturnCode returnCode,
String returnMessage)
Error Constructor, used if an error occurred, and the request could not
complete successfully.
|
Modifier and Type | Method and Description |
---|---|
List<Metadata> |
getInventory() |
long |
getRecords() |
void |
setInventory(List<Metadata> inventory) |
void |
setRecords(long records) |
getReturnCode, getReturnMessage, isOk, setReturnCode, setReturnMessage
public InventoryResponse()
public InventoryResponse(ReturnCode returnCode, String returnMessage)
returnCode
- The CWS Return CodereturnMessage
- The CWS Return MessageCopyright © 2020 JavaDog.io. All rights reserved.