I am using dozer mapper. How i can set my default value to field if it is empty?
Question
i need co convert a lot of string fields, and if field is empty, i want to set my own value. How can i do it?
Write setters to all fields, i think it's not the best solution. Are there options in dozer mapper, for this operation?
Also i can write my own converter, but i want to know, is there any universal solutions?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow