All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sforce.soap.tooling.DescribeLayoutItem Maven / Gradle / Ivy

The newest version!

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.XmlType;


/**
 * 

Java class for DescribeLayoutItem complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="DescribeLayoutItem">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="editableForNew" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="editableForUpdate" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="layoutComponents" type="{urn:tooling.soap.sforce.com}DescribeLayoutComponent" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="placeholder" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="required" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DescribeLayoutItem", propOrder = { "editableForNew", "editableForUpdate", "label", "layoutComponents", "placeholder", "required" }) public class DescribeLayoutItem { protected boolean editableForNew; protected boolean editableForUpdate; @XmlElement(required = true) protected String label; protected List layoutComponents; protected boolean placeholder; protected boolean required; /** * Gets the value of the editableForNew property. * */ public boolean isEditableForNew() { return editableForNew; } /** * Sets the value of the editableForNew property. * */ public void setEditableForNew(boolean value) { this.editableForNew = value; } /** * Gets the value of the editableForUpdate property. * */ public boolean isEditableForUpdate() { return editableForUpdate; } /** * Sets the value of the editableForUpdate property. * */ public void setEditableForUpdate(boolean value) { this.editableForUpdate = 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 layoutComponents 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 layoutComponents property. * *

* For example, to add a new item, do as follows: *

     *    getLayoutComponents().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DescribeLayoutComponent } * * */ public List getLayoutComponents() { if (layoutComponents == null) { layoutComponents = new ArrayList(); } return this.layoutComponents; } /** * Gets the value of the placeholder property. * */ public boolean isPlaceholder() { return placeholder; } /** * Sets the value of the placeholder property. * */ public void setPlaceholder(boolean value) { this.placeholder = value; } /** * Gets the value of the required property. * */ public boolean isRequired() { return required; } /** * Sets the value of the required property. * */ public void setRequired(boolean value) { this.required = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy