文章詳情頁
Java Bean 映射工具 Dozer 2.0 發(fā)布
瀏覽:3日期: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
標簽:
Java
相關(guān)文章:
1. 7 個讓你意想不到的 Android 系統(tǒng)應(yīng)用領(lǐng)域2. 解決Android Studio Log.v和Log.d不顯示的問題3. 對python pandas中 inplace 參數(shù)的理解4. Android通用流行框架大全5. Android studio配置國內(nèi)鏡像源的實現(xiàn)6. Android Studio 4.0新特性及升級異常問題的解決方案7. Android 高效圖片壓縮的實現(xiàn)8. android studio的安裝(史上最詳細)9. flappy bird游戲源代碼揭秘和下載 —— 可運行于android、ios和html5多平臺10. Android 啟動頁白屏解決方案
排行榜
