2017-12-15 00:01:26 +01:00
|
|
|
package eu.eudat.models;
|
2017-12-09 23:31:07 +01:00
|
|
|
|
2017-12-15 00:01:26 +01:00
|
|
|
import eu.eudat.entities.DataEntity;
|
2017-12-09 23:31:07 +01:00
|
|
|
|
|
|
|
public interface DataModel<T extends DataEntity> {
|
|
|
|
void fromDataModel(T entity) throws InstantiationException, IllegalAccessException;
|
2018-01-17 13:03:51 +01:00
|
|
|
T toDataModel() throws Exception;
|
2018-01-19 10:31:05 +01:00
|
|
|
String getHint();
|
2017-12-09 23:31:07 +01:00
|
|
|
}
|