Interface OptionFetcher<T>
- Type Parameters:
T
- The field type. E.g. a Long or String.
- All Known Implementing Classes:
EnumOptionFetcher
public interface OptionFetcher<T>
Defines an Option Fetcher API.
- Since:
- 4.1.0
- Author:
- Sergio del Amo
-
Method Summary
-
Method Details
-
generate
- Parameters:
type
- The Field Type- Returns:
- A list of options
-
generate
- Parameters:
instance
- The Field instance- Returns:
- A list of options
-