com.sforce.soap.partner
Class SearchResult

java.lang.Object
  extended by com.sforce.soap.partner.SearchResult

public class SearchResult
extends java.lang.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="searchRecords" type="{urn:partner.soap.sforce.com}SearchRecord" maxOccurs="unbounded" minOccurs="0"/>
         <element name="sforceReserved" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<SearchRecord> searchRecords
           
protected  java.lang.String sforceReserved
           
 
Constructor Summary
SearchResult()
           
 
Method Summary
 java.util.List<SearchRecord> getSearchRecords()
          Gets the value of the searchRecords property.
 java.lang.String getSforceReserved()
          Gets the value of the sforceReserved property.
 void setSforceReserved(java.lang.String value)
          Sets the value of the sforceReserved property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

searchRecords

protected java.util.List<SearchRecord> searchRecords

sforceReserved

protected java.lang.String sforceReserved
Constructor Detail

SearchResult

public SearchResult()
Method Detail

getSearchRecords

public java.util.List<SearchRecord> getSearchRecords()
Gets the value of the searchRecords 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 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


getSforceReserved

public java.lang.String getSforceReserved()
Gets the value of the sforceReserved property.

Returns:
possible object is String

setSforceReserved

public void setSforceReserved(java.lang.String value)
Sets the value of the sforceReserved property.

Parameters:
value - allowed object is String


Copyright © 2011. All Rights Reserved.