Hi guys, I am reading through the code and I came across 2 types of objects. One is common.Device and the other is core.Device. As I understood the common.Device is the business object (POJO) and core.Device is the DTO. I found a convertDevice() method in DeviceManagementDAOUtil which converts the business object to a DTO object.
I have implemented a getDevices by type method which returns DTO objects. I will implement convertDevice method that converts DTOs to Business objects. Cheers~ -- Dulitha Wijewantha (Chan) Software Engineer - Mobile Development WSO2 Inc Lean.Enterprise.Mobileware * ~Email [email protected] <[email protected]>* * ~Mobile +94712112165* * ~Website dulitha.me <http://dulitha.me>* * ~Twitter @dulitharw <https://twitter.com/dulitharw>* *~Github @dulichan <https://github.com/dulichan>* *~SO @chan <http://stackoverflow.com/users/813471/chan>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
