I would like your guidance on how to create classes and their relationships (generalization, association, aggregation and composition) accurately from my USE case diagram (pleas
First, if you're determined to go down a modeling path, then I'd recommend a book by Rosenberg and Stephens, Use Case Driven Object Modeling with UML. This goes through a process exactly what you're describing: how to write good use cases, build class diagrams from them, build sequence diagrams from that, and (ta-da!) code it up into working software. You might be able to Google for the ICONIX process and find details online.
Some casual comments:
Add_data_to_database
, Logout
, ...) are classes instead of methods.
User
's and those data classes.Why not download EssWork. Esswork is opensource and it is agile practicebased, made by Ivar Jacobson Int, the guy who created Use cases... their is a practice in there called Essential Use case practice, it describes how you take a requirement down to classes...
You are required to draw an Object Model (Class Diagram) of the above scenario by
identifying classes, its attributes and related functions.
You should have to show the relationship among different
classes like Composition, Aggregation and Inheritance.
It seems that there's no problem with the UC diagram.
I agree with the comment from Dave. Beside, i also want to show you my idea to make corresponding class diagram for such a UC diagram. (Just the main point shown.)