文章詳情頁(yè)
Java Bean 映射工具 Dozer 2.0 發(fā)布
瀏覽:17日期:2024-03-09 18:18:28
Java Bean 映射工具 Dozer 2.0 發(fā)布了。Dozer可以在JavaBean到JavaBean之間進(jìn)行遞歸數(shù)據(jù)復(fù)制,并且這些JavaBean可以是不同的復(fù)雜的類(lèi)型。所有的mapping,Dozer將會(huì)很直接的將名稱(chēng)相同的fields進(jìn)行復(fù)制,如果field名不同,或者有特別的對(duì)應(yīng)要求,則可以在xml中進(jìn)行定義。新版本主要是為了解決XSD schema 類(lèi)型和domain objects之間的 SOA mapping 問(wèn)題。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
標(biāo)簽:
Java
相關(guān)文章:
1. 詳解Android studio 動(dòng)態(tài)fragment的用法2. Android如何加載Base64編碼格式圖片3. 基于android studio的layout的xml文件的創(chuàng)建方式4. 解決Android studio xml界面無(wú)法預(yù)覽問(wèn)題5. Android table布局開(kāi)發(fā)實(shí)現(xiàn)簡(jiǎn)單計(jì)算器6. 使用Android studio查看Kotlin的字節(jié)碼教程7. spring acegi security 1.0.0 發(fā)布8. android studio新手如何創(chuàng)建項(xiàng)目?androidstudio的使用方法9. Android 在 res/layout 文件夾 下創(chuàng)建一個(gè) 子文件夾實(shí)例10. android studio如何使用真機(jī)測(cè)試app
排行榜

網(wǎng)公網(wǎng)安備