org.shept.org.springframework.beans.support
Class ChoiceListHolder.ModelWithSelection
java.lang.Object
org.shept.org.springframework.beans.support.ChoiceListHolder.ModelWithSelection
- All Implemented Interfaces:
- ModelSupplier
- Enclosing class:
- ChoiceListHolder<E>
public class ChoiceListHolder.ModelWithSelection
- extends Object
- implements ModelSupplier
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
selected
private Boolean selected
model
private Object model
ChoiceListHolder.ModelWithSelection
public ChoiceListHolder.ModelWithSelection(Boolean selected,
Object model)
getSelected
public Boolean getSelected()
- Returns:
- the selection mark
setSelected
public void setSelected(Boolean selected)
- Parameters:
selected - the selected to set
getModel
public Object getModel()
- Specified by:
getModel in interface ModelSupplier
- Returns:
- the item
setModel
public void setModel(Object model)
- Parameters:
item - the item to set
Copyright © 2011. All Rights Reserved.