@SuppressWarnings("unchecked")
  @Override
  public CrmOdontologyStomatolog getRowData(String rowKey) {
    // In a real app, a more efficient way like a query by rowKey should be
    // implemented to deal with huge data

    List<CrmOdontologyStomatolog> list = (List<CrmOdontologyStomatolog>) getWrappedData();

    for (CrmOdontologyStomatolog row : list) {
      if (row.getId().equals(rowKey)) return row;
    }

    return null;
  }
 @Override
 public Object getRowKey(CrmOdontologyStomatolog row) {
   return row.getId();
 }