}
@Override
public void setValueAt(Object Value, int rowIndex, int columnIndex) {
Trener trener = objects.get(rowIndex);
switch(columnIndex) {
case -1:
trener.setId((Long)Value);
break;
case 0:
trener.setImie((String)Value);
break;
case 1:
trener.setNazwisko((String)Value);
}
fireTableCellUpdated(rowIndex, columnIndex);
}