How to check the class diagram for a given domain?

I am working on a dealership business model / UML class diagram.

I am new to modeling, so I would like to know how to check the class diagram. It is very important for me to have a suitable, if not 100 percent correct class diagram for using further development (use cases, etc.).

Is it possible to build a completely wrong model? Or are there only suitable and less suitable models?

If I have a client associated with SalesTeam modeling, a client served by SalesTeam, is this wrong? I saw in the examples that the Client is associated with Order, Order with ItemOrder and ItemOrder with ItemInventory. If SalesTeam or Employee is associated with the Application.

How to check my model and relationships?

+5
source share
3 answers

To verify domain models, follow these steps:

  • Write your use cases. When writing, make sure you consistently use nouns and verbs. To make sure your nouns make sense, be sure to write notes in the domain model.

  • Go through each use case along your domain model. Do you have any enterprises? Relationships needed for navigation? Attributes of each object?

Since this is a domain model, try to avoid describing things as classes - they are usually objects in the real world.

, "- " - , . , , . , : . ( ), .

, , .

+4

, .

, , , , , . , , .

+3

.

, . .

, , "" (.. ), , - . , .

, , , . , , .

+3
source

All Articles