Introduction to powerdesigner UML modeling (1)

Source: Internet
Author: User
Tags powerdesigner
Introduction to powerdesigner UML modeling (1)
By Sybase, Inc. powerdesigner
Product manager David dichmann
Powerdesigner supports all uml1.3 charts, including use case charts, sequence charts and class charts, activity charts, and component charts, and fully supports uml2.0. Improved Object-Oriented Analysis and Design (OOAD) analysis methods and enhanced integration with the development process.

Powerdesigner helps you build traditional business and e-commerce systems that adapt to the development of modern IT, using object-oriented languages such as Java and XML
And other new technologies, in a physical or virtual way with our database technology. Our goal is to provide the ability to access information and control business processes anytime and anywhere based on your needs, and give enterprises a competitive advantage in any market today through computers and the latest technology.

Our analysis methods and design technologies will be varied, from business process modeling to UML object-oriented analysis and design, as well as traditional relational modeling. This article will help you learn more
UML is a powerful technology that helps your enterprise create efficient traditional business and e-commerce systems.

Object-Oriented Analysis

Before you invest in systems and software for an enterprise, you must first understand the actual needs of the enterprise and determine how the deployed technology will help your enterprise achieve greater success.
You can use UML to analyze data by using the use case diagram, sequence diagram, and activity diagram. These charts help you plan the scope, dynamic performance, and presentation of the system. You don't have to consider the implementation details. All you want is the system performance you need.

Use case diagram)

UML
The use case diagram provides a modeling method for the system environment. It helps you determine the external and internal elements of the system/application and the scope of the system. As a graphical modeling mode, it depends on
It will also be helpful for the development team of the finished product development. It can also be of great help to the enterprise owner or the users who first come into contact with the software products. Use
The example diagram shows how the system meets the collected business rules and specific user requirements in a visualized manner.

Later in the project, you can also use UML
Use case diagram. You can help test the functions of a project through the requirements defined in the use case diagram. You can not only verify system performance without errors (No crashes or obvious non-logical responses), but also verify system Runtime
Whether the specified command is executed as required. In this way, you can test whether the system fully meets the requirements to ensure that the finished product can be put into production-that is, it fully meets the needs of users.

Only by meeting reasonable and practical needs can we ensure a greater success for IT projects.

The sequence Divisor)

You can use UML sequence diagrams to refine requirements and link design elements. A sequence diagram allows interaction between high-level and low-level objects. The interaction is displayed between the role (the same as the role in the use case diagram) and the class instance (the technical object and detail object running in the computer memory.

With a sequence diagram, you can describe system behavior that changes over time based on the precise sequence of events (messages) in a specific system scheme. Use a sequence diagram for case analysis and guided design: You can decide
The system object type that the management task is responsible for, and determines which object will manage the "session" or communication inside and outside the system. Because the message has been extracted from the sequence diagram, you can describe the class and interface (we finally need to compile and deploy
Some key operations (methods) required ).

Activity diagram)

The UML activity diagram design helps you understand the dynamic changes of objects in the system. Describes how a particular class or a group of classes work collaboratively. Unlike the sequence diagram, the activity diagram is not a series of time-related communications, but a control transfer from one task to another. It also specifies who (which object) is responsible for the task.

The UML activity diagram is also a technical view of business processes. You can analyze business workflows or obtain activity diagrams after "Business Process Modeling.

The activity diagram also helps to construct a detailed dynamic view of elements in the system (how to implement EJB interoperability, etc ).

Promote design through analysis

The analysis model can capture system intent and expected behavior independent of the Implementation Details, and has nothing to do with the language used, the deployed application server, or the architecture used. However, after the design phase begins
Switches have all changed. You must enter the details of the production environment and build the software into a specific architecture. Design is the implementation of the system.

If the design is obtained from analysis, you can be more confident about the correctness of the written system behavior and confirm that the developed results will be a system built on demand. You will be highly successful-get the desired
System. You can also directly use the information obtained by analysis without recreating it during the design process, reducing development time and reducing human errors because you do not have to "re-Copy" any work.

What can we get through analysis? You can use the example diagram to discover objects and promote the creation of classes and interfaces. One or more classes and interfaces can implement one role. You can directly create classes and interfaces in the role definition. You can also link a role to an existing class and interface to show how to use a piece of code to satisfy multiple elements analyzed.

You can use a sequence diagram to discover methods and promote the creation of class operations. To send messages to a class, you can call the method of this class. Messages in a sequence diagram can be used to automatically create an operation or link to an existing operation. You can use the link tracking method, including the input content and the content that must be returned.

Design Content

You already know what you want to build. Now you need to describe how to build it. You need to determine the location of the business logic: It can be placed in the EJB and other components of the application server, or in the Use
In VB, PowerBuilder, and other languages, classes or components that are part of client applications, or as triggers and processes, they are embedded in relational databases. You need to make some choices based on your needs, including scalability, security, performance, and accessibility.

UML class diagrams and component diagrams are used to define detailed static structures of technical systems.

The class digraphs)

UML class diagrams, business logic, and all supported structures are used together to define all the code structures. Since the class diagram is used to simulate the actual code maintained during development, it is obviously Java or Powerbuilder
And other general expressions of object languages. You can also use UML class diagrams to summarize the complex structures in XML, making it easier to develop and understand.

You can generate code from the UML class diagram. You can also edit the code during development to complete, test, and deploy the final running application. Because powerdesigner
The 1:1 ing between the object language and the UML class diagram is. You can also implement reverse engineering code, read the source file, and create a new class diagram. You can have a deeper understanding of the existing system and simplify integration and maintenance.

The component Divisor)

The UML component diagram is used to describe the definition and correlation of advanced objects in a larger black box view. It is still a design model and a summary of the Code. For example
The EJB component ID is directly linked to a series of classes and interfaces required for implementation, and the required code is generated to Promote the Development of the final bean.

The component diagram is easier to understand and manage than the code layer view of the component architecture. You can also share and reuse code by writing the Component Interface documentation. You can use the code in other projects and systems without having to (or seldom) understand the implementation details of the component.

Right-click customer entitybean_cmp, select create/update class digoal, and generate the following class
Digoal:

Cyclic Generation Project

The world is not static, so are your IT projects. After you understand the requirements, design through analysis, and construct some elements of the system, you will inevitably encounter new changes, such as updating the definition, or there are some errors in the existing use case diagram that need to be corrected.
The IDE and text editor are edited and the database is optimized by DBA. All the details that need to be changed must be managed and mastered to ensure that the built system is consistent with the business needs.

One solution of the round-trip project is to reflect the code in the class diagram when the code is changed during the development process. The details are as follows:
1. Create a class chart and add the business logic elements to the model.
2. Generate the application code of the file system
3. Edit the code in the IDE or text editor.
4. Edit the design and ignore the changes in the generated code.
5. reverse engineer the edited content until it is consistent with the existing class diagram.
6. Synchronize the work completed during the design process with the content edited during development (merged)
7. generate a new code, which is the sum of the code that the design code and developers change.

When the class diagram is modified to reflect the new design content, the synchronization/merge technology should be used to prevent the loss of developers' work results, at the same time, designers are allowed to accept or reject changes made during the development process. In this way, powerdesigner
This gives it full control over the architecture, which is the key to success.

This is not the only function of powerdesigner! Now that the design model has been updated, you can link these changes to the analysis. You may find new requirements in the analysis. You can reflect this change to the design and write the code. Use
Powerdesigner's leading compare/merge Technology (discussed in September blueprint) allows you to get real round-trip synchronization across all models and phases of the development cycle.

Conclusion

All modern IT projects must be able to be implemented at a faster speed, with higher reliability, and can effectively promote enterprise development. By using the new UML in the OOAD section at work
Technology Analysis and Design, you can control the architecture and have a deep understanding of the software.

Powerdesigner leverages the capabilities of comparison/merge technologies and integrated UML
Modeling technology allows you to quickly respond to changes. Changes are quickly merged to any layer, including analysis, design, and runtime. Image Comparison and backup between system models and systems
To obtain accurate and predictable development results. These benefits will translate into faster development and rapid responses to changes in business processes, market conditions, and technological innovations. Assign it
The Department is uniquely positioned to maintain the company's competitive advantage!

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.