System modeling of Software Engineering: Design Interface Control class model

Source: Internet
Author: User

The interface Control class model describes the communication between the user interface and other layers of the system, the interface control class is located in the business context service layer of the system structure, and the interface control class model is described by class Diagram and package diagrams. Firstly, the design method of interface control class model is introduced briefly, then the class diagram of interface control class and interface class of subsystem is designed, and the package diagram of interface control class of system and subsystem is designed finally.

1. Design method

The interface control class undertakes most of the work of communication between the user interface and other layers of the application, the interface control class is relatively simple, for each user interface that needs to communicate with the other layer of the application, there should be a corresponding interface control class, and the corresponding interface class defines an interface control class. Interface control classes are usually temporary and do not need to be stored in external storage, and their lifecycle ends when the interaction completes. To make the interaction between classes simple and clear, the interface control class is only related to interface classes, use case control classes, interface control classes should not be related, interface classes rely on interface control classes, and interface control classes rely on use case control classes. The actions and properties of the interface control class can be defined when you design the sequence diagram, or when you design the program code in the implementation phase.

2. Class Diagram

The previous article "System Modeling of Software Engineering" Design Interface class Model "" has defined the document handling interface class, we still have a previous article in the document processing process to define the interface control class, we respectively define interface classes, but not directly with the application of the other layer of the class, You do not need to define an interface control class. Because there is no relationship between the interface control classes, the class diagram should reflect the relationship between the interface control class and the interface class. The handling of the interface control class includes: Uicsfilelist, Uicdraftsfile, Uicauditsfilelist, Uicauditsfile, Uicchecksfilelist, Uicchecksfile, Uicsignsfilelist, Uicsignsfile, Uicenresfilelist, Uicenresfile, Uicsendsfile, the following figure for the dispatch of the interface control class and interface class diagram, in the diagram to distinguish between two types of classes, The name of the interface control class is shown in italic text.

3. Package Drawing

We divide the interface control class of the system instance from the system layer into 8 packages, respectively, for the dispatch interface control class package Uicsfilepack, the in-process interface control class package Uicrfilepack, the Conference Management interface Control class package Uicmeetingpack, File management interface Control class package Uicarchivepack, Bulletin management Interface Control class package Uicnoticepack, personal assistant interface Control class Package Uicassistantpack, System Management Interface control class package Uicssystempack, User Login interface Control class Uiclogin.

We will dispatch the Subsystem interface control class, further divided into 6 packages: Draw up a dispatch interface control class package Uicdraftsfilepack, audit issuing interface control class package Uicauditsfilepack, check the dispatch interface control class package Uicchecksfilepack , issuing the interface control class package Uicsignsfilepack, distributing the interface control class package Uicenresfilepack and send the dispatch to the Crda interface control class package Uicsendsfilepack.

At this point in the process of handling each user interface, corresponds to an interface control class, the next chapter we will introduce the design use case control class model.

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/Programming/project/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.