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;
}
Aggregations