|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sforce.soap.partner.QueryResult
public class QueryResult
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="{urn:partner.soap.sforce.com}QueryLocator"/> <element name="records" type="{urn:sobject.partner.soap.sforce.com}sObject" maxOccurs="unbounded" minOccurs="0"/> <element name="size" type="{http://www.w3.org/2001/XMLSchema}int"/> </sequence> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected boolean |
done
|
protected java.lang.String |
queryLocator
|
protected java.util.List<SObject> |
records
|
protected int |
size
|
Constructor Summary | |
---|---|
QueryResult()
|
Method Summary | |
---|---|
java.lang.String |
getQueryLocator()
Gets the value of the queryLocator property. |
java.util.List<SObject> |
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(java.lang.String value)
Sets the value of the queryLocator property. |
void |
setSize(int value)
Sets the value of the size property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean done
protected java.lang.String queryLocator
protected java.util.List<SObject> records
protected int size
Constructor Detail |
---|
public QueryResult()
Method Detail |
---|
public boolean isDone()
public void setDone(boolean value)
public java.lang.String getQueryLocator()
String
public void setQueryLocator(java.lang.String value)
value
- allowed object is
String
public java.util.List<SObject> getRecords()
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
SObject
public int getSize()
public void setSize(int value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |