Search in sources :

Example 1 with PaperStudyDataSource

use of com.odysseusinc.arachne.portal.model.PaperStudyDataSource in project ArachneCentralAPI by OHDSI.

the class StudyDataSourceLinkToPaperStudyDataSourceConverter method convert.

@Override
public PaperStudyDataSource convert(StudyDataSourceLink studyDataSourceLink) {
    final PaperStudyDataSource studyDataSource = new PaperStudyDataSource();
    final IDataSource dataSource = studyDataSourceLink.getDataSource();
    studyDataSource.setDataSource(dataSource);
    return studyDataSource;
}
Also used : PaperStudyDataSource(com.odysseusinc.arachne.portal.model.PaperStudyDataSource) IDataSource(com.odysseusinc.arachne.portal.model.IDataSource)

Aggregations

IDataSource (com.odysseusinc.arachne.portal.model.IDataSource)1 PaperStudyDataSource (com.odysseusinc.arachne.portal.model.PaperStudyDataSource)1