@SuppressWarnings("unchecked")
 @Override
 public Lote getRowData(String rowKey) {
   // TODO Auto-generated method stub
   Long loteId = Long.parseLong(rowKey);
   List<Lote> list = (List<Lote>) getWrappedData();
   for (Lote lote : list) {
     if (lote.getId().equals(loteId)) {
       return lote;
     }
   }
   return null;
   // return super.getRowData(rowKey);
 }
 @Override
 public Object getRowKey(Lote object) {
   // TODO Auto-generated method stub
   return object.getId();
 }