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="accessLevelRequiredForCreate" type="{urn:tooling.soap.sforce.com}ShareAccessLevel"/>
<element name="buttons" type="{urn:tooling.soap.sforce.com}DescribeLayoutButton" maxOccurs="unbounded" minOccurs="0"/>
<element name="columns" type="{urn:tooling.soap.sforce.com}RelatedListColumn" maxOccurs="unbounded" minOccurs="0"/>
<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:tooling.soap.sforce.com}RelatedListSort" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ShareAccessLevel |
accessLevelRequiredForCreate |
protected List<DescribeLayoutButton> |
buttons |
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 and Description |
|---|
RelatedList() |
| Modifier and Type | Method and Description |
|---|---|
ShareAccessLevel |
getAccessLevelRequiredForCreate()
Gets the value of the accessLevelRequiredForCreate property.
|
List<DescribeLayoutButton> |
getButtons()
Gets the value of the buttons property.
|
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 |
setAccessLevelRequiredForCreate(ShareAccessLevel value)
Sets the value of the accessLevelRequiredForCreate 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.
|
protected ShareAccessLevel accessLevelRequiredForCreate
protected List<DescribeLayoutButton> buttons
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
public ShareAccessLevel getAccessLevelRequiredForCreate()
ShareAccessLevelpublic void setAccessLevelRequiredForCreate(ShareAccessLevel value)
value - allowed object is
ShareAccessLevelpublic List<DescribeLayoutButton> getButtons()
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 buttons property.
For example, to add a new item, do as follows:
getButtons().add(newItem);
Objects of the following type(s) are allowed in the list
DescribeLayoutButton
public List<RelatedListColumn> getColumns()
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
public boolean isCustom()
public void setCustom(boolean value)
public String getField()
Stringpublic void setField(String value)
value - allowed object is
Stringpublic String getLabel()
Stringpublic void setLabel(String value)
value - allowed object is
Stringpublic int getLimitRows()
public void setLimitRows(int value)
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getSobject()
Stringpublic void setSobject(String value)
value - allowed object is
Stringpublic List<RelatedListSort> getSort()
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 © 2016. All rights reserved.