All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sforce.soap.tooling.SearchResult Maven / Gradle / Ivy

The newest version!

package com.sforce.soap.tooling;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SearchResult", propOrder = { "queryId", "searchRecords" }) public class SearchResult { @XmlElement(required = true) protected String queryId; protected List searchRecords; /** * Gets the value of the queryId property. * * @return * possible object is * {@link String } * */ public String getQueryId() { return queryId; } /** * Sets the value of the queryId property. * * @param value * allowed object is * {@link String } * */ public void setQueryId(String value) { this.queryId = value; } /** * 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 * {@link SearchRecord } * * */ public List getSearchRecords() { if (searchRecords == null) { searchRecords = new ArrayList(); } return this.searchRecords; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy