private void model2Container( final PhaseDataCompetition phaseData, final BeanItemContainer<TimeEntry> itemContainer) { itemContainer.removeAllItems(); itemContainer.addAll(phaseData.getEntries()); }
private void container2Model( final BeanItemContainer<TimeEntry> itemContainer, final PhaseDataCompetition phaseData) { final List<TimeEntry> entries = phaseData.getEntries(); entries.clear(); entries.addAll(itemContainer.getItemIds()); }