![JAR search and dependency download from the Maven repository](/logo.png)
com.sforce.soap.partner.DescribeLayoutResult 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 DescribeLayoutResult complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DescribeLayoutResult">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="layouts" type="{urn:partner.soap.sforce.com}DescribeLayout" maxOccurs="unbounded"/>
* <element name="recordTypeMappings" type="{urn:partner.soap.sforce.com}RecordTypeMapping" maxOccurs="unbounded" minOccurs="0"/>
* <element name="recordTypeSelectorRequired" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DescribeLayoutResult", propOrder = {
"layouts",
"recordTypeMappings",
"recordTypeSelectorRequired"
})
public class DescribeLayoutResult {
@XmlElement(required = true)
protected List layouts;
protected List recordTypeMappings;
protected boolean recordTypeSelectorRequired;
/**
* Gets the value of the layouts 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 layouts property.
*
*
* For example, to add a new item, do as follows:
*
* getLayouts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DescribeLayout2 }
*
*
*/
public List getLayouts() {
if (layouts == null) {
layouts = new ArrayList();
}
return this.layouts;
}
/**
* Gets the value of the recordTypeMappings 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 recordTypeMappings property.
*
*
* For example, to add a new item, do as follows:
*
* getRecordTypeMappings().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RecordTypeMapping }
*
*
*/
public List getRecordTypeMappings() {
if (recordTypeMappings == null) {
recordTypeMappings = new ArrayList();
}
return this.recordTypeMappings;
}
/**
* Gets the value of the recordTypeSelectorRequired property.
*
*/
public boolean isRecordTypeSelectorRequired() {
return recordTypeSelectorRequired;
}
/**
* Sets the value of the recordTypeSelectorRequired property.
*
*/
public void setRecordTypeSelectorRequired(boolean value) {
this.recordTypeSelectorRequired = value;
}
}