Search in sources :

Example 1 with CommonAnalysisFileDTO

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

the class SubmissionFileToCommonAnalysisFileDTOConverter method convert.

@Override
public CommonAnalysisFileDTO convert(SubmissionFile submissionFile) {
    CommonAnalysisFileDTO dto = new CommonAnalysisFileDTO();
    dto.setContentType(submissionFile.getContentType());
    dto.setFileName(submissionFile.getRealName());
    dto.setUuid(submissionFile.getUuid());
    return dto;
}
Also used : CommonAnalysisFileDTO(com.odysseusinc.arachne.commons.api.v1.dto.CommonAnalysisFileDTO)

Aggregations

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