@Override public Object getValueAt(int row, int col) { GroupWrapper option = getObject(row); switch (Cols.values()[col]) { case groupName: return option.getGroupName(); case description: return option.getDescription(); case courses: return option.getCourses(); case tutor: return option.getTutor(); case participant: return option.getParticipant(); default: return option; } }