Interface PicklistDependency


public interface PicklistDependency
Provides methods to retrieve picklist dependency metadata.
  • Method Details

    • getControllingPicklistValueName

      String getControllingPicklistValueName()
      Retrieves the name of the controlling value of the given picklist dependency. For example, "us__v".
      Returns:
      the non-null controlling picklist value name
    • getPicklistValueNames

      List<String> getPicklistValueNames()
      Retrieves the dependent picklist value names of the given picklist dependency. The picklist value names are returned in ascending sorting order based on the defined order attribute. For example, "us-al__v", "us-ak__v", "us-az__v".
      Returns:
      a List of the non-null dependent picklist value names