Search in sources :

Example 1 with CustomizableEnumValueDto

use of de.symeda.sormas.api.customizableenum.CustomizableEnumValueDto in project SORMAS-Project by hzi-braunschweig.

the class CustomizableEnumFacadeEjb method toDto.

private CustomizableEnumValueDto toDto(CustomizableEnumValue source) {
    if (source == null) {
        return null;
    }
    CustomizableEnumValueDto target = new CustomizableEnumValueDto();
    DtoHelper.fillDto(target, source);
    target.setDataType(source.getDataType());
    target.setValue(source.getValue());
    target.setCaption(source.getCaption());
    target.setTranslations(source.getTranslations());
    target.setDiseases(source.getDiseases());
    target.setDescription(source.getDescription());
    target.setDescriptionTranslations(source.getDescriptionTranslations());
    target.setProperties(source.getProperties());
    return target;
}
Also used : CustomizableEnumValueDto(de.symeda.sormas.api.customizableenum.CustomizableEnumValueDto)

Aggregations

CustomizableEnumValueDto (de.symeda.sormas.api.customizableenum.CustomizableEnumValueDto)1