}
@Override
public Object getValueAt(int row, int col) {
try {
DirectionLocal directionLocal = dirList.get(row).getDirection(null);
switch (col) {
case COL_DIRMEM_ID: {
return dirList.get(row).getId();
}
case COL_CLIENT: {
return directionLocal.getSerrenLocal().getPolisData().getClient().getFIO();
}
case COL_DATE: {
return (new SimpleDateFormat("dd.MM.yyyy")).format(directionLocal.getDate());
}
case COL_MKB: {
return directionLocal.getMkb();
}
case COL_REASON: {
return directionLocal.getCommitteeReason();
}
case COL_DESC: {
return directionLocal.getDescription();
}
case COL_COLLAB: {
return directionLocal.getSerrenLocal().getSerRenDirector();
}
}
} catch (ClipsException ex) {
return new ErrorValue(ex);
}