com.sforce.soap.partner
Class DescribeLayoutItem

java.lang.Object
  extended by com.sforce.soap.partner.DescribeLayoutItem

public class DescribeLayoutItem
extends java.lang.Object

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="editable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="layoutComponents" type="{urn:partner.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>
 


Field Summary
protected  boolean editable
           
protected  java.lang.String label
           
protected  java.util.List<DescribeLayoutComponent> layoutComponents
           
protected  boolean placeholder
           
protected  boolean required
           
 
Constructor Summary
DescribeLayoutItem()
           
 
Method Summary
 java.lang.String getLabel()
          Gets the value of the label property.
 java.util.List<DescribeLayoutComponent> getLayoutComponents()
          Gets the value of the layoutComponents property.
 boolean isEditable()
          Gets the value of the editable property.
 boolean isPlaceholder()
          Gets the value of the placeholder property.
 boolean isRequired()
          Gets the value of the required property.
 void setEditable(boolean value)
          Sets the value of the editable property.
 void setLabel(java.lang.String value)
          Sets the value of the label property.
 void setPlaceholder(boolean value)
          Sets the value of the placeholder property.
 void setRequired(boolean value)
          Sets the value of the required property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

editable

protected boolean editable

label

protected java.lang.String label

layoutComponents

protected java.util.List<DescribeLayoutComponent> layoutComponents

placeholder

protected boolean placeholder

required

protected boolean required
Constructor Detail

DescribeLayoutItem

public DescribeLayoutItem()
Method Detail

isEditable

public boolean isEditable()
Gets the value of the editable property.


setEditable

public void setEditable(boolean value)
Sets the value of the editable property.


getLabel

public java.lang.String getLabel()
Gets the value of the label property.

Returns:
possible object is String

setLabel

public void setLabel(java.lang.String value)
Sets the value of the label property.

Parameters:
value - allowed object is String

getLayoutComponents

public java.util.List<DescribeLayoutComponent> getLayoutComponents()
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 DescribeLayoutComponent


isPlaceholder

public boolean isPlaceholder()
Gets the value of the placeholder property.


setPlaceholder

public void setPlaceholder(boolean value)
Sets the value of the placeholder property.


isRequired

public boolean isRequired()
Gets the value of the required property.


setRequired

public void setRequired(boolean value)
Sets the value of the required property.



Copyright © 2010. All Rights Reserved.