Search in sources :

Example 1 with StateProvinceDTO

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

the class StateProvinceToStateProvinceDTOConverter method convert.

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

Aggregations

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