
com.palominolabs.crm.sf.soap.jaxwsstub.metadata.QuickAction Maven / Gradle / Ivy
package com.palominolabs.crm.sf.soap.jaxwsstub.metadata;
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 QuickAction complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="QuickAction">
* <complexContent>
* <extension base="{http://soap.sforce.com/2006/04/metadata}Metadata">
* <sequence>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="fieldOverrides" type="{http://soap.sforce.com/2006/04/metadata}FieldOverride" maxOccurs="unbounded" minOccurs="0"/>
* <element name="height" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="icon" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="isProtected" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="page" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="quickActionLayout" type="{http://soap.sforce.com/2006/04/metadata}QuickActionLayout" minOccurs="0"/>
* <element name="targetObject" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="targetParentField" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="targetRecordType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="type" type="{http://soap.sforce.com/2006/04/metadata}QuickActionType"/>
* <element name="width" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "QuickAction", propOrder = {
"description",
"fieldOverrides",
"height",
"icon",
"isProtected",
"label",
"page",
"quickActionLayout",
"targetObject",
"targetParentField",
"targetRecordType",
"type",
"width"
})
public class QuickAction
extends Metadata
{
protected String description;
protected List fieldOverrides;
protected Integer height;
protected String icon;
protected Boolean isProtected;
@XmlElement(required = true)
protected String label;
protected String page;
protected QuickActionLayout quickActionLayout;
protected String targetObject;
protected String targetParentField;
protected String targetRecordType;
@XmlElement(required = true)
protected QuickActionType type;
protected Integer width;
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the fieldOverrides 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 fieldOverrides property.
*
*
* For example, to add a new item, do as follows:
*
* getFieldOverrides().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FieldOverride }
*
*
*/
public List getFieldOverrides() {
if (fieldOverrides == null) {
fieldOverrides = new ArrayList();
}
return this.fieldOverrides;
}
/**
* Gets the value of the height property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getHeight() {
return height;
}
/**
* Sets the value of the height property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setHeight(Integer value) {
this.height = value;
}
/**
* Gets the value of the icon property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIcon() {
return icon;
}
/**
* Sets the value of the icon property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIcon(String value) {
this.icon = value;
}
/**
* Gets the value of the isProtected property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsProtected() {
return isProtected;
}
/**
* Sets the value of the isProtected property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsProtected(Boolean value) {
this.isProtected = 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 page property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPage() {
return page;
}
/**
* Sets the value of the page property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPage(String value) {
this.page = value;
}
/**
* Gets the value of the quickActionLayout property.
*
* @return
* possible object is
* {@link QuickActionLayout }
*
*/
public QuickActionLayout getQuickActionLayout() {
return quickActionLayout;
}
/**
* Sets the value of the quickActionLayout property.
*
* @param value
* allowed object is
* {@link QuickActionLayout }
*
*/
public void setQuickActionLayout(QuickActionLayout value) {
this.quickActionLayout = value;
}
/**
* Gets the value of the targetObject property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTargetObject() {
return targetObject;
}
/**
* Sets the value of the targetObject property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTargetObject(String value) {
this.targetObject = value;
}
/**
* Gets the value of the targetParentField property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTargetParentField() {
return targetParentField;
}
/**
* Sets the value of the targetParentField property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTargetParentField(String value) {
this.targetParentField = value;
}
/**
* Gets the value of the targetRecordType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTargetRecordType() {
return targetRecordType;
}
/**
* Sets the value of the targetRecordType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTargetRecordType(String value) {
this.targetRecordType = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link QuickActionType }
*
*/
public QuickActionType getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link QuickActionType }
*
*/
public void setType(QuickActionType value) {
this.type = value;
}
/**
* Gets the value of the width property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getWidth() {
return width;
}
/**
* Sets the value of the width property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setWidth(Integer value) {
this.width = value;
}
}