vendredi 7 octobre 2016

Need sggestion for a suitable design pattern

Below is my existing architecture of classes. I am looking for a suitable design patter so that I may eliminate duplication of methods in classes.

enter image description here

So far I have been able to design it like this, but still some methods are common in three classes and one is common abstract method (i.e getData() ) which is in declared in BaseClass and implemented in Child classed are there which I have not able to manage :

enter image description here

Aucun commentaire:

Enregistrer un commentaire