The use Case control class model describes the communication between the interface control class and the entity class, the use case control class is located in the Business Rule service layer of the system structure, and the use case control class model is described by package diagrams. This chapter introduces the design process of the use Case control class model, first introduces the design method of the use case control class model, then designs the subsystem package diagram, finally designs the System Package diagram.
1. Design method
The use-case control class represents a use case, and each of its operations corresponds to a path through the use case. The interface control class performs the communication task between the user interface and the other layers of the application, and the use Case control class performs the communication task between the interface control class and the entity class, through which the paths defined in the use case are performed. The use-case control class works directly with the interface control class and needs to keep all object references in the use Case control class. To make the classes simple, there should be no relationship between the use-case control classes, the interface control classes are dependent on the use-case control classes, and the use-case control classes depend on the entity classes.
2. System Package Diagram
We divide the use case control class into a dispatch case control class package Ucsfilepack, in-process use Case control class package Ucrfilepack, conference Management use case control class package Ucmeetingpack, File management use Case control class package Ucarchivepack, Bulletin management use Case control class package Ucnoticepack, personal assistant use Case control class package Ucassistantpack, System management use Case control class package The Ucsystempack and login use Case control class UCLOGIN8 packages, as shown in the System package diagram
3. Subsystem Package diagram
We use a dispatch to handle use Case control class package explanation, the control package can be divided into: Draft use case control class, audit issued use Case control class, check the dispatch case control class, issue the use Case control class, distribute the use Case control class, send the dispatch to the archives use Case control class, the following figure for the dispatch case control class package diagram
In the next article, we will introduce the design system class model.
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/Programming/project/