I cannot change any implementations in the existing classes [as i already said they are in LIVE !!].
The scenario for me is like this..
OBJECT1
ATTR1
ATTR2
LIST<OBJECT2> [it may also have list of objects like this]
OBJECT2
ATTR3
ATTR4
I need a generic class called
OBJECT3
Where it should have only attributes of OBJECT1 , when i initialise OBJECT3 with some requirments. I can just go with Fatory creation pattern, but the problem is how to create this object automatically and how to make my code to access only ATTR1 & ATTR2 & List<OBJECT2> when i need my OBJECT3 to act as OBJECT1.
Am i clear ?

