文章詳情頁
Java Bean 映射工具 Dozer 2.0 發(fā)布
瀏覽:9日期:2024-03-09 18:18:28
Java Bean 映射工具 Dozer 2.0 發(fā)布了。Dozer可以在JavaBean到JavaBean之間進行遞歸數(shù)據(jù)復制,并且這些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 4.1沒有GsonFormat插件的解決2. android判斷應用是否已經啟動的實例3. 2018 年初值得關注的 25 個新 Android 庫和項目4. 創(chuàng)建Android守護進程實例(底層服務)5. android利用剪切板傳遞數(shù)據(jù)6. android使用ViewPager實現(xiàn)圖片自動切換7. 利用Android兩行代碼真正殺死你的App8. Android實現(xiàn)View滑動效果的6種方法9. 解決Android Studio XML編輯界面不顯示下面的Text和Design選項卡10. Android PC端用ADB抓取指定應用日志實現(xiàn)步驟
排行榜