com.sforce.soap.partner
Class DescribeLayoutResult

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

public class DescribeLayoutResult
extends Object

Java class for DescribeLayoutResult complex type.

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

 <complexType name="DescribeLayoutResult">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="layouts" type="{urn:partner.soap.sforce.com}DescribeLayout" maxOccurs="unbounded"/>
         <element name="recordTypeMappings" type="{urn:partner.soap.sforce.com}RecordTypeMapping" maxOccurs="unbounded" minOccurs="0"/>
         <element name="recordTypeSelectorRequired" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<DescribeLayout2> layouts
           
protected  List<RecordTypeMapping> recordTypeMappings
           
protected  boolean recordTypeSelectorRequired
           
 
Constructor Summary
DescribeLayoutResult()
           
 
Method Summary
 List<DescribeLayout2> getLayouts()
          Gets the value of the layouts property.
 List<RecordTypeMapping> getRecordTypeMappings()
          Gets the value of the recordTypeMappings property.
 boolean isRecordTypeSelectorRequired()
          Gets the value of the recordTypeSelectorRequired property.
 void setRecordTypeSelectorRequired(boolean value)
          Sets the value of the recordTypeSelectorRequired property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

layouts

protected List<DescribeLayout2> layouts

recordTypeMappings

protected List<RecordTypeMapping> recordTypeMappings

recordTypeSelectorRequired

protected boolean recordTypeSelectorRequired
Constructor Detail

DescribeLayoutResult

public DescribeLayoutResult()
Method Detail

getLayouts

public List<DescribeLayout2> getLayouts()
Gets the value of the layouts 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 layouts property.

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

    getLayouts().add(newItem);
 

Objects of the following type(s) are allowed in the list DescribeLayout2


getRecordTypeMappings

public List<RecordTypeMapping> getRecordTypeMappings()
Gets the value of the recordTypeMappings 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 recordTypeMappings property.

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

    getRecordTypeMappings().add(newItem);
 

Objects of the following type(s) are allowed in the list RecordTypeMapping


isRecordTypeSelectorRequired

public boolean isRecordTypeSelectorRequired()
Gets the value of the recordTypeSelectorRequired property.


setRecordTypeSelectorRequired

public void setRecordTypeSelectorRequired(boolean value)
Sets the value of the recordTypeSelectorRequired property.



Copyright © 2012. All Rights Reserved.