com.sforce.soap.partner
Class RelatedList

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

public class RelatedList
extends Object

Java class for RelatedList complex type.

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

 <complexType name="RelatedList">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="columns" type="{urn:partner.soap.sforce.com}RelatedListColumn" maxOccurs="unbounded"/>
         <element name="custom" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="field" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="limitRows" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="sobject" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="sort" type="{urn:partner.soap.sforce.com}RelatedListSort" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<RelatedListColumn> columns
           
protected  boolean custom
           
protected  String field
           
protected  String label
           
protected  int limitRows
           
protected  String name
           
protected  String sobject
           
protected  List<RelatedListSort> sort
           
 
Constructor Summary
RelatedList()
           
 
Method Summary
 List<RelatedListColumn> getColumns()
          Gets the value of the columns property.
 String getField()
          Gets the value of the field property.
 String getLabel()
          Gets the value of the label property.
 int getLimitRows()
          Gets the value of the limitRows property.
 String getName()
          Gets the value of the name property.
 String getSobject()
          Gets the value of the sobject property.
 List<RelatedListSort> getSort()
          Gets the value of the sort property.
 boolean isCustom()
          Gets the value of the custom property.
 void setCustom(boolean value)
          Sets the value of the custom property.
 void setField(String value)
          Sets the value of the field property.
 void setLabel(String value)
          Sets the value of the label property.
 void setLimitRows(int value)
          Sets the value of the limitRows property.
 void setName(String value)
          Sets the value of the name property.
 void setSobject(String value)
          Sets the value of the sobject property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

columns

protected List<RelatedListColumn> columns

custom

protected boolean custom

field

protected String field

label

protected String label

limitRows

protected int limitRows

name

protected String name

sobject

protected String sobject

sort

protected List<RelatedListSort> sort
Constructor Detail

RelatedList

public RelatedList()
Method Detail

getColumns

public List<RelatedListColumn> getColumns()
Gets the value of the columns 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 columns property.

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

    getColumns().add(newItem);
 

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


isCustom

public boolean isCustom()
Gets the value of the custom property.


setCustom

public void setCustom(boolean value)
Sets the value of the custom property.


getField

public String getField()
Gets the value of the field property.

Returns:
possible object is String

setField

public void setField(String value)
Sets the value of the field property.

Parameters:
value - allowed object is String

getLabel

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

Returns:
possible object is String

setLabel

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

Parameters:
value - allowed object is String

getLimitRows

public int getLimitRows()
Gets the value of the limitRows property.


setLimitRows

public void setLimitRows(int value)
Sets the value of the limitRows property.


getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getSobject

public String getSobject()
Gets the value of the sobject property.

Returns:
possible object is String

setSobject

public void setSobject(String value)
Sets the value of the sobject property.

Parameters:
value - allowed object is String

getSort

public List<RelatedListSort> getSort()
Gets the value of the sort 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 sort property.

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

    getSort().add(newItem);
 

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



Copyright © 2012. All Rights Reserved.