public class QueryResult extends Object implements Serializable
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="sfobject" type="{urn:sfobject.sfapi.successfactors.com}SFObject" maxOccurs="unbounded" minOccurs="0"/> <element name="numResults" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="hasMore" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="querySessionId" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected boolean |
hasMore |
protected int |
numResults |
protected String |
querySessionId |
protected List<SFObject> |
sfobjects |
Constructor and Description |
---|
QueryResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
getHasMore()
Gets the value of the hasMore property.
|
int |
getNumResults()
Gets the value of the numResults property.
|
String |
getQuerySessionId()
Gets the value of the querySessionId property.
|
List<SFObject> |
getSfobjects()
Gets the value of the sfobjects property.
|
void |
setHasMore(boolean value)
Sets the value of the hasMore property.
|
void |
setNumResults(int value)
Sets the value of the numResults property.
|
void |
setQuerySessionId(String value)
Sets the value of the querySessionId property.
|
void |
setSfobjects(List<SFObject> sfobjects)
Sets the value of the sfobjects property.
|
protected int numResults
protected boolean hasMore
protected String querySessionId
public List<SFObject> getSfobjects()
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 sfobjects property.
For example, to add a new item, do as follows:
getSfobjects().add(newItem);
Objects of the following type(s) are allowed in the list
SFObject
public int getNumResults()
public void setNumResults(int value)
public boolean getHasMore()
public void setHasMore(boolean value)
public String getQuerySessionId()
String
public void setQuerySessionId(String value)
value
- allowed object is
String
Copyright © 2010–2017. All rights reserved.