简体   繁体   English

推土机从字符串列表到另一个列表的映射

[英]Dozer mapping from list of Strings to another list

I need to map two objects. 我需要映射两个对象。

Object 1 having list of primitive String Object 2 having list of custom objects. 具有原始字符串列表的对象1具有自定义对象列表的对象2。

Is this possible in Dozer? 推土机有可能吗?

You could write a CustomConverter to handle these objects. 您可以编写一个CustomConverter来处理这些对象。 I don't think this is working out of the box. 我不认为这是开箱即用的。 Check the Customer Converter documentation. 查看客户转换器文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM