public class SOQLResult extends Object
Java class for SOQLResult complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SOQLResult">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="queryError" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="queryMetadata" type="{urn:tooling.soap.sforce.com}QueryResultMetadata"/>
<element name="queryResult" type="{urn:tooling.soap.sforce.com}MapValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
queryError |
protected QueryResultMetadata |
queryMetadata |
protected List<MapValue> |
queryResult |
| Constructor and Description |
|---|
SOQLResult() |
| Modifier and Type | Method and Description |
|---|---|
String |
getQueryError()
Gets the value of the queryError property.
|
QueryResultMetadata |
getQueryMetadata()
Gets the value of the queryMetadata property.
|
List<MapValue> |
getQueryResult()
Gets the value of the queryResult property.
|
void |
setQueryError(String value)
Sets the value of the queryError property.
|
void |
setQueryMetadata(QueryResultMetadata value)
Sets the value of the queryMetadata property.
|
protected String queryError
protected QueryResultMetadata queryMetadata
public String getQueryError()
Stringpublic void setQueryError(String value)
value - allowed object is
Stringpublic QueryResultMetadata getQueryMetadata()
QueryResultMetadatapublic void setQueryMetadata(QueryResultMetadata value)
value - allowed object is
QueryResultMetadatapublic List<MapValue> getQueryResult()
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 queryResult property.
For example, to add a new item, do as follows:
getQueryResult().add(newItem);
Objects of the following type(s) are allowed in the list
MapValue
Copyright © 2016. All rights reserved.