com.sforce.soap.partner.DescribeCompactLayoutsResult 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 DescribeCompactLayoutsResult complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DescribeCompactLayoutsResult">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="compactLayouts" type="{urn:partner.soap.sforce.com}DescribeCompactLayout" maxOccurs="unbounded"/>
* <element name="defaultCompactLayoutId" type="{urn:partner.soap.sforce.com}ID"/>
* <element name="recordTypeCompactLayoutMappings" type="{urn:partner.soap.sforce.com}RecordTypeCompactLayoutMapping" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DescribeCompactLayoutsResult", propOrder = {
"compactLayouts",
"defaultCompactLayoutId",
"recordTypeCompactLayoutMappings"
})
public class DescribeCompactLayoutsResult {
@XmlElement(required = true)
protected List compactLayouts;
@XmlElement(required = true)
protected String defaultCompactLayoutId;
@XmlElement(required = true)
protected List recordTypeCompactLayoutMappings;
/**
* Gets the value of the compactLayouts 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 compactLayouts property.
*
*
* For example, to add a new item, do as follows:
*
* getCompactLayouts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DescribeCompactLayout }
*
*
*/
public List getCompactLayouts() {
if (compactLayouts == null) {
compactLayouts = new ArrayList();
}
return this.compactLayouts;
}
/**
* Gets the value of the defaultCompactLayoutId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDefaultCompactLayoutId() {
return defaultCompactLayoutId;
}
/**
* Sets the value of the defaultCompactLayoutId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDefaultCompactLayoutId(String value) {
this.defaultCompactLayoutId = value;
}
/**
* Gets the value of the recordTypeCompactLayoutMappings 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 recordTypeCompactLayoutMappings property.
*
*
* For example, to add a new item, do as follows:
*
* getRecordTypeCompactLayoutMappings().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RecordTypeCompactLayoutMapping }
*
*
*/
public List getRecordTypeCompactLayoutMappings() {
if (recordTypeCompactLayoutMappings == null) {
recordTypeCompactLayoutMappings = new ArrayList();
}
return this.recordTypeCompactLayoutMappings;
}
}