com.sforce.soap.tooling.DescribeLayout Maven / Gradle / Ivy
Show all versions of sforce-tooling-api Show documentation
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="layoutName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="recordTypeIds" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"type",
"layoutName",
"recordTypeIds"
})
@XmlRootElement(name = "describeLayout")
public class DescribeLayout {
@XmlElement(required = true)
protected String type;
@XmlElement(required = true)
protected String layoutName;
protected List recordTypeIds;
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the layoutName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLayoutName() {
return layoutName;
}
/**
* Sets the value of the layoutName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLayoutName(String value) {
this.layoutName = value;
}
/**
* Gets the value of the recordTypeIds 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 recordTypeIds property.
*
*
* For example, to add a new item, do as follows:
*
* getRecordTypeIds().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getRecordTypeIds() {
if (recordTypeIds == null) {
recordTypeIds = new ArrayList();
}
return this.recordTypeIds;
}
}