2018-03-21 11:16:32 +01:00
|
|
|
package eu.eudat.queryable.queryableentity;
|
2017-12-09 23:31:07 +01:00
|
|
|
|
2018-10-02 16:33:58 +02:00
|
|
|
import javax.persistence.Tuple;
|
|
|
|
import java.util.List;
|
|
|
|
|
2019-05-21 17:17:41 +02:00
|
|
|
public interface DataEntity<T, K> {
|
|
|
|
void update(T entity);
|
|
|
|
|
|
|
|
K getKeys();
|
|
|
|
|
|
|
|
T buildFromTuple(List<Tuple> tuple, List<String> fields, String base);
|
2017-12-09 23:31:07 +01:00
|
|
|
}
|