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

com.sforce.soap.tooling.FieldLayoutComponent 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 FieldLayoutComponent complex type. * *

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

 * <complexType name="FieldLayoutComponent">
 *   <complexContent>
 *     <extension base="{urn:tooling.soap.sforce.com}FieldComponent">
 *       <sequence>
 *         <element name="components" type="{urn:tooling.soap.sforce.com}DescribeLayoutComponent" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="fieldType" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "FieldLayoutComponent", propOrder = { "components", "fieldType" }) public class FieldLayoutComponent extends FieldComponent { protected List components; @XmlElement(required = true) protected String fieldType; /** * Gets the value of the components 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 components property. * *

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

     *    getComponents().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DescribeLayoutComponent } * * */ public List getComponents() { if (components == null) { components = new ArrayList(); } return this.components; } /** * Gets the value of the fieldType property. * * @return * possible object is * {@link String } * */ public String getFieldType() { return fieldType; } /** * Sets the value of the fieldType property. * * @param value * allowed object is * {@link String } * */ public void setFieldType(String value) { this.fieldType = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy