dimanche 6 novembre 2016

Design Pattern for three levels of variation - Probably Strategy

How can I design classes better adhering design patterns for the below scenario.

  • There are different types Reconciliations processing happening.
  • Each Reconciliations uses one or more Artifacts and producing one or more Artifacts as result.
  • Artifacts can be of any file type such as Excel or Text, and different classes needed to read and write them accordingly.
  • Artifacts belongs to certain category such as Sales or Customer etc and thus need to read and write them differently (Content structure).

What comes to my mind is that three levels of Strategy each for Reconciliation Types, Artifact File Types and Artifact Content Format. But I am not sure whether it is correct and if it is right how to connect them correctly.

Aucun commentaire:

Enregistrer un commentaire