public class RecordTypePicklistValue extends Object
Java class for RecordTypePicklistValue complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RecordTypePicklistValue">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="picklist" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="values" type="{urn:metadata.tooling.soap.sforce.com}PicklistValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
picklist |
protected List<PicklistValue> |
values |
| Constructor and Description |
|---|
RecordTypePicklistValue() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPicklist()
Gets the value of the picklist property.
|
List<PicklistValue> |
getValues()
Gets the value of the values property.
|
void |
setPicklist(String value)
Sets the value of the picklist property.
|
protected String picklist
protected List<PicklistValue> values
public String getPicklist()
Stringpublic void setPicklist(String value)
value - allowed object is
Stringpublic List<PicklistValue> getValues()
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 values property.
For example, to add a new item, do as follows:
getValues().add(newItem);
Objects of the following type(s) are allowed in the list
PicklistValue
Copyright © 2016. All rights reserved.