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

10 lines
228 B
Java
Raw Normal View History

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