org.apache.camel.component.salesforce.api.dto.bulk
Class QueryResult
java.lang.Object
org.apache.camel.component.salesforce.api.dto.bulk.QueryResult
public class QueryResult
- extends Object
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="records" type="{http://www.force.com/2009/06/asyncapi/dataload}sObject" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
records
protected List<SObject> records
QueryResult
public QueryResult()
getRecords
public List<SObject> 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
SObject
Apache Camel