2018-06-27 12:29:21 +02:00
|
|
|
package eu.eudat.models.data.datasetwizard;
|
2017-12-20 15:52:09 +01:00
|
|
|
|
2018-03-21 11:57:56 +01:00
|
|
|
import eu.eudat.data.entities.DMP;
|
2017-12-20 15:52:09 +01:00
|
|
|
import eu.eudat.models.DataModel;
|
|
|
|
|
2018-02-01 10:08:06 +01:00
|
|
|
|
2018-02-16 11:34:02 +01:00
|
|
|
public class DataManagentPlanListingModel implements DataModel<DMP, DataManagentPlanListingModel> {
|
2017-12-20 15:52:09 +01:00
|
|
|
|
|
|
|
private String id;
|
|
|
|
private String label;
|
|
|
|
|
|
|
|
public String getId() {
|
|
|
|
return id;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setId(String id) {
|
|
|
|
this.id = id;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getLabel() {
|
|
|
|
return label;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setLabel(String label) {
|
|
|
|
this.label = label;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2018-02-16 08:45:18 +01:00
|
|
|
public DataManagentPlanListingModel fromDataModel(DMP entity) {
|
2017-12-20 15:52:09 +01:00
|
|
|
this.id = entity.getId().toString();
|
|
|
|
this.label = entity.getLabel();
|
2018-02-16 08:45:18 +01:00
|
|
|
return this;
|
2017-12-20 15:52:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public DMP toDataModel() {
|
|
|
|
return null;
|
|
|
|
}
|
2018-01-19 10:31:05 +01:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getHint() {
|
|
|
|
return null;
|
|
|
|
}
|
2017-12-20 15:52:09 +01:00
|
|
|
}
|