@Override
 public Object getObject() {
   Object[] row = myList.get(0);
   ItemCondition ic = new ItemCondition();
   ic.setItem((String) ((Selector) row[0]).getValue());
   ic.setAmount((int) row[1]);
   ic.setAffiliation((String) ((Selector) row[2]).getValue());
   return ic;
 }
  @Override
  public void loadObject(Object object) {
    myList.clear();
    ItemCondition ic = (ItemCondition) object;

    Object[] row = new Object[myColumnNames.length];
    row[0] = new Selector(myED.getNames(GridConstants.ITEM), ic.getItem());
    row[1] = ic.getAmount();
    row[2] = new Selector(myED.getNames(GridConstants.TEAM), ic.getAffiliation());
    addNewRow(row);
  }