How to analyze business concepts with class diagrams
Using class diagrams to analyze business concepts can train you in object-oriented analysis (OOA,Object-Oriented Analysis). Each software system will involve a lot of people, business concepts and objects, etc., there may be a lot of relationships between them, a lot of things happen, class diagrams help us to sort out the relationship between people, business concepts, objects and things.
I. steps to obtain requirements using class diagrams
1. Find the class and determine the definition and responsibilities of the class
2. Determine the relationship between classes
3. Analyze, abstract and sort out all kinds
4. Draw the class diagram
Second, how to identify classes
If you put something together, you can call it a class. There are many kinds of extraction angles for the class, and we need to select the appropriate angle to summarize things according to the goals of the system, business scenarios, and so on.
The identification of entities in the problem domain can help us to find classes better. Entity descriptions usually appear in the form of nouns, noun phrases and nominal pronouns. In order to find objects and classes, we can think about the goals of the system and the business problems to be solved, as well as business scenarios, and identify possible entities from them, including perceptible things, roles, events, interactions, people, places, organizations, devices, and locations.