com.force.sdk.jpa.model
Interface PicklistValueEnum


public interface PicklistValueEnum

Java model interface for a Force.com picklist value enum.

Author:
Tim Kral

Method Summary
 boolean isActive()
          Whether is a picklist value is active and available for selection.
 boolean isDefaultValue()
          Default values are the picklist values that would be selected automatically.
 String label()
          The label of a picklist item (i.e.
 String value()
          The db value of a picklist item.
 

Method Detail

isActive

boolean isActive()
Whether is a picklist value is active and available for selection.

Returns:
true if this picklist value is active

isDefaultValue

boolean isDefaultValue()
Default values are the picklist values that would be selected automatically.

Returns:
true if this picklist item is the default selection

label

String label()
The label of a picklist item (i.e. what would be displayed to a user).

Returns:
the label of this picklist item

value

String value()
The db value of a picklist item.

Returns:
the value stored in the database for this picklist item


Copyright © 2011. All Rights Reserved.