If you are looking for software to use, go to Huajun Software Park! software release

PowerDesigner usage tutorial-specific steps for using PowerDesigner to design class diagrams

Author: Xiaoxin Date: 2020-09-07

PowerDesigner
PowerDesigner-16.7 latest version

Database class Storage: 1.2GBMB Time: 2022-03-25

Software introduction: PowerDesigner is a very comprehensive database design tool. Use PowerDesigner to quickly create tables and support table-to-table...

Download now

Many friends are not clear about the operation of using PowerDesigner to design class diagrams. Today, the editor will specifically explain the specific steps of using PowerDesigner to design class diagrams. Friends in need should take a look.

Open the PowerDesigner software, select menu File->Create New Model, or hit ctrl+N on the keyboard

1.jpg

A window to create a new model pops up. Select Object-Oriented Model as the model type, Class Diagram as the diagram, enter the model name, such as ObjectOrientedModel_1, select Java as the object language, and click OK.

2.jpg

PowerDesigner will create a model project named ObjectOrientedModel_1, and the operable component symbols will be listed in the Palette panel. For class diagrams, Class, Interface and some relationship components are mainly used.

3.jpg

Click the Class icon in the Palette toolbar and click to create a class in the workspace. Click the arrow (pointer) in the Palette toolbar and double-click the graphical symbol of the class diagram to open the Class Properties window.

4.jpg

In the General and Detail tabs in the class properties window, you can set the basic properties, class attributes, and class methods of the class, such as the motor vehicle class

5.jpg
6.jpg
7.jpg

Then click the Class icon in the Palette toolbar, click in the workspace to create another class, and set the class name, class attributes, and class methods, such as the car class

8.jpg
9.jpg
10.jpg

Click the Genaralization icon in the Palette toolbar, click the car class, and drag the mouse to the motor vehicle class to realize that the car class inherits the motor vehicle class.

11.jpg

Double-click the car class icon to pop up the class properties window. Select the preview tab to see the java code generated by the class.

12.jpg

The above is the specific steps of using PowerDesigner to design class diagrams explained by the editor. Let’s learn together. I believe it can help some new users.

Related articles