Table Of Contents
package com.cisco.vnm.common.api
public class InventoryQueryResult implements Serializable
Inventory Query Result API
package com.cisco.vnm.common.api
public class InventoryQueryResult implements Serializable
This class provides methods for the client to fetch the first batch of data.
Public Methods
getInitBatch()
Returns the first batch of objects, encoded as an XML string (defined as QueryResult in DTD).
Usage:
String getInitBatch();Returns:
String which is the first batch of objects, encoded as an XML string.
getIterator()
Returns iterator if the result retrieved is more than the first batch returned.
Usage:
InventoryIterator getIterator();Returns:
InventoryIterator if the result retrieved is more than the first batch returned.
setInitBatch()
Sets the first batch of objects, encoded as an XML string (defined as QueryResult in DTD).
Usage:
void setInitBatch(String batch);