文章詳情頁
Java Bean 映射工具 Dozer 2.0 發(fā)布
瀏覽:4日期:2024-03-09 18:18:28
Java Bean 映射工具 Dozer 2.0 發(fā)布了。Dozer可以在JavaBean到JavaBean之間進行遞歸數(shù)據(jù)復(fù)制,并且這些JavaBean可以是不同的復(fù)雜的類型。所有的mapping,Dozer將會很直接的將名稱相同的fields進行復(fù)制,如果field名不同,或者有特別的對應(yīng)要求,則可以在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
標(biāo)簽:
Java
相關(guān)文章:
1. Android使用Kotlin實現(xiàn)多節(jié)點進度條2. Android AIDL實現(xiàn)與服務(wù)相互調(diào)用方式3. Android Studio進行APP圖標(biāo)更改的兩種方式總結(jié)4. Android通過Java sdk的方式接入OpenCv的方法5. 基于Android FileProvider 屬性配置詳解及FileProvider多節(jié)點問題6. Android 7.0 運行時權(quán)限彈窗問題的解決7. springboot返回modelandview頁面的實例8. Android WebView 內(nèi)處理302重定向不跳轉(zhuǎn)的解決9. 詳解Android 消息處理機制10. python pandas移動窗口函數(shù)rolling的用法
排行榜
