文章详情页
Java Bean 映射工具 Dozer 2.0 发布
浏览:26日期: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 Studio连接MySql实现登录注册(附源代码)2. 如果没有 Android 世界会是什么样子?3. android实现简单圆弧效果4. python之 matplotlib和pandas绘图教程5. python中逻辑与或(and、or)和按位与或异或(&、|、^)区别6. Python数据分析之pandas函数详解7. Python Pandas pandas.read_sql_query函数实例用法分析8. python使用pandas抽样训练数据中某个类别实例9. Python Pandas常用函数方法总结10. Python Pandas 对列/行进行选择,增加,删除操作
排行榜

网公网安备