![JAR search and dependency download from the Maven repository](/logo.png)
com.sforce.soap.partner.DescribeSearchLayoutResult Maven / Gradle / Ivy
package com.sforce.soap.partner;
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 DescribeSearchLayoutResult complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DescribeSearchLayoutResult">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="errorMsg" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="limitRows" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="objectType" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="searchColumns" type="{urn:partner.soap.sforce.com}DescribeColumn" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DescribeSearchLayoutResult", propOrder = {
"errorMsg",
"label",
"limitRows",
"objectType",
"searchColumns"
})
public class DescribeSearchLayoutResult {
@XmlElement(required = true, nillable = true)
protected String errorMsg;
@XmlElement(required = true, nillable = true)
protected String label;
@XmlElement(required = true, type = Integer.class, nillable = true)
protected Integer limitRows;
@XmlElement(required = true)
protected String objectType;
@XmlElement(nillable = true)
protected List searchColumns;
/**
* Gets the value of the errorMsg property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getErrorMsg() {
return errorMsg;
}
/**
* Sets the value of the errorMsg property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setErrorMsg(String value) {
this.errorMsg = value;
}
/**
* Gets the value of the label property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* Sets the value of the label property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* Gets the value of the limitRows property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getLimitRows() {
return limitRows;
}
/**
* Sets the value of the limitRows property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setLimitRows(Integer value) {
this.limitRows = value;
}
/**
* Gets the value of the objectType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getObjectType() {
return objectType;
}
/**
* Sets the value of the objectType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setObjectType(String value) {
this.objectType = value;
}
/**
* Gets the value of the searchColumns 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 searchColumns property.
*
*
* For example, to add a new item, do as follows:
*
* getSearchColumns().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DescribeColumn }
*
*
*/
public List getSearchColumns() {
if (searchColumns == null) {
searchColumns = new ArrayList();
}
return this.searchColumns;
}
}