public final class DependentComboboxSearchOption extends ExtendedSearchOption
Warning: a dependent options cannot depend on another dependent option.
| Constructor and Description |
|---|
DependentComboboxSearchOption(String code,
String dependeeCode,
Map<String,String[]> valuesMap,
Map<String,String> defaultValues,
String label)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getDefaultValues()
Returns a Map of the dependee values to a default value for this combo
box when that value is selected in the dependee.
|
String |
getDependeeCode()
Returns the unique identifier of the ComboBoxSearchOption that this depends on.
|
Map<String,String[]> |
getValuesMap()
Returns a Map of the dependee values to the set of values that this
combo box should have for each of those values.
|
getCode, getDescription, getLabel, setDescription, toStringpublic DependentComboboxSearchOption(String code, String dependeeCode, Map<String,String[]> valuesMap, Map<String,String> defaultValues, String label)
code - Unique identifier for this optiondependeeCode - Unique identifier of the ComboBoxSearchOption that this depends onvaluesMap - a map from each of the dependee values to the set of values that this
combo box should have for each of those valuesdefaultValues - a map from each of the dependee values to a default value for this
combo box when that value is selected in the dependeelabel - An optional label to display next to the combo-box or null if no labelpublic String getDependeeCode()
public Map<String,String[]> getValuesMap()