Search in sources :

Example 1 with CommonStudyDTO

use of com.odysseusinc.arachne.commons.api.v1.dto.CommonStudyDTO in project ArachneCentralAPI by OHDSI.

the class StudyToCommonStudyDTOConverter method convert.

@Override
public CommonStudyDTO convert(final Study study) {
    final CommonStudyDTO dto = new CommonStudyDTO();
    dto.setId(study.getId());
    dto.setName(study.getTitle());
    return dto;
}
Also used : CommonStudyDTO(com.odysseusinc.arachne.commons.api.v1.dto.CommonStudyDTO)

Aggregations

CommonStudyDTO (com.odysseusinc.arachne.commons.api.v1.dto.CommonStudyDTO)1