public class RecordType extends Metadata
Java class for RecordType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RecordType">
<complexContent>
<extension base="{urn:metadata.tooling.soap.sforce.com}Metadata">
<sequence>
<element name="active" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="businessProcess" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="compactLayoutAssignment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="picklistValues" type="{urn:metadata.tooling.soap.sforce.com}RecordTypePicklistValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
active |
protected String |
businessProcess |
protected String |
compactLayoutAssignment |
protected String |
description |
protected String |
label |
protected List<RecordTypePicklistValue> |
picklistValues |
| Constructor and Description |
|---|
RecordType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBusinessProcess()
Gets the value of the businessProcess property.
|
String |
getCompactLayoutAssignment()
Gets the value of the compactLayoutAssignment property.
|
String |
getDescription()
Gets the value of the description property.
|
String |
getLabel()
Gets the value of the label property.
|
List<RecordTypePicklistValue> |
getPicklistValues()
Gets the value of the picklistValues property.
|
boolean |
isActive()
Gets the value of the active property.
|
void |
setActive(boolean value)
Sets the value of the active property.
|
void |
setBusinessProcess(String value)
Sets the value of the businessProcess property.
|
void |
setCompactLayoutAssignment(String value)
Sets the value of the compactLayoutAssignment property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setLabel(String value)
Sets the value of the label property.
|
protected boolean active
protected String businessProcess
protected String compactLayoutAssignment
protected String description
protected String label
protected List<RecordTypePicklistValue> picklistValues
public boolean isActive()
public void setActive(boolean value)
public String getBusinessProcess()
Stringpublic void setBusinessProcess(String value)
value - allowed object is
Stringpublic String getCompactLayoutAssignment()
Stringpublic void setCompactLayoutAssignment(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getLabel()
Stringpublic void setLabel(String value)
value - allowed object is
Stringpublic List<RecordTypePicklistValue> getPicklistValues()
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 picklistValues property.
For example, to add a new item, do as follows:
getPicklistValues().add(newItem);
Objects of the following type(s) are allowed in the list
RecordTypePicklistValue
Copyright © 2016. All rights reserved.