tableData[i][j++] = shift.getName();
tableData[i][j++] = sdf.format(shift.getFromTime());
tableData[i][j++] = sdf.format(shift.getToTime());
for (Object obj : rolesList) {
Role role = (Role) obj;
if (role.getRoleId() == shift.getIdWorkshiftRole()) {
tableData[i][j++] = role.getName();
break;
}
}
//tableData[i][j++] = shift.getIdWorkshiftRole(); //predelat na jmeno role
tableData[i][j++] = shift.getStatus();