I don't know if i was clear enough, sorry about that.
I meant if you have something like :
public Component<MODEL extends IMODEL<ID>, ID extends Serializable>{
// getter here
public MODEL getModel() { }
// setter here
public void setModel(final MODEL model){ }
}
then, you don't have to do anything, basically all your components like for
example listItem would be :
public ListItem<MODEL extends IModel<ID>,ID extends Serializable> extends
Component<MODEL, ID>{
////// DONT need to override anything here!!!
}
Instead of capture i used an ID, because it makes more sense to have a model
generically typed to a serializable id.
Just some thoughts.
Rick