@Override
public Object getValueAt(int row, int col) {
if (dbObjects == null || dbObjects.size() == 0)
return null;
Employee employee = (Employee) dbObjects.get(row);
switch (col) {
case 0:
return employee.getId();
case 1:
return employee.getEmpNo();
case 2:
return employee.getFullName();
case 3:
return employee.getIdNo();
case 4:
return employee.getWorkPhoneNo();
case 5:
return employee.getMobilePhoneNo();
default:
return null;
}
}