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