I am at the moment struggling with which design pattern should I use. My situation is as follows:
-
I have a few existing classes e.g. Address, Client and Invoices.
-
I need to create a class let's say a javabean that comprises possibly all fields from above mentioned classes as its getters and setters.
-
Later on, I can create a object of the javabean and assign it to a Jasperreport as its datasource.
Can anyone suggest me which design pattern would ease my job as I don't want to reinvent the wheel? Thank you.
Aucun commentaire:
Enregistrer un commentaire