com.sforce.soap.partner
Class RelatedList

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

public class RelatedList
extends java.lang.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  java.util.List<RelatedListColumn> columns
           
protected  boolean custom
           
protected  java.lang.String field
           
protected  java.lang.String label
           
protected  int limitRows
           
protected  java.lang.String name
           
protected  java.lang.String sobject
           
protected  java.util.List<RelatedListSort> sort
           
 
Constructor Summary
RelatedList()
           
 
Method Summary
 java.util.List<RelatedListColumn> getColumns()
          Gets the value of the columns property.
 java.lang.String getField()
          Gets the value of the field property.
 java.lang.String getLabel()
          Gets the value of the label property.
 int getLimitRows()
          Gets the value of the limitRows property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getSobject()
          Gets the value of the sobject property.
 java.util.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(java.lang.String value)
          Sets the value of the field property.
 void setLabel(java.lang.String value)
          Sets the value of the label property.
 void setLimitRows(int value)
          Sets the value of the limitRows property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setSobject(java.lang.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 java.util.List<RelatedListColumn> columns

custom

protected boolean custom

field

protected java.lang.String field

label

protected java.lang.String label

limitRows

protected int limitRows

name

protected java.lang.String name

sobject

protected java.lang.String sobject

sort

protected java.util.List<RelatedListSort> sort
Constructor Detail

RelatedList

public RelatedList()
Method Detail

getColumns

public java.util.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 java.lang.String getField()
Gets the value of the field property.

Returns:
possible object is String

setField

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

Parameters:
value - allowed object is String

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

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 java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

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

Parameters:
value - allowed object is String

getSobject

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

Returns:
possible object is String

setSobject

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

Parameters:
value - allowed object is String

getSort

public java.util.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 © 2010. All Rights Reserved.