2013-10-24 14:58:56 +02:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
2013-10-24 15:32:03 +02:00
|
|
|
package org.gcube.portlets.user.td.csvimportwidget.client.data;
|
2013-10-24 14:58:56 +02:00
|
|
|
|
|
|
|
import com.sencha.gxt.data.shared.ModelKeyProvider;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author "Federico De Faveri defaveri@isti.cnr.it"
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public class CSVRowKeyProvider implements ModelKeyProvider<CSVRow> {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* {@inheritDoc}
|
|
|
|
*/
|
|
|
|
public String getKey(CSVRow item) {
|
|
|
|
return item.getId();
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|