Package com.veeva.vault.sdk.api.picklist
Interface PicklistValueMetadataCollectionResponse
public interface PicklistValueMetadataCollectionResponse
Provides results from an executed
PicklistValueMetadataCollectionRequest
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsPicklistValueName
(String picklistValueName) Returns true if the received picklist value name is represented within the collection of picklist values.getPicklistValue
(String picklistValueName) Retrieves the specified picklist value if it exists within the response.Returns the entire collection received in the response.
-
Method Details
-
containsPicklistValueName
Returns true if the received picklist value name is represented within the collection of picklist values.- Parameters:
picklistValueName
- name of the picklist value to check for- Returns:
- true if the specified picklist value is present, otherwise false
-
getPicklistValue
Retrieves the specified picklist value if it exists within the response.- Parameters:
picklistValueName
- name of the picklist value to retrieve- Returns:
- the specified
PicklistValue
-
getPicklistValues
List<PicklistValue> getPicklistValues()Returns the entire collection received in the response.- Returns:
- list of
PicklistValue
-