Package adalid.commons.list
Class ListOptionBean
- java.lang.Object
-
- adalid.commons.list.ListOptionBean
-
- All Implemented Interfaces:
ListOption
public class ListOptionBean extends Object implements ListOption
- Author:
- Jorge Campins
-
-
Constructor Summary
Constructors Constructor Description ListOptionBean(Object optionValue, String optionLabel)ListOptionBean(Object optionValue, String optionLabel, String optionDescription)ListOptionBean(Object optionValue, String optionLabel, String optionDescription, boolean optionDisabled)ListOptionBean(Object optionValue, String optionLabel, String optionDescription, boolean optionDisabled, boolean noSelectionOption)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetOptionDescription()StringgetOptionLabel()ObjectgetOptionValue()booleanisNoSelectionOption()booleanisOptionDisabled()voidsetNoSelectionOption(boolean noSelectionOption)voidsetOptionDescription(String optionDescription)voidsetOptionDisabled(boolean optionDisabled)voidsetOptionLabel(String optionLabel)voidsetOptionValue(Object optionValue)
-
-
-
Method Detail
-
getOptionValue
public Object getOptionValue()
- Specified by:
getOptionValuein interfaceListOption
-
setOptionValue
public void setOptionValue(Object optionValue)
-
getOptionLabel
public String getOptionLabel()
- Specified by:
getOptionLabelin interfaceListOption
-
setOptionLabel
public void setOptionLabel(String optionLabel)
-
getOptionDescription
public String getOptionDescription()
- Specified by:
getOptionDescriptionin interfaceListOption
-
setOptionDescription
public void setOptionDescription(String optionDescription)
-
isOptionDisabled
public boolean isOptionDisabled()
- Specified by:
isOptionDisabledin interfaceListOption
-
setOptionDisabled
public void setOptionDisabled(boolean optionDisabled)
-
isNoSelectionOption
public boolean isNoSelectionOption()
- Specified by:
isNoSelectionOptionin interfaceListOption
-
setNoSelectionOption
public void setNoSelectionOption(boolean noSelectionOption)
-
-