public class

QueryResult

extends Dynamic
implements Serializable
java.lang.Object
   ↳ com.zuora.api.object.Dynamic
     ↳ com.zuora.api.QueryResult

Class Overview

Java class for QueryResult complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="QueryResult">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="done" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="queryLocator" type="{http://api.zuora.com/}QueryLocator"/>
         <element name="records" type="{http://object.api.zuora.com/}zObject" maxOccurs="unbounded" minOccurs="0"/>
         <element name="size" type="{http://www.w3.org/2001/XMLSchema}int"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Constants
long serialVersionUID
Fields
protected boolean done
protected String queryLocator
protected List<ZObject> records
protected int size
[Expand]
Inherited Fields
From class com.zuora.api.object.Dynamic
Public Constructors
QueryResult()
Public Methods
String getQueryLocator()
Gets the value of the queryLocator property.
List<ZObject> getRecords()
Gets the value of the records property.
int getSize()
Gets the value of the size property.
boolean isDone()
Gets the value of the done property.
void setDone(boolean value)
Sets the value of the done property.
void setQueryLocator(String value)
Sets the value of the queryLocator property.
void setSize(int value)
Sets the value of the size property.
[Expand]
Inherited Methods
From class com.zuora.api.object.Dynamic
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 100 (0x0000000000000064)

Fields

protected boolean done

protected String queryLocator

protected List<ZObject> records

protected int size

Public Constructors

public QueryResult ()

Public Methods

public String getQueryLocator ()

Gets the value of the queryLocator property.

Returns
  • possible object is String

public List<ZObject> getRecords ()

Gets the value of the records property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the records property.

For example, to add a new item, do as follows:

    getRecords().add(newItem);
 

Objects of the following type(s) are allowed in the list ZObject

public int getSize ()

Gets the value of the size property.

public boolean isDone ()

Gets the value of the done property.

public void setDone (boolean value)

Sets the value of the done property.

Parameters
value

public void setQueryLocator (String value)

Sets the value of the queryLocator property.

Parameters
value Allowed object is String

public void setSize (int value)

Sets the value of the size property.

Parameters
value