@Override
public Object getValueAt(int row, int col) {
if (dbObjects == null || dbObjects.size() == 0)
return null;
DBObject dbObject = dbObjects.get(row);
switch (col) {
case 0:
return dbObject.getId();
case 1:
return dbObject.getName();
case 2:
return dbObject.getNotes();
default:
return null;
}
}