Interface PicklistValueMetadataCollectionResponse


public interface PicklistValueMetadataCollectionResponse
Provides results from an executed PicklistValueMetadataCollectionRequest
  • Method Details

    • containsPicklistValueName

      boolean containsPicklistValueName(String picklistValueName)
      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

      PicklistValue getPicklistValue(String picklistValueName)
      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