Search in sources :

Example 1 with CountryDTO

use of com.odysseusinc.arachne.portal.api.v1.dto.CountryDTO in project ArachneCentralAPI by OHDSI.

the class CountryToCountryDTOConverter method convert.

@Override
public CountryDTO convert(Country country) {
    CountryDTO dto = new CountryDTO();
    dto.setId(country.getId());
    dto.setName(country.getName());
    dto.setIsoCode(country.getIsoCode());
    return dto;
}
Also used : CountryDTO(com.odysseusinc.arachne.portal.api.v1.dto.CountryDTO)

Aggregations

CountryDTO (com.odysseusinc.arachne.portal.api.v1.dto.CountryDTO)1