I am stuck with the design problem. I could not come up with any good solution. Here is the problem statement.
I have set of devices, each of these devices has some common properties and behavior. Each device may contain 1 or more than one other type of devices connected to it. For example : If there are 4 set of devices A,B,C,D and A being the root of all the devices.
A will have one or many B devices.
B will have one or many C devices.
C will have one or many D devices.
All these different set of devices have some common properties while some are exclusive to themselves.
I have to create a report which will read the data from these objects and read it to file. Report is in XML format and will depict hierarchy of whole system.
How could I approach this problem ? Any suggestion comment would be of great help.
Aucun commentaire:
Enregistrer un commentaire