jeudi 19 février 2015

how to design interface and classes for this requirement


Below are the requirements for the design.




  1. User will select parameters Lets say, date range, chart type(line chart or bar chart)

  2. Pass this paramters to database to get DataSet, Dataset has multiple implementation like BarChartDataSet, PieChartDataSet

  3. Business logic classes for different dataset

  4. There are many views which can represent each charts, like BarChartView, PieChartView.

  5. View will use their own dataset to render data.


Points...



  1. There can be many views and each different views has different dataset and their own business logic.


How to design interface model and loosely coupled classes in java for this requirement?


Let me know if requirement is not class. Thanks


Aucun commentaire:

Enregistrer un commentaire