文章详情页
Java Bean 映射工具 Dozer 2.0 发布
浏览:3日期:2024-03-09 18:18:28
Java Bean 映射工具 Dozer 2.0 发布了。Dozer可以在JavaBean到JavaBean之间进行递归数据复制,并且这些JavaBean可以是不同的复杂的类型。所有的mapping,Dozer将会很直接的将名称相同的fields进行复制,如果field名不同,或者有特别的对应要求,则可以在xml中进行定义。新版本主要是为了解决XSD schema 类型和domain objects之间的 SOA mapping 问题。2.0的新特性包括:Context based mappingCollection and Array mapping handling Lists, Sets, Arrays and allowing for class type hintsSupport for custom convertersCustom bean factories for beans that do not follow the JavaBean specificationInheritance mapping including abstract classes and interfacesField exclusion and custom getter() setter() functionality Copy-by-reference and 'self' mappingNull and empty quote source value exclusionBi-directional or one-way mapping String to date mappingData type conversion like String to Integer Wrapper or String to primitiveClass level mapping recursion and deep property mappingSpring integrationMap backed property support8X speed improvement over dozer 1.x
标签:
Java
相关文章:
1. Android PC端用ADB抓取指定应用日志实现步骤2. IntelliJ IDEA 2021.1 EAP 4 发布:字体粗细可调整Git commit template 支持3. Android用RecyclerView实现图标拖拽排序以及增删管理4. Blandware AtLeap 0.5 发布--Java CMS5. 浅谈Android Studio导出javadoc文档操作及问题的解决6. android Web跳转到app指定页面并传递参数实例7. Android自定义日历效果8. Android Studio3.6.3 当前最新版本数据库查找与导出方法(图文详解)9. ASP基础知识Command对象讲解10. 详解Android 消息处理机制
排行榜
