argos/dmp-backend/web/src/main/java/eu/eudat/models/DataModel.java

13 lines
249 B
Java
Raw Normal View History

2017-12-15 00:01:26 +01:00
package eu.eudat.models;
2018-03-21 11:16:32 +01:00
import eu.eudat.queryable.queryableentity.DataEntity;
2018-02-16 11:34:02 +01:00
public interface DataModel<T extends DataEntity, M extends DataModel> {
2018-02-16 08:45:18 +01:00
M fromDataModel(T entity);
2018-02-16 11:34:02 +01:00
2018-01-17 13:03:51 +01:00
T toDataModel() throws Exception;
2018-02-16 11:34:02 +01:00
2018-01-19 10:31:05 +01:00
String getHint();
}