public class DescribeLayoutItem extends 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="editableForNew" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="editableForUpdate" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="layoutComponents" type="{urn:tooling.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>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
editableForNew |
protected boolean |
editableForUpdate |
protected String |
label |
protected List<DescribeLayoutComponent> |
layoutComponents |
protected boolean |
placeholder |
protected boolean |
required |
| Constructor and Description |
|---|
DescribeLayoutItem() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel()
Gets the value of the label property.
|
List<DescribeLayoutComponent> |
getLayoutComponents()
Gets the value of the layoutComponents property.
|
boolean |
isEditableForNew()
Gets the value of the editableForNew property.
|
boolean |
isEditableForUpdate()
Gets the value of the editableForUpdate property.
|
boolean |
isPlaceholder()
Gets the value of the placeholder property.
|
boolean |
isRequired()
Gets the value of the required property.
|
void |
setEditableForNew(boolean value)
Sets the value of the editableForNew property.
|
void |
setEditableForUpdate(boolean value)
Sets the value of the editableForUpdate property.
|
void |
setLabel(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.
|
protected boolean editableForNew
protected boolean editableForUpdate
protected String label
protected List<DescribeLayoutComponent> layoutComponents
protected boolean placeholder
protected boolean required
public boolean isEditableForNew()
public void setEditableForNew(boolean value)
public boolean isEditableForUpdate()
public void setEditableForUpdate(boolean value)
public String getLabel()
Stringpublic void setLabel(String value)
value - allowed object is
Stringpublic List<DescribeLayoutComponent> getLayoutComponents()
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
public boolean isPlaceholder()
public void setPlaceholder(boolean value)
public boolean isRequired()
public void setRequired(boolean value)
Copyright © 2016. All rights reserved.