Hi all,
I am trying to bridge two, object models, one is our company DB, the other is from a 3rd Party CRM system.
Some interesting choices where made, and I have ended up with three interface that extend from a common interface, and
one object that implement the three interfaces!!!
So I am trying to "sync" two objects, ourCustomer with crmCustomer, and I am trying to use generics to do this, its work fine, all but for this last bit.
I chose this way as 90% of the code is "generic" between the three Classes, only the sync is really different and proving a headache.
I am hoping you guys can tell me if I am doing this right:
RecordType is the type of the crmRecords, I am using this to provide some form of type safety.
What I am trying to say, is that this method will take as a param an Object that extends from OurCrm and will return an Object of is of that type.
Not sure I explained that well.
Thanks
G