@Override
public Object getValueAt(int row, int col) {
if (dbObjects == null || dbObjects.size() == 0)
return null;
Service service = (Service) dbObjects.get(row);
switch (col) {
case 0:
return service.getId();
case 1:
return service.getName();
case 2:
return service.getServiceType();
case 3:
return service.getPrice();
case 4:
return service.getFees();
case 5:
return service.getCharge();
case 6:
service.getNotes();
default:
return null;
}
}