public interface Picklist
Modifier and Type | Method and Description |
---|---|
String |
getLabel()
Retrieves this
Picklist 's UI label. |
PicklistValue |
getPicklistValue(String picklistValueName)
Retrieves a
PicklistValue object for a specific picklist value name. |
String getLabel()
Picklist
's UI label. Depending on the method used to retrieve this
Picklist
, the label may be in the vault's base language or the user's language. Learn more about
base language and user language in Vault Help.
If this Picklist
was retrieved with PicklistService.getPicklist(String)
, the label is in the
vault's base language. If no label exists in the vault's base language, returns the label in English.
If this Picklist
was retrieved with PicklistService.getPicklist(PicklistRequest)
, the label is
in the user's language. If no label exists in the user's language, returns the label in the vault's base language.
If no label exists in the vault's base language either, returns the label in English.
PicklistValue getPicklistValue(String picklistValueName)
PicklistValue
object for a specific picklist value name.picklistValueName
- the name of a picklist valuePicklistValue
object for the picklist value name specified in the parameterCopyright © Veeva Systems 2017–2021. All rights reserved.