Is this class diagram correct according to this use case diagram?

14.6k Views Asked by At

I am trying to create a class diagram which shows generalisation and maybe some form of aggregation or composition from this use case diagram. The intended system is to be a site/application similar to facebook social networking.

USE CASE DIAGRAM:

enter image description here

CLASS DIAGRAM:

enter image description here

I am pretty sure something is wrong with the class diagram please could someone help me out, thanks.

2

There are 2 best solutions below

0
On

There is no direct relation between a class diagram and a use case diagram. One is used to understand requirements and the other to model the system's static structure.

0
On

I find the best way to get to the class diagram stage is to produce a derived class diagram taking information (i use nouns and noun phrases) from the Use case specification. Because as @vainolo says there is no direct link between a Use case diagram and a class diagram.