UML class diagram for database

user19022

I have an assignment for developing a hotel reservation system! One of tasks is to develop UML class diagram! However, in the task description it is written "Class diagram should represent your database"

I am a bit confused about the rules, notations and etc... because I can't find any official UML class diagrams specifically for databases!

Could you help me please?

Kiran

First I would like to brief you about the different types of classes for a class diagram into which one can view the entire system in a static view.

  1. Some classes are entity(model) classes which define the database model for application domain persist for longer duration. In the above mentioned case it can be customer, hotel staff, hotel menu, seating info.

  2. Some classes define the GUI & presentation to the user such as view classes.

  3. Some classes define the control the program logic, process user events which can be called as control classes.

  4. Some classes can be viewed as the resource classes which are responsible for communication with external data resources.

For all the mentioned classes above the notations, rules followed in UML will be same but their usage, intent will be different.

For your problem, you need to capture these entity classes for the mentioned system through which you can model the database for your system. I hope it will help you a bit.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related