Interface I_CmsAttributeSelectData.AttributeDefinition
- Enclosing interface:
- I_CmsAttributeSelectData
public static interface I_CmsAttributeSelectData.AttributeDefinition
AutoBean interface for a filter attribute definition.
-
Method Summary
Modifier and TypeMethodDescriptionGets the default option (initially selected).getLabel()
Gets the attribute label.getName()
Gets the attribute name.Gets the neutral option, which is chosen when a pre-existing value is not among the current options for the main select widget.Gets the list of all options.void
setDefaultOption
(String defaultOption) Sets the default option (initially selected).void
Sets the label.void
Sets the attribute name.void
setNeutralOption
(String neutralOption) Sets the neutral option (will be set when a pre-existing value is not among the current options)void
setOptions
(List<I_CmsAttributeSelectData.Option> options) Sets the options.
-
Method Details
-
getDefaultOption
Gets the default option (initially selected).- Returns:
- the default option
-
getLabel
Gets the attribute label.- Returns:
- the attribute label
-
getName
Gets the attribute name.- Returns:
- the attribute name
-
getNeutralOption
Gets the neutral option, which is chosen when a pre-existing value is not among the current options for the main select widget.- Returns:
- the neutral optiob
-
getOptions
Gets the list of all options.- Returns:
- the list of all options
-
setDefaultOption
Sets the default option (initially selected).- Parameters:
defaultOption
- the default option
-
setLabel
Sets the label.- Parameters:
label
- the label
-
setName
Sets the attribute name.- Parameters:
name
- the attribute name
-
setNeutralOption
Sets the neutral option (will be set when a pre-existing value is not among the current options)- Parameters:
neutralOption
- the neutral option
-
setOptions
Sets the options.- Parameters:
options
- the list of options
-