org.shept.org.springframework.beans.support
Class ChoiceListHolder.ModelWithSelection

java.lang.Object
  extended by org.shept.org.springframework.beans.support.ChoiceListHolder.ModelWithSelection
All Implemented Interfaces:
ModelSupplier
Enclosing class:
ChoiceListHolder<E>

public class ChoiceListHolder.ModelWithSelection
extends Object
implements ModelSupplier


Field Summary
private  Object model
           
private  Boolean selected
           
 
Constructor Summary
ChoiceListHolder.ModelWithSelection(Boolean selected, Object model)
           
 
Method Summary
 Object getModel()
           
 Boolean getSelected()
           
 void setModel(Object model)
           
 void setSelected(Boolean selected)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

selected

private Boolean selected

model

private Object model
Constructor Detail

ChoiceListHolder.ModelWithSelection

public ChoiceListHolder.ModelWithSelection(Boolean selected,
                                           Object model)
Method Detail

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.