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